19 #if !defined(XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680) 20 #define XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680 37 XALAN_CPP_NAMESPACE_BEGIN
56 MemoryManager& theMemoryManager,
57 size_type theBlockCount);
69 create(
const XToken& theXToken);
75 destroy(object_type* theObject);
83 return m_allocator.ownsObject(theObject);
101 return m_allocator.getBlockCount();
112 return m_allocator.getBlockSize();
120 return m_allocator.getMemoryManager();
130 ArenaAllocatorType m_allocator;
135 XALAN_CPP_NAMESPACE_END
139 #endif // XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
XTokenNumberAdapter object_type
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
ReusableArenaBlockType::size_type size_type
bool ownsObject(const object_type *theObject)
Determine if an object is owned by the allocator...
ReusableArenaAllocator< object_type > ArenaAllocatorType
ArenaAllocatorType::size_type size_type
#define XALAN_XPATH_EXPORT