18 #if !defined(XOBJECTFACTORY_HEADER_GUARD_1357924680)
19 #define XOBJECTFACTORY_HEADER_GUARD_1357924680
42 class MutableNodeRefList;
43 class NodeRefListBase;
71 return m_memoryManager;
83 return doReturnObject(theXObject);
100 createBoolean(
bool theValue) = 0;
109 createNodeSet(BorrowReturnMutableNodeRefList& theValue) = 0;
127 createNumber(
double theValue) = 0;
138 createNumber(
const XToken& theValue) = 0;
156 createString(
const XalanDOMChar* theValue) = 0;
167 const XalanDOMChar* theValue,
168 XalanSize_t theLength) = 0;
179 createString(
const XToken& theValue) = 0;
214 createString(GetCachedString& theValue) = 0;
247 bool fInReset =
false) :
248 m_factoryInstance(theFactoryInstance),
256 if (m_fInReset ==
true)
258 return m_factoryInstance.doReturnObject(
264 return m_factoryInstance.returnObject(theXObject);
272 const bool m_fInReset;
301 const_cast<XObject*
>(theXObject);
305 m_memoryManager.deallocate(nonConst);
319 bool fInReset =
false) = 0;
332 MemoryManager& m_memoryManager;
341 #endif // XOBJECTFACTORY_HEADER_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
MemoryManager & getMemoryManager()
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
eObjectType
Enumeration of possible object types.
XObject::eObjectType getRealType(const XObject &theXObject) const
Return the actual implementation type of an XObject.
DeleteXObjectFunctor(XObjectFactory &theFactoryInstance, bool fInReset=false)
Class to hold XObjectPtr return types.
XPathExecutionContext::GetCachedString GetAndReleaseCachedString
void deleteObject(const XObject *theXObject) const
Delete a FactoryObject instance.
This class handles the creation of XObjects and manages their lifetime.
Class to hold XPath return types.
virtual eObjectType getRealType() const
Tell what kind of class this is.
XPathExecutionContext::BorrowReturnMutableNodeRefList BorrowReturnMutableNodeRefList
#define XALAN_XPATH_EXPORT
bool operator()(XObject *theXObject) const
A public functor for use with stl algorithms.
XPathExecutionContext::GetCachedString GetCachedString
bool returnObject(XObject *theXObject)
Return an XObject to the factory.