|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XPATHFACTORY_HEADER_GUARD_1357924680)
19 #define XPATHFACTORY_HEADER_GUARD_1357924680
60 return doReturnObject(theXPath);
89 bool fInReset =
false) :
90 m_factoryInstance(theFactoryInstance),
98 if (m_fInReset ==
true)
100 return m_factoryInstance.doReturnObject(theXPath,
105 return m_factoryInstance.returnObject(theXPath);
113 const bool m_fInReset;
122 const XPath* theXPath,
123 bool fInReset =
false) = 0;
143 const XPath* theXPath) :
144 m_factory(&theFactory),
157 m_factory = theRHS.m_factory;
158 m_object = theRHS.m_object;
162 theRHS.m_factory = 0;
179 assert(m_object != 0);
203 assert(m_factory != 0);
205 m_factory->returnObject(m_object);
221 const XPath*
const theTemp = m_object;
239 const XPath* m_object;
248 #endif // XPATHFACTORY_HEADER_GUARD_1357924680
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
XPathGuard(XPathGuard &theRHS)
Manages the lifetime of an XPath instance.
const XPath * operator->() const
Retrieve the object pointer (must not be null)
const XPath * release()
Transfers ownership of XPath to caller.
A functor for use with stl algorithms.
XPathGuard(XPathFactory &theFactory, const XPath *theXPath)
Construct an XPathGuard instance from a factory object and an XPath.
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
bool operator()(const XPath *theXPath) const
#define XALAN_XPATH_EXPORT
void reset()
Return the referenced object to the factory and set pointers to null.
const XPath * get() const
Retrieve the object pointer (may be null)
bool returnObject(const XPath *theXPath)
Return an XPath to the factory.
DeleteXPathFunctor(XPathFactory &theFactoryInstance, bool fInReset=false)