19 #if !defined(XALANSOURCETREEELEMENTAALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANSOURCETREEELEMENTAALLOCATOR_INCLUDE_GUARD_12455133
36 XALAN_CPP_NAMESPACE_BEGIN
48 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
65 MemoryManager& theManager,
66 size_type theBlockCount);
89 XalanSize_t theAttributeCount,
93 IndexType theIndex = 0);
110 return m_allocator.getBlockCount();
121 return m_allocator.getBlockSize();
133 ArenaAllocatorType m_allocator;
138 XALAN_CPP_NAMESPACE_END
142 #endif // XALANSOURCETREEELEMENTAALLOCATOR_INCLUDE_GUARD_12455133
ArenaAllocator< ObjectType > ArenaAllocatorType
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
ArenaAllocatorType::size_type size_type
ObjectType::IndexType IndexType
#define XALAN_XALANSOURCETREE_EXPORT
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
XalanSourceTreeElementA ObjectType
ArenaBlockType::size_type size_type