Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XSLT/XalanAVTPartXPathAllocator.hpp>
Public Types | |
typedef AVTPartXPath | data_type |
typedef ArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XalanAVTPartXPathAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. | |
~XalanAVTPartXPathAllocator () | |
data_type * | create (const XPath *xpath) |
Create an instance. | |
bool | ownsObject (const data_type *theObject) |
Determine if an object is owned by the allocator... | |
void | reset () |
Delete all objects from the allocator. | |
size_type | getBlockCount () const |
Get the number of ArenaBlocks currently allocated. | |
size_type | getBlockSize () const |
Get size of an ArenaBlock, that is, the number of objects in each block. | |
Definition at line 41 of file XalanAVTPartXPathAllocator.hpp.
Definition at line 52 of file XalanAVTPartXPathAllocator.hpp.
Definition at line 45 of file XalanAVTPartXPathAllocator.hpp.
Definition at line 55 of file XalanAVTPartXPathAllocator.hpp.
xalanc::XalanAVTPartXPathAllocator::XalanAVTPartXPathAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanAVTPartXPathAllocator::~XalanAVTPartXPathAllocator | ( | ) |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 100 of file XalanAVTPartXPathAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 112 of file XalanAVTPartXPathAllocator.hpp.
Determine if an object is owned by the allocator...
Definition at line 80 of file XalanAVTPartXPathAllocator.hpp.
|
inline |
Delete all objects from the allocator.
Definition at line 89 of file XalanAVTPartXPathAllocator.hpp.
References xalanc::XalanMemMgrAutoPtr< Type >::reset().
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Tue Oct 10 2023 15:42:15 for Xalan-C++ API Reference by