19#if !defined(XTOKENSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680)
20#define XTOKENSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
100 return m_allocator.getBlockCount();
111 return m_allocator.getBlockSize();
123 ArenaAllocatorType m_allocator;
#define XALAN_XPATH_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ReusableArenaBlockType::size_type size_type
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
object_type * create(const XToken &theXToken)
Create an XTokenStringAdapter object from an XToken.
bool ownsObject(const object_type *theObject)
Determine if an object is owned by the allocator...
void reset()
Delete all XStringAdapter objects from allocator.
ReusableArenaAllocator< object_type > ArenaAllocatorType
~XTokenStringAdapterAllocator()
XTokenStringAdapter object_type
XTokenStringAdapterAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ArenaAllocatorType::size_type size_type
bool destroy(object_type *theString)
Delete an XStringAdapter object from allocator.