Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XercesParserLiaison/XercesTextWrapperAllocator.hpp>
Public Types | |
typedef XercesTextWrapper | ObjectType |
typedef ArenaAllocator< ObjectType > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XercesTextWrapperAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. More... | |
~XercesTextWrapperAllocator () | |
ObjectType * | create (const DOMTextType *theXercesText, const XercesWrapperNavigator &theNavigator) |
Create a XercesTextWrapper instance. More... | |
void | reset () |
Delete all objects from allocator. More... | |
size_type | getBlockCount () const |
Get size of an ArenaBlock, that is, the number of objects in each block. More... | |
size_type | getBlockSize () const |
Get the number of ArenaBlocks currently allocated. More... | |
Definition at line 41 of file XercesTextWrapperAllocator.hpp.
Definition at line 53 of file XercesTextWrapperAllocator.hpp.
Definition at line 45 of file XercesTextWrapperAllocator.hpp.
Definition at line 56 of file XercesTextWrapperAllocator.hpp.
xalanc::XercesTextWrapperAllocator::XercesTextWrapperAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XercesTextWrapperAllocator::~XercesTextWrapperAllocator | ( | ) |
ObjectType* xalanc::XercesTextWrapperAllocator::create | ( | const DOMTextType * | theXercesText, |
const XercesWrapperNavigator & | theNavigator | ||
) |
Create a XercesTextWrapper instance.
theXercesText | The Xerces text node |
theNavigator | The navigator for this instance. |
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 93 of file XercesTextWrapperAllocator.hpp.
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 104 of file XercesTextWrapperAllocator.hpp.
void xalanc::XercesTextWrapperAllocator::reset | ( | ) |
Delete all objects from allocator.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:40 for Xalan-C++ API Reference by 1.8.17