19 #if !defined(XSTRINGCACHEDALLOCATOR_INCLUDE_GUARD_1357924680) 20 #define XSTRINGCACHEDALLOCATOR_INCLUDE_GUARD_1357924680 37 XALAN_CPP_NAMESPACE_BEGIN
58 MemoryManager& theManager,
59 size_type theBlockCount);
71 createString(GetCachedString& theValue);
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 // XSTRINGCACHEDALLOCATOR_INCLUDE_GUARD_1357924680 ReusableArenaAllocator< string_type > ArenaAllocatorType
ArenaAllocatorType::size_type size_type
ReusableArenaBlockType::size_type size_type
bool ownsObject(const string_type *theObject)
Determine if an object is owned by the allocator...
XStringCached string_type
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
string_type::GetCachedString GetCachedString
#define XALAN_XPATH_EXPORT