19 #if !defined(XSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680) 20 #define XSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680 37 XALAN_CPP_NAMESPACE_BEGIN
56 MemoryManager& theManager,
57 size_type theBlockCount);
78 destroy(string_type* theString);
86 return m_allocator.ownsObject(theObject);
104 return m_allocator.getBlockCount();
115 return m_allocator.getBlockSize();
127 ArenaAllocatorType m_allocator;
132 XALAN_CPP_NAMESPACE_END
136 #endif // XSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680 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...
Class to hold XObjectPtr return types.
ReusableArenaAllocator< string_type > ArenaAllocatorType
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
ArenaAllocatorType::size_type size_type
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
#define XALAN_XPATH_EXPORT
XStringAdapter string_type