Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

XalanArrayAllocator< Type > Class Template Reference

#include <XalanArrayAllocator.hpp>

Collaboration diagram for XalanArrayAllocator< Type >:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class Type>
class XalanArrayAllocator< Type >

Definition at line 42 of file XalanArrayAllocator.hpp.


Member Typedef Documentation

template<class Type>
typedef XALAN_STD_QUALIFIER pair<size_type, VectorType * > XalanArrayAllocator< Type >::ListEntryType

Definition at line 49 of file XalanArrayAllocator.hpp.

template<class Type>
typedef ListType::iterator XalanArrayAllocator< Type >::ListIteratorType

Definition at line 54 of file XalanArrayAllocator.hpp.

template<class Type>
typedef XalanList<ListEntryType> XalanArrayAllocator< Type >::ListType

Definition at line 50 of file XalanArrayAllocator.hpp.

template<class Type>
typedef VectorType::size_type XalanArrayAllocator< Type >::size_type

Definition at line 47 of file XalanArrayAllocator.hpp.

template<class Type>
typedef Type XalanArrayAllocator< Type >::value_type

Definition at line 52 of file XalanArrayAllocator.hpp.

template<class Type>
typedef XalanVector<Type> XalanArrayAllocator< Type >::VectorType

Definition at line 46 of file XalanArrayAllocator.hpp.


Member Enumeration Documentation

template<class Type>
anonymous enum
Enumerator:
eDefaultBlockSize 

Definition at line 57 of file XalanArrayAllocator.hpp.


Constructor & Destructor Documentation

template<class Type>
XalanArrayAllocator< Type >::XalanArrayAllocator ( MemoryManager &  theManager,
size_type  theBlockSize = eDefaultBlockSize 
) [inline]

Constructor.

Parameters:
theBlockSize The block size when allocating.

Definition at line 64 of file XalanArrayAllocator.hpp.

template<class Type>
XalanArrayAllocator< Type >::~XalanArrayAllocator (  )  [inline]

Definition at line 72 of file XalanArrayAllocator.hpp.


Member Function Documentation

template<class Type>
Type* XalanArrayAllocator< Type >::allocate ( size_type  theCount  )  [inline]

Allocate slots for the given number of Types instance and return the address of the slots.

Parameters:
theCount The number of slots to allocate

Definition at line 138 of file XalanArrayAllocator.hpp.

template<class Type>
void XalanArrayAllocator< Type >::clear (  )  [inline]

Clear the instance, and release all allocated memory.

Definition at line 96 of file XalanArrayAllocator.hpp.

template<class Type>
void XalanArrayAllocator< Type >::reset (  )  [inline]

Reset the instance, but keep all memory so it can be reused for allocations.

This invalidates all previous allocations.

Definition at line 109 of file XalanArrayAllocator.hpp.


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo