Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XPath/XPathAllocator.hpp>
Public Types | |
typedef XPath | object_type |
typedef ArenaAllocator< object_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XPathAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. More... | |
~XPathAllocator () | |
object_type * | create () |
Create an XPath object using the allocator. More... | |
bool | ownsObject (const object_type *theObject) |
Determine if an object is owned by the allocator... More... | |
void | reset () |
Delete all XPath objects allocated. More... | |
size_type | getBlockCount () const |
Get the number of objects in each block. More... | |
size_type | getBlockSize () const |
Get the number of blocks currently allocated. More... | |
Definition at line 41 of file XPathAllocator.hpp.
Definition at line 53 of file XPathAllocator.hpp.
Definition at line 45 of file XPathAllocator.hpp.
Definition at line 56 of file XPathAllocator.hpp.
xalanc::XPathAllocator::XPathAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XPathAllocator::~XPathAllocator | ( | ) |
object_type* xalanc::XPathAllocator::create | ( | ) |
|
inline |
Get the number of objects in each block.
Definition at line 96 of file XPathAllocator.hpp.
|
inline |
Get the number of blocks currently allocated.
Definition at line 107 of file XPathAllocator.hpp.
|
inline |
Determine if an object is owned by the allocator...
Definition at line 79 of file XPathAllocator.hpp.
void xalanc::XPathAllocator::reset | ( | ) |
Delete all XPath objects allocated.
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