19#if !defined(XPATHALLOCATOR_INCLUDE_GUARD_135792455)
20#define XPATHALLOCATOR_INCLUDE_GUARD_135792455
47#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
98 return m_allocator.getBlockCount();
109 return m_allocator.getBlockSize();
121 ArenaAllocatorType m_allocator;
#define XALAN_XPATH_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ArenaBlockType::size_type size_type
ArenaAllocator< object_type > ArenaAllocatorType
object_type * create()
Create an XPath object using the allocator.
size_type getBlockCount() const
Get the number of objects in each block.
size_type getBlockSize() const
Get the number of blocks currently allocated.
ArenaAllocatorType::size_type size_type
void reset()
Delete all XPath objects allocated.
XPathAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
bool ownsObject(const object_type *theObject)
Determine if an object is owned by the allocator...