Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
XalanAllocator< Type > Class Template Reference

#include <XalanAllocator.hpp>

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef Type * pointer
 
typedef const Type * const_pointer
 
typedef Type & reference
 
typedef const Type & const_reference
 
typedef Type value_type
 

Public Member Functions

 XalanAllocator (MemoryManager &theManager)
 
 ~XalanAllocator ()
 
MemoryManager & getMemoryManager ()
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
pointer allocate (size_type size, const void *=0)
 
void deallocate (pointer p, size_type)
 
size_type max_size () const
 
void construct (pointer p, const Type &val)
 
void destroy (pointer p)
 

Detailed Description

template<class Type>
class XalanAllocator< Type >

Definition at line 33 of file XalanAllocator.hpp.

Member Typedef Documentation

◆ const_pointer

template<class Type>
typedef const Type* XalanAllocator< Type >::const_pointer

Definition at line 39 of file XalanAllocator.hpp.

◆ const_reference

template<class Type>
typedef const Type& XalanAllocator< Type >::const_reference

Definition at line 41 of file XalanAllocator.hpp.

◆ difference_type

template<class Type>
typedef ptrdiff_t XalanAllocator< Type >::difference_type

Definition at line 37 of file XalanAllocator.hpp.

◆ pointer

template<class Type>
typedef Type* XalanAllocator< Type >::pointer

Definition at line 38 of file XalanAllocator.hpp.

◆ reference

template<class Type>
typedef Type& XalanAllocator< Type >::reference

Definition at line 40 of file XalanAllocator.hpp.

◆ size_type

template<class Type>
typedef size_t XalanAllocator< Type >::size_type

Definition at line 36 of file XalanAllocator.hpp.

◆ value_type

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

Definition at line 42 of file XalanAllocator.hpp.

Constructor & Destructor Documentation

◆ XalanAllocator()

template<class Type>
XalanAllocator< Type >::XalanAllocator ( MemoryManager &  theManager)
inline

Definition at line 45 of file XalanAllocator.hpp.

◆ ~XalanAllocator()

template<class Type>
XalanAllocator< Type >::~XalanAllocator ( )
inline

Definition at line 51 of file XalanAllocator.hpp.

Member Function Documentation

◆ address() [1/2]

template<class Type>
pointer XalanAllocator< Type >::address ( reference  x) const
inline

Definition at line 62 of file XalanAllocator.hpp.

◆ address() [2/2]

template<class Type>
const_pointer XalanAllocator< Type >::address ( const_reference  x) const
inline

Definition at line 68 of file XalanAllocator.hpp.

◆ allocate()

template<class Type>
pointer XalanAllocator< Type >::allocate ( size_type  size,
const void *  = 0 
)
inline

Definition at line 74 of file XalanAllocator.hpp.

◆ construct()

template<class Type>
void XalanAllocator< Type >::construct ( pointer  p,
const Type &  val 
)
inline

Definition at line 101 of file XalanAllocator.hpp.

◆ deallocate()

template<class Type>
void XalanAllocator< Type >::deallocate ( pointer  p,
size_type   
)
inline

Definition at line 82 of file XalanAllocator.hpp.

◆ destroy()

template<class Type>
void XalanAllocator< Type >::destroy ( pointer  p)
inline

Definition at line 109 of file XalanAllocator.hpp.

◆ getMemoryManager()

template<class Type>
MemoryManager& XalanAllocator< Type >::getMemoryManager ( )
inline

Definition at line 56 of file XalanAllocator.hpp.

◆ max_size()

template<class Type>
size_type XalanAllocator< Type >::max_size ( ) const
inline

Definition at line 95 of file XalanAllocator.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