|
Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XercesParserLiaison/XercesElementWrapperAllocator.hpp>
Public Types | |
| typedef XercesElementWrapper | ObjectType |
| typedef ArenaAllocator< ObjectType > | ArenaAllocatorType |
| typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
| XercesElementWrapperAllocator (MemoryManager &theManager, size_type theBlockCount) | |
| Construct an instance that will allocate blocks of the specified size. More... | |
| ~XercesElementWrapperAllocator () | |
| ObjectType * | create (const DOMElementType *theXercesElement, const XercesWrapperNavigator &theNavigator) |
| Create a XercesElementWrapper instance. More... | |
| void | reset () |
| Delete all objects from allocator. More... | |
| size_type | getBlockCount () const |
| Get size of an ArenaBlock, that is, the number of objects in each block. More... | |
| size_type | getBlockSize () const |
| Get the number of ArenaBlocks currently allocated. More... | |
Definition at line 41 of file XercesElementWrapperAllocator.hpp.
Definition at line 53 of file XercesElementWrapperAllocator.hpp.
Definition at line 45 of file XercesElementWrapperAllocator.hpp.
Definition at line 56 of file XercesElementWrapperAllocator.hpp.
| xalanc::XercesElementWrapperAllocator::XercesElementWrapperAllocator | ( | MemoryManager & | theManager, |
| size_type | theBlockCount | ||
| ) |
Construct an instance that will allocate blocks of the specified size.
| theBlockSize | The block size. |
| xalanc::XercesElementWrapperAllocator::~XercesElementWrapperAllocator | ( | ) |
| ObjectType* xalanc::XercesElementWrapperAllocator::create | ( | const DOMElementType * | theXercesElement, |
| const XercesWrapperNavigator & | theNavigator | ||
| ) |
Create a XercesElementWrapper instance.
| theXercesElement | The Xerces element node |
| theNavigator | The navigator for this instance. |
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 93 of file XercesElementWrapperAllocator.hpp.
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 104 of file XercesElementWrapperAllocator.hpp.
| void xalanc::XercesElementWrapperAllocator::reset | ( | ) |
Delete all objects from allocator.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:39 for Xalan-C++ API Reference by
1.8.17