19#if !defined(XRESULTTREEFRAGALLOCATOR_INCLUDE_GUARD_12455133)
20#define XRESULTTREEFRAGALLOCATOR_INCLUDE_GUARD_12455133
101 return m_allocator.ownsObject(
theObject);
119 return m_allocator.getBlockCount();
130 return m_allocator.getBlockSize();
142 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...
data_type * clone(const XResultTreeFrag &theSource)
Clone an XResultTreeFrag object.
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XResultTreeFrag data_type
~XResultTreeFragAllocator()
ReusableArenaAllocator< data_type > ArenaAllocatorType
bool destroy(data_type *theObject)
Delete an XResultTreeFrag object from allocator.
data_type * create(const data_type &theSource)
Create an XResultTreeFrag object.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
void reset()
Delete all XResultTreeFrag objects from allocator.
ArenaAllocatorType::size_type size_type
data_type * create(XalanDocumentFragment &theValue)
Create an XResultTreeFrag object.
XResultTreeFragAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.