19 #if !defined(XALANSOURCETREEELEMENTANSALLOCATOR_INCLUDE_GUARD_12455133) 20 #define XALANSOURCETREEELEMENTANSALLOCATOR_INCLUDE_GUARD_12455133 36 XALAN_CPP_NAMESPACE_BEGIN
48 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS) 65 MemoryManager& theManager,
66 size_type theBlockCount);
95 XalanSize_t theAttributeCount,
99 IndexType theIndex = 0);
116 return m_allocator.getBlockCount();
127 return m_allocator.getBlockSize();
139 ArenaAllocatorType m_allocator;
144 XALAN_CPP_NAMESPACE_END
148 #endif // XALANSOURCETREEELEMENTANSALLOCATOR_INCLUDE_GUARD_12455133
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.
#define XALAN_XALANSOURCETREE_EXPORT
ArenaAllocator< ObjectType > ArenaAllocatorType
ArenaAllocatorType::size_type size_type
ObjectType::IndexType IndexType
XalanSourceTreeElementANS ObjectType
ArenaBlock< ObjectType > ::size_type size_type