Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XSLT/XalanElemApplyTemplatesAllocator.hpp>
Public Types | |
typedef ElemApplyTemplates | data_type |
typedef ArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XalanElemApplyTemplatesAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. | |
~XalanElemApplyTemplatesAllocator () | |
data_type * | create (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber) |
Construct 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 XalanElemApplyTemplatesAllocator.hpp.
Definition at line 52 of file XalanElemApplyTemplatesAllocator.hpp.
Definition at line 45 of file XalanElemApplyTemplatesAllocator.hpp.
Definition at line 55 of file XalanElemApplyTemplatesAllocator.hpp.
xalanc::XalanElemApplyTemplatesAllocator::XalanElemApplyTemplatesAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanElemApplyTemplatesAllocator::~XalanElemApplyTemplatesAllocator | ( | ) |
data_type * xalanc::XalanElemApplyTemplatesAllocator::create | ( | StylesheetConstructionContext & | constructionContext, |
Stylesheet & | stylesheetTree, | ||
const AttributeListType & | atts, | ||
XalanFileLoc | lineNumber, | ||
XalanFileLoc | columnNumber | ||
) |
Construct an instance.
constructionContext | context for construction of object |
stylesheetTree | stylesheet containing element |
atts | list of attributes for element |
lineNumber | line number in document |
columnNumber | column number in document |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 111 of file XalanElemApplyTemplatesAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 123 of file XalanElemApplyTemplatesAllocator.hpp.
Determine if an object is owned by the allocator...
Definition at line 91 of file XalanElemApplyTemplatesAllocator.hpp.
|
inline |
Delete all objects from the allocator.
Definition at line 100 of file XalanElemApplyTemplatesAllocator.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