19 #if !defined(XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133) 20 #define XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133 37 XALAN_CPP_NAMESPACE_BEGIN
77 create(
const data_type& theSource);
83 destroy(data_type* theObject);
91 return m_allocator.ownsObject(theObject);
108 return m_allocator.getBlockCount();
120 return m_allocator.getBlockSize();
132 ArenaAllocatorType m_allocator;
137 XALAN_CPP_NAMESPACE_END
141 #endif // XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133 XalanSourceTreeDocumentFragment data_type
ReusableArenaBlockType::size_type size_type
ArenaAllocatorType::size_type size_type
ReusableArenaAllocator< data_type > ArenaAllocatorType
#define XALAN_XSLT_EXPORT
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.