19 #if !defined(XPATHALLOCATOR_INCLUDE_GUARD_135792455) 20 #define XPATHALLOCATOR_INCLUDE_GUARD_135792455 37 XALAN_CPP_NAMESPACE_BEGIN
47 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS) 63 XPathAllocator(MemoryManager& theManager, size_type theBlockCount);
81 return m_allocator.ownsObject(theObject);
98 return m_allocator.getBlockCount();
109 return m_allocator.getBlockSize();
121 ArenaAllocatorType m_allocator;
126 XALAN_CPP_NAMESPACE_END
130 #endif // XNUMBERALLOCATOR_INCLUDE_GUARD_135792455 ArenaAllocatorType::size_type size_type
size_type getBlockSize() const
Get the number of blocks currently allocated.
ArenaAllocator< object_type > ArenaAllocatorType
size_type getBlockCount() const
Get the number of objects in each block.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
bool ownsObject(const object_type *theObject)
Determine if an object is owned by the allocator...
#define XALAN_XPATH_EXPORT