Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XSTRINGCACHEDALLOCATOR_INCLUDE_GUARD_1357924680)
20 #define XSTRINGCACHEDALLOCATOR_INCLUDE_GUARD_1357924680
37 XALAN_CPP_NAMESPACE_BEGIN
58 MemoryManager& theManager,
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
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
string_type::GetCachedString GetCachedString
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
#define XALAN_XPATH_EXPORT
bool destroy(string_type *theString)
Delete an XStringCached object from allocator.
~XStringCachedAllocator()
string_type * createString(GetCachedString &theValue)
Create an XString object from a cached string.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
ArenaAllocatorType::size_type size_type
void reset()
Delete all XStringCached objects from allocator.
ReusableArenaBlockType::size_type size_type
ReusableArenaAllocator< string_type > ArenaAllocatorType
XStringCachedAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
XStringCached string_type
bool ownsObject(const string_type *theObject)
Determine if an object is owned by the allocator...
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|