19#if !defined(XNUMBERALLOCATOR_INCLUDE_GUARD_135792455)
20#define XNUMBERALLOCATOR_INCLUDE_GUARD_135792455
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.
ArenaAllocatorType::size_type size_type
ReusableArenaAllocator< number_type > ArenaAllocatorType
bool ownsObject(const number_type *theObject)
Determine if an object is owned by the allocator...
XNumberAllocator(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.
void reset()
Delete all XNumber objects from allocator.
bool destroy(number_type *theNumber)
Delete an XNumber object from allocator.
number_type * createNumber(double theNumber)
Create an XNumber object using allocator from a string.