Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XPATHFACTORY_HEADER_GUARD_1357924680)
19 #define XPATHFACTORY_HEADER_GUARD_1357924680
33 XALAN_CPP_NAMESPACE_BEGIN
60 return doReturnObject(theXPath);
83 #if defined(XALAN_NO_STD_NAMESPACE)
93 bool fInReset =
false) :
94 m_factoryInstance(theFactoryInstance),
102 if (m_fInReset ==
true)
104 return m_factoryInstance.doReturnObject(theXPath,
109 return m_factoryInstance.returnObject(theXPath);
117 const bool m_fInReset;
126 const XPath* theXPath,
127 bool fInReset =
false) = 0;
147 const XPath* theXPath) :
148 m_factory(&theFactory),
161 m_factory = theRHS.m_factory;
162 m_object = theRHS.m_object;
166 theRHS.m_factory = 0;
183 assert(m_object != 0);
207 assert(m_factory != 0);
225 const XPath*
const theTemp = m_object;
243 const XPath* m_object;
248 XALAN_CPP_NAMESPACE_END
252 #endif // XPATHFACTORY_HEADER_GUARD_1357924680
virtual void reset()=0
Reset the instance.
bool returnObject(const XPath *theXPath)
Return an XPath to the factory.
void reset()
Return the referenced object to the factory and set pointers to null.
XPathGuard(XPathFactory &theFactory, const XPath *theXPath)
Construct an XPathGuard instance from a factory object and an XPath.
const XPath * release()
Transfers ownership of XPath to caller.
XPathGuard(XPathGuard &theRHS)
virtual bool doReturnObject(const XPath *theXPath, bool fInReset=false)=0
#define XALAN_XPATH_EXPORT
virtual XPath * create()=0
Create an XPath.
Manages the lifetime of an XPath instance.
result_type operator()(argument_type theXPath) const
const XPath * operator->() const
Retrieve the object pointer (must not be null)
DeleteXPathFunctor(XPathFactory &theFactoryInstance, bool fInReset=false)
A functor for use with stl algorithms.
const XPath * get() const
Retrieve the object pointer (may be null)
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|