Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XSTRINGALLOCATOR_INCLUDE_GUARD_1357924680)
20 #define XSTRINGALLOCATOR_INCLUDE_GUARD_1357924680
37 XALAN_CPP_NAMESPACE_BEGIN
89 const XalanDOMChar* theString,
90 XalanSize_t theLength);
104 return m_allocator.ownsObject(theObject);
122 return m_allocator.getBlockCount();
133 return m_allocator.getBlockSize();
145 ArenaAllocatorType m_allocator;
150 XALAN_CPP_NAMESPACE_END
154 #endif // XSTRINGALLOCATOR_INCLUDE_GUARD_1357924680
bool destroy(string_type *theString)
Delete an XString object from allocator.
XStringAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ReusableArenaAllocator< string_type > ArenaAllocatorType
void reset()
Delete all XString objects from allocator.
string_type * createString(const XalanDOMString &theString)
Create an XString object from a string.
#define XALAN_XPATH_EXPORT
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...
ArenaAllocatorType::size_type size_type
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
string_type * createString(const XalanDOMChar *theString)
Create an XString object from a null-terminated array of characters.
ReusableArenaBlockType::size_type size_type
string_type * createString(const XalanDOMChar *theString, XalanSize_t theLength)
Create an XString object from an array of characters.
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.
|
|