19#if !defined(XSTRINGREFERENCEALLOCATOR_INCLUDE_GUARD_1357924680)
20#define XSTRINGREFERENCEALLOCATOR_INCLUDE_GUARD_1357924680
102 return m_allocator.getBlockCount();
113 return m_allocator.getBlockSize();
125 ArenaAllocatorType m_allocator;
#define XALAN_XPATH_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ReusableArenaBlockType::size_type size_type
bool ownsObject(const string_type *theObject)
Determine if an object is owned by the allocator...
ReusableArenaAllocator< string_type > ArenaAllocatorType
bool destroy(string_type *theString)
Delete an XStringReference object from allocator.
void reset()
Delete all XStringReference objects from allocator.
ArenaAllocatorType::size_type size_type
string_type * createString(const XalanDOMString &theString)
Create an XStringReference object from a string.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
~XStringReferenceAllocator()
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XStringReference string_type
XStringReferenceAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.