RAII wrapper for Xerces resources.
More...
#include <xmltooling/util/XMLHelper.h>
template<class T>
class xmltooling::XercesJanitor< T >
RAII wrapper for Xerces resources.
◆ XercesJanitor()
Constructor.
- Parameters
-
resource | object to release when leaving scope |
◆ get()
Returns resource held by this object.
- Returns
- the resource held or nullptr
◆ operator->()
Returns resource held by this object.
- Returns
- the resource held or nullptr
◆ release()
Returns resource held by this object and releases it to the caller.
- Returns
- the resource held or nullptr
The documentation for this class was generated from the following file: