19#if !defined(XALANQNAMEBYVALUEALLOCATOR_INCLUDE_GUARD_12455133)
20#define XALANQNAMEBYVALUEALLOCATOR_INCLUDE_GUARD_12455133
48#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
147 return m_allocator.ownsObject(
theObject);
167 return m_allocator.getBlockCount();
179 return m_allocator.getBlockSize();
191 ArenaAllocatorType m_allocator;
#define XALAN_XPATH_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ArenaBlockType::size_type size_type
This class defines an interface for classes that resolve namespace prefixes to their URIs.
Xalan implementation of deque.
void reset(MemoryManager *theManager=0, Type *thePointer=0)
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
~XalanQNameByValueAllocator()
data_type * create(const XalanDOMChar *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.
data_type * create(const XalanDOMString &theNamespaceURI, const XalanDOMString &theLocalPart)
Create an instance.
data_type::NamespacesStackType NamespacesStackType
data_type * create(const XalanQNameByValue &theSource)
Create an instance.
data_type * create(const XalanDOMString &qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false)
Create an instance.
void reset()
Delete all objects from the allocator.
ArenaAllocator< data_type > ArenaAllocatorType
ArenaAllocatorType::size_type size_type
XalanQNameByValue data_type
data_type * create(const XalanDOMString &qname, const PrefixResolver *theResolver=0, const Locator *locator=0)
Create an instance.
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...