Public Types | |
enum | { eDefaultBlockSize = 500 } |
typedef XalanVector< Type > | VectorType |
typedef VectorType::size_type | size_type |
typedef XALAN_STD_QUALIFIER pair< size_type, VectorType * > | ListEntryType |
typedef XalanList< ListEntryType > | ListType |
typedef Type | value_type |
typedef ListType::iterator | ListIteratorType |
Public Member Functions | |
XalanArrayAllocator (MemoryManagerType &theManager, size_type theBlockSize=eDefaultBlockSize) | |
Constructor. | |
~XalanArrayAllocator () | |
void | clear () |
Clear the instance, and release all allocated memory. | |
void | reset () |
Reset the instance, but keep all memory so it can be reused for allocations. | |
Type * | allocate (size_type theCount) |
Allocate slots for the given number of Types instance and return the address of the slots. |
typedef XALAN_STD_QUALIFIER pair<size_type, VectorType * > XalanArrayAllocator< Type >::ListEntryType |
typedef ListType::iterator XalanArrayAllocator< Type >::ListIteratorType |
typedef XalanList<ListEntryType> XalanArrayAllocator< Type >::ListType |
typedef VectorType::size_type XalanArrayAllocator< Type >::size_type |
typedef Type XalanArrayAllocator< Type >::value_type |
typedef XalanVector<Type> XalanArrayAllocator< Type >::VectorType |
XalanArrayAllocator< Type >::XalanArrayAllocator | ( | MemoryManagerType & | theManager, |
size_type | theBlockSize = eDefaultBlockSize |
||
) |
Constructor.
theBlockSize | The block size when allocating. |
XalanArrayAllocator< Type >::~XalanArrayAllocator | ( | ) |
Type* XalanArrayAllocator< Type >::allocate | ( | size_type | theCount | ) |
Allocate slots for the given number of Types instance and return the address of the slots.
theCount | The number of slots to allocate |
void XalanArrayAllocator< Type >::clear | ( | ) |
Clear the instance, and release all allocated memory.
void XalanArrayAllocator< Type >::reset | ( | ) |
Reset the instance, but keep all memory so it can be reused for allocations.
This invalidates all previous allocations.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|