17 #if !defined(XSTRINGALLOCATOR_INCLUDE_GUARD_1357924680)
18 #define XSTRINGALLOCATOR_INCLUDE_GUARD_1357924680
35 XALAN_CPP_NAMESPACE_BEGIN
75 createString(
const XalanDOMChar* theString);
87 const XalanDOMChar* theString,
88 unsigned int theLength);
102 return m_allocator.ownsObject(theObject);
120 return m_allocator.getBlockCount();
131 return m_allocator.getBlockSize();
143 ArenaAllocatorType m_allocator;
148 XALAN_CPP_NAMESPACE_END
152 #endif // XSTRINGALLOCATOR_INCLUDE_GUARD_1357924680
XString string_type
Definition: XStringAllocator.hpp:43
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
ReusableArenaBlockType::size_type size_type
Definition: ReusableArenaAllocator.hpp:43
bool ownsObject(const string_type *theObject)
Determine if an object is owned by the allocator...
Definition: XStringAllocator.hpp:100
Definition: XString.hpp:35
ReusableArenaAllocator< string_type > ArenaAllocatorType
Definition: XStringAllocator.hpp:45
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XStringAllocator.hpp:118
ArenaAllocatorType::size_type size_type
Definition: XStringAllocator.hpp:46
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
Definition: XalanDOMString.hpp:42
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
Definition: XStringAllocator.hpp:129
Definition: XStringAllocator.hpp:39
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33