16 #if !defined(XOBJECTFACTORY_HEADER_GUARD_1357924680)
17 #define XOBJECTFACTORY_HEADER_GUARD_1357924680
35 XALAN_CPP_NAMESPACE_BEGIN
68 return m_memoryManager;
80 return doReturnObject(theXObject);
97 createBoolean(
bool theValue) = 0;
106 createNodeSet(BorrowReturnMutableNodeRefList& theValue) = 0;
133 createNumber(
double theValue) = 0;
144 createNumber(
const XToken& theValue) = 0;
162 createString(
const XalanDOMChar* theValue) = 0;
173 const XalanDOMChar* theValue,
174 unsigned int theLength) = 0;
185 createString(
const XToken& theValue) = 0;
208 createStringAdapter(
const XObjectPtr& theValue) = 0;
217 createString(GetAndReleaseCachedString& theValue) = 0;
233 #if defined(XALAN_NO_STD_NAMESPACE)
234 struct DeleteXObjectFunctor :
public unary_function<XObject*, void>
243 bool fInReset =
false) :
244 m_factoryInstance(theFactoryInstance),
252 if (m_fInReset ==
true)
254 m_factoryInstance.doReturnObject(
260 m_factoryInstance.returnObject(theXObject);
268 const bool m_fInReset;
301 theManager.deallocate((
void*)theTmpXObject);
316 bool fInReset =
false) = 0;
334 XALAN_CPP_NAMESPACE_END
338 #endif // XOBJECTFACTORY_HEADER_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
void deleteObject(const XObject *theXObject) const
Delete a FactoryObject instance.
Definition: XObjectFactory.hpp:292
Definition: XToken.hpp:35
Definition: XalanNode.hpp:44
Local implementation of MutableNodeRefList.
Definition: MutableNodeRefList.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
result_type operator()(argument_type theXObject) const
Definition: XObjectFactory.hpp:250
eObjectType
Enumeration of possible object types.
Definition: XObject.hpp:70
XObject::eObjectType getRealType(const XObject &theXObject) const
Return the actual implementation type of an XObject.
Definition: XObjectFactory.hpp:281
Class to hold XObjectPtr return types.
Definition: XObject.hpp:584
bool returnObject(XObject *theXObject)
Return an XObject to the factory.
Definition: XObjectFactory.hpp:78
Local implementation of NodeRefList.
Definition: NodeRefListBase.hpp:42
virtual eObjectType getRealType() const
Tell what kind of class this is.
A public functor for use with stl algorithms.
Definition: XObjectFactory.hpp:236
DeleteXObjectFunctor(XObjectFactory &theFactoryInstance, bool fInReset=false)
Definition: XObjectFactory.hpp:241
Class to hold XPath return types.
Definition: XObject.hpp:61
Definition: XPathExecutionContext.hpp:430
Definition: XPathExecutionContext.hpp:319
Definition: XalanDOMString.hpp:42
XPathExecutionContext::GetAndReleaseCachedString GetAndReleaseCachedString
Definition: XObjectFactory.hpp:56
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
This class handles the creation of XObjects and manages their lifetime.
Definition: XObjectFactory.hpp:51
XPathExecutionContext::BorrowReturnMutableNodeRefList BorrowReturnMutableNodeRefList
Definition: XObjectFactory.hpp:55
MemoryManagerType & getMemoryManager()
Definition: XObjectFactory.hpp:66