19 #if !defined(XSTRINGREFERENCEALLOCATOR_INCLUDE_GUARD_1357924680) 20 #define XSTRINGREFERENCEALLOCATOR_INCLUDE_GUARD_1357924680 37 XALAN_CPP_NAMESPACE_BEGIN
56 MemoryManager& theManager,
57 size_type theBlockCount);
76 destroy(string_type* theString);
84 return m_allocator.ownsObject(theObject);
102 return m_allocator.getBlockCount();
113 return m_allocator.getBlockSize();
125 ArenaAllocatorType m_allocator;
130 XALAN_CPP_NAMESPACE_END
134 #endif // XSTRINGREFERENCEALLOCATOR_INCLUDE_GUARD_1357924680
ReusableArenaBlockType::size_type size_type
ArenaAllocatorType::size_type size_type
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XStringReference string_type
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
bool ownsObject(const string_type *theObject)
Determine if an object is owned by the allocator...
ReusableArenaAllocator< string_type > ArenaAllocatorType
#define XALAN_XPATH_EXPORT