19#if !defined(XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133)
20#define XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133
108 return m_allocator.getBlockCount();
120 return m_allocator.getBlockSize();
132 ArenaAllocatorType m_allocator;
#define XALAN_XSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ReusableArenaBlockType::size_type size_type
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
ArenaAllocatorType::size_type size_type
~XalanSourceTreeDocumentFragmentAllocator()
data_type * create(XalanSourceTreeDocument &theValue)
Create a XalanSourceTreeDocumentFragment object.
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
XalanSourceTreeDocumentFragmentAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ReusableArenaAllocator< data_type > ArenaAllocatorType
data_type * create(const data_type &theSource)
Create an XalanSourceTreeDocumentFragment object.
bool destroy(data_type *theObject)
Delete an XalanSourceTreeDocumentFragment object from allocator.
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
void reset()
Delete all XalanSourceTreeDocumentFragment objects from allocator.
XalanSourceTreeDocumentFragment data_type