CACAO
Data Structures | Public Types | Public Member Functions
DumpMemoryAllocator< T > Class Template Reference

Allocator for the dump memory. More...

Data Structures

struct  rebind
 

Public Types

typedef T value_type
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef T & reference
 
typedef const T & const_reference
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 DumpMemoryAllocator () throw ()
 
 DumpMemoryAllocator (const DumpMemoryAllocator &) throw ()
 
template<class U >
 DumpMemoryAllocator (const DumpMemoryAllocator< U > &) throw ()
 
 ~DumpMemoryAllocator () throw ()
 
pointer allocate (size_type n, void *=0)
 
pointer reallocate (pointer p, size_type old_sz, size_type new_sz)
 
void construct (pointer p, const T &value)
 
void destroy (pointer p)
 
void deallocate (pointer p, size_type n)
 

Detailed Description

template<class T>
class DumpMemoryAllocator< T >

Allocator for the dump memory.

Definition at line 146 of file dumpmemory.hpp.

Member Typedef Documentation

template<class T>
typedef const T* DumpMemoryAllocator< T >::const_pointer

Definition at line 151 of file dumpmemory.hpp.

template<class T>
typedef const T& DumpMemoryAllocator< T >::const_reference

Definition at line 153 of file dumpmemory.hpp.

template<class T>
typedef std::ptrdiff_t DumpMemoryAllocator< T >::difference_type

Definition at line 155 of file dumpmemory.hpp.

template<class T>
typedef T* DumpMemoryAllocator< T >::pointer

Definition at line 150 of file dumpmemory.hpp.

template<class T>
typedef T& DumpMemoryAllocator< T >::reference

Definition at line 152 of file dumpmemory.hpp.

template<class T>
typedef std::size_t DumpMemoryAllocator< T >::size_type

Definition at line 154 of file dumpmemory.hpp.

template<class T>
typedef T DumpMemoryAllocator< T >::value_type

Definition at line 149 of file dumpmemory.hpp.

Constructor & Destructor Documentation

template<class T>
DumpMemoryAllocator< T >::DumpMemoryAllocator ( )
throw (
)
inline

Definition at line 164 of file dumpmemory.hpp.

template<class T>
DumpMemoryAllocator< T >::DumpMemoryAllocator ( const DumpMemoryAllocator< T > &  )
throw (
)
inline

Definition at line 165 of file dumpmemory.hpp.

template<class T>
template<class U >
DumpMemoryAllocator< T >::DumpMemoryAllocator ( const DumpMemoryAllocator< U > &  )
throw (
)
inline

Definition at line 166 of file dumpmemory.hpp.

template<class T>
DumpMemoryAllocator< T >::~DumpMemoryAllocator ( )
throw (
)
inline

Definition at line 168 of file dumpmemory.hpp.

Member Function Documentation

template<class T>
pointer DumpMemoryAllocator< T >::allocate ( size_type  n,
void = 0 
)
inline

Definition at line 170 of file dumpmemory.hpp.

template<class T>
void DumpMemoryAllocator< T >::construct ( pointer  p,
const T &  value 
)
inline

Definition at line 181 of file dumpmemory.hpp.

template<class T>
void DumpMemoryAllocator< T >::deallocate ( pointer  p,
size_type  n 
)
inline

Definition at line 194 of file dumpmemory.hpp.

template<class T>
void DumpMemoryAllocator< T >::destroy ( pointer  p)
inline

Definition at line 188 of file dumpmemory.hpp.

template<class T>
pointer DumpMemoryAllocator< T >::reallocate ( pointer  p,
size_type  old_sz,
size_type  new_sz 
)
inline

Definition at line 176 of file dumpmemory.hpp.


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