19 #if !defined(XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680)
20 #define XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
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();
124 XTokenNumberAdapterAllocator(
const XTokenNumberAdapterAllocator&);
126 XTokenNumberAdapterAllocator&
127 operator=(
const XTokenNumberAdapterAllocator&);
130 ArenaAllocatorType m_allocator;
139 #endif // XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
XTokenNumberAdapter object_type
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ArenaAllocatorType::size_type size_type
bool ownsObject(const object_type *theObject)
Determine if an object is owned by the allocator...
ReusableArenaBlockType::size_type size_type
ReusableArenaAllocator< object_type > ArenaAllocatorType
#define XALAN_XPATH_EXPORT