#include <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. More... | |
| ~XalanAVTAllocator () | |
| data_type * | create (StylesheetConstructionContext &constructionContext, const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const PrefixResolver &resolver) |
| Create an instance. More... | |
| bool | ownsObject (const data_type *theObject) |
| Determine if an object is owned by the allocator... More... | |
| void | reset () |
| Delete all objects from the allocator. More... | |
| size_type | getBlockCount () const |
| Get the number of ArenaBlocks currently allocated. More... | |
| size_type | getBlockSize () const |
| Get size of an ArenaBlock, that is, the number of objects in each block. More... | |
Definition at line 41 of file XalanAVTAllocator.hpp.
Definition at line 52 of file XalanAVTAllocator.hpp.
| typedef AVT XalanAVTAllocator::data_type |
Definition at line 45 of file XalanAVTAllocator.hpp.
Definition at line 55 of file XalanAVTAllocator.hpp.
| XalanAVTAllocator::XalanAVTAllocator | ( | MemoryManager & | theManager, |
| size_type | theBlockCount | ||
| ) |
Construct an instance that will allocate blocks of the specified size.
| theBlockSize | The block size. |
| XalanAVTAllocator::~XalanAVTAllocator | ( | ) |
| data_type* 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.
|
inline |
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.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.11 |
|
|