Manages the lifetime of an XPath instance.
More...
Manages the lifetime of an XPath instance.
Construct an XPathGuard instance from a factory object and an XPath.
- Parameters
-
theFactory | object that manages lifetime of XPaths |
theXPath | pointer to XPath managed |
XPathGuard::~XPathGuard |
( |
) | |
|
const XPath* XPathGuard::get |
( |
) | |
const |
Retrieve the object pointer (may be null)
- Returns
- pointer to XPath
const XPath* XPathGuard::operator-> |
( |
) | |
const |
Retrieve the object pointer (must not be null)
- Returns
- pointer to XPath
const XPath* XPathGuard::release |
( |
) | |
|
Transfers ownership of XPath to caller.
- Returns
- pointer to XPath
void XPathGuard::reset |
( |
) | |
|
Return the referenced object to the factory and set pointers to null.
The documentation for this class was generated from the following file: