Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XALANQNAMEBYVALUEALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANQNAMEBYVALUEALLOCATOR_INCLUDE_GUARD_12455133
37 XALAN_CPP_NAMESPACE_BEGIN
48 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
64 MemoryManager& theManager,
106 const Locator* locator = 0,
107 bool fUseDefault =
false);
121 const XalanDOMChar* qname,
123 const Locator* locator = 0,
124 bool fUseDefault =
false);
139 const Locator* locator = 0);
147 return m_allocator.ownsObject(theObject);
167 return m_allocator.getBlockCount();
179 return m_allocator.getBlockSize();
191 ArenaAllocatorType m_allocator;
196 XALAN_CPP_NAMESPACE_END
200 #endif // XALANQNAMEBYVALUEALLOCATOR_INCLUDE_GUARD_12455133
This class defines an interface for classes that resolve namespace prefixes to their URIs.
ArenaAllocatorType::size_type size_type
~XalanQNameByValueAllocator()
data_type * create(const XalanQNameByValue &theSource)
Create an instance.
data_type * create(const XalanDOMString &qname, const PrefixResolver *theResolver=0, const Locator *locator=0)
Create an instance.
data_type * create(const XalanDOMString &theNamespaceURI, const XalanDOMString &theLocalPart)
Create an instance.
Xalan implementation of deque.
ArenaBlockType::size_type size_type
XalanQNameByValue data_type
#define XALAN_XPATH_EXPORT
data_type * create(const XalanDOMChar *qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false)
Create an instance.
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
void reset()
Delete all objects from the allocator.
data_type * create(const XalanDOMString &qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false)
Create an instance.
XalanQNameByValueAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
data_type::NamespacesStackType NamespacesStackType
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ArenaAllocator< data_type > ArenaAllocatorType
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
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.
|
|