Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XSLT/XalanAVTPartSimpleAllocator.hpp>
Public Types | |
typedef AVTPartSimple | data_type |
typedef ArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XalanAVTPartSimpleAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. | |
~XalanAVTPartSimpleAllocator () | |
data_type * | create (StylesheetConstructionContext &constructionContext, const XalanDOMChar *val, XalanDOMString::size_type len) |
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 XalanAVTPartSimpleAllocator.hpp.
Definition at line 52 of file XalanAVTPartSimpleAllocator.hpp.
Definition at line 45 of file XalanAVTPartSimpleAllocator.hpp.
Definition at line 55 of file XalanAVTPartSimpleAllocator.hpp.
xalanc::XalanAVTPartSimpleAllocator::XalanAVTPartSimpleAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanAVTPartSimpleAllocator::~XalanAVTPartSimpleAllocator | ( | ) |
data_type * xalanc::XalanAVTPartSimpleAllocator::create | ( | StylesheetConstructionContext & | constructionContext, |
const XalanDOMChar * | val, | ||
XalanDOMString::size_type | len | ||
) |
Create an instance.
constructionContext | context when object constructed |
val | A pure string section of an AVT |
len | The length of val |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 105 of file XalanAVTPartSimpleAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 117 of file XalanAVTPartSimpleAllocator.hpp.
Determine if an object is owned by the allocator...
Definition at line 85 of file XalanAVTPartSimpleAllocator.hpp.
|
inline |
Delete all objects from the allocator.
Definition at line 94 of file XalanAVTPartSimpleAllocator.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