Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | Public Attributes | List of all members
xalanc::XalanAllocator< Type > Class Template Reference

#include <xalanc/PlatformSupport/XalanAllocator.hpp>

Inheritance diagram for xalanc::XalanAllocator< Type >:
[legend]

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef Type * pointer
 
typedef Type & 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)
 

Public Attributes

const typedef Type * const_pointer
 
const typedef Type & const_reference
 

Detailed Description

template<class Type>
class xalanc::XalanAllocator< Type >

Definition at line 33 of file XalanAllocator.hpp.

Member Typedef Documentation

◆ difference_type

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

Definition at line 37 of file XalanAllocator.hpp.

◆ pointer

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

Definition at line 38 of file XalanAllocator.hpp.

◆ reference

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

Definition at line 40 of file XalanAllocator.hpp.

◆ size_type

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

Definition at line 36 of file XalanAllocator.hpp.

◆ value_type

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

Definition at line 42 of file XalanAllocator.hpp.

Constructor & Destructor Documentation

◆ XalanAllocator()

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

Definition at line 45 of file XalanAllocator.hpp.

◆ ~XalanAllocator()

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

Definition at line 51 of file XalanAllocator.hpp.

Member Function Documentation

◆ address() [1/2]

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

Definition at line 68 of file XalanAllocator.hpp.

◆ address() [2/2]

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

Definition at line 62 of file XalanAllocator.hpp.

◆ allocate()

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

Definition at line 74 of file XalanAllocator.hpp.

◆ construct()

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

Definition at line 101 of file XalanAllocator.hpp.

◆ deallocate()

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

Definition at line 82 of file XalanAllocator.hpp.

◆ destroy()

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

Definition at line 109 of file XalanAllocator.hpp.

◆ getMemoryManager()

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

Definition at line 56 of file XalanAllocator.hpp.

◆ max_size()

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

Definition at line 95 of file XalanAllocator.hpp.

Member Data Documentation

◆ const_pointer

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

Definition at line 39 of file XalanAllocator.hpp.

◆ const_reference

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

Definition at line 41 of file XalanAllocator.hpp.


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