19 #if !defined(XNUMBERALLOCATOR_INCLUDE_GUARD_135792455) 20 #define XNUMBERALLOCATOR_INCLUDE_GUARD_135792455 37 XALAN_CPP_NAMESPACE_BEGIN
67 createNumber(
double theNumber);
74 destroy(number_type* theNumber);
82 return m_allocator.ownsObject(theObject);
100 return m_allocator.getBlockCount();
111 return m_allocator.getBlockSize();
123 ArenaAllocatorType m_allocator;
128 XALAN_CPP_NAMESPACE_END
132 #endif // XNUMBERALLOCATOR_INCLUDE_GUARD_135792455 ArenaAllocatorType::size_type size_type
bool ownsObject(const number_type *theObject)
Determine if an object is owned by the allocator...
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
ReusableArenaAllocator< number_type > ArenaAllocatorType
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
#define XALAN_XPATH_EXPORT