17 #if !defined(XSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680)
18 #define XSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
35 XALAN_CPP_NAMESPACE_BEGIN
80 return m_allocator.ownsObject(theObject);
98 return m_allocator.getBlockCount();
109 return m_allocator.getBlockSize();
121 ArenaAllocatorType m_allocator;
126 XALAN_CPP_NAMESPACE_END
130 #endif // XSTRINGADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
bool ownsObject(const string_type *theObject)
Determine if an object is owned by the allocator...
Definition: XStringAdapterAllocator.hpp:78
Class to hold XObjectPtr return types.
Definition: XObject.hpp:584
ReusableArenaAllocator< string_type > ArenaAllocatorType
Definition: XStringAdapterAllocator.hpp:45
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
ArenaAllocatorType::size_type size_type
Definition: XStringAdapterAllocator.hpp:46
Definition: XStringAdapterAllocator.hpp:39
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
Definition: XStringAdapterAllocator.hpp:107
Definition: XStringAdapter.hpp:35
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
XStringAdapter string_type
Definition: XStringAdapterAllocator.hpp:43
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XStringAdapterAllocator.hpp:96