Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XSLT/XalanAVTAllocator.hpp>
Public Types | |
typedef AVT | data_type |
typedef ArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XalanAVTAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. | |
~XalanAVTAllocator () | |
data_type * | create (StylesheetConstructionContext &constructionContext, const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const PrefixResolver &resolver) |
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 XalanAVTAllocator.hpp.
Definition at line 52 of file XalanAVTAllocator.hpp.
Definition at line 45 of file XalanAVTAllocator.hpp.
Definition at line 55 of file XalanAVTAllocator.hpp.
xalanc::XalanAVTAllocator::XalanAVTAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanAVTAllocator::~XalanAVTAllocator | ( | ) |
data_type * xalanc::XalanAVTAllocator::create | ( | StylesheetConstructionContext & | constructionContext, |
const Locator * | locator, | ||
const XalanDOMChar * | name, | ||
const XalanDOMChar * | stringedValue, | ||
const PrefixResolver & | resolver | ||
) |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 109 of file XalanAVTAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 121 of file XalanAVTAllocator.hpp.
Determine if an object is owned by the allocator...
Definition at line 89 of file XalanAVTAllocator.hpp.
|
inline |
Delete all objects from the allocator.
Definition at line 98 of file XalanAVTAllocator.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