RAII wrapper for Xerces resources.
More...
#include <xmltooling/util/XMLHelper.h>
|
| XercesJanitor (T *resource) |
| Constructor.
|
|
T * | get () |
| Returns resource held by this object.
|
|
T * | operator-> () |
| Returns resource held by this object.
|
|
T * | release () |
| Returns resource held by this object and releases it to the caller.
|
|
template<class T>
class xmltooling::XercesJanitor< T >
RAII wrapper for Xerces resources.
Constructor.
- Parameters
-
resource | object to release when leaving scope |
Returns resource held by this object.
- Returns
- the resource held or nullptr
Returns resource held by this object.
- Returns
- the resource held or nullptr
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: