atlas::allocator::Allocator< T, P > Class Template Reference

#include <allocator.h>

Collaboration diagram for atlas::allocator::Allocator< T, P >:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

 Allocator () throw ()
 Allocator (const Allocator &) throw ()
template<typename U>
 Allocator (const Allocator< U, P > &) throw ()
 ~Allocator ()
size_type max_size () const throw ()
pointer allocate (size_type, const void *hint=0)
void deallocate (pointer, size_type)
void construct (pointer, const_reference)
void destroy (pointer)

Static Private Attributes

static size_t d_instances = 0
static size_t d_constructions = 0
static P * d_pool = 0

Classes

struct  rebind

template<typename T, typename P>
class atlas::allocator::Allocator< T, P >


Member Typedef Documentation

template<typename T, typename P>
typedef const T* atlas::allocator::Allocator< T, P >::const_pointer
 

template<typename T, typename P>
typedef const T& atlas::allocator::Allocator< T, P >::const_reference
 

template<typename T, typename P>
typedef ptrdiff_t atlas::allocator::Allocator< T, P >::difference_type
 

template<typename T, typename P>
typedef T* atlas::allocator::Allocator< T, P >::pointer
 

template<typename T, typename P>
typedef T& atlas::allocator::Allocator< T, P >::reference
 

template<typename T, typename P>
typedef size_t atlas::allocator::Allocator< T, P >::size_type
 

template<typename T, typename P>
typedef T atlas::allocator::Allocator< T, P >::value_type
 


Constructor & Destructor Documentation

template<typename T, typename P>
atlas::allocator::Allocator< T, P >::Allocator  )  throw () [inline]
 

template<typename T, typename P>
atlas::allocator::Allocator< T, P >::Allocator const Allocator< T, P > &   )  throw () [inline]
 

template<typename T, typename P>
template<typename U>
atlas::allocator::Allocator< T, P >::Allocator const Allocator< U, P > &   )  throw () [inline]
 

template<typename T, typename P>
atlas::allocator::Allocator< T, P >::~Allocator  )  [inline]
 


Member Function Documentation

template<typename T, typename P>
pointer atlas::allocator::Allocator< T, P >::allocate size_type  ,
const void *  hint = 0
 

template<typename T, typename P>
void atlas::allocator::Allocator< T, P >::construct pointer  ,
const_reference 
 

template<typename T, typename P>
void atlas::allocator::Allocator< T, P >::deallocate pointer  ,
size_type 
 

template<typename T, typename P>
void atlas::allocator::Allocator< T, P >::destroy pointer   ) 
 

template<typename T, typename P>
size_type atlas::allocator::Allocator< T, P >::max_size  )  const throw () [inline]
 


Member Data Documentation

template<typename T, typename P>
size_t atlas::allocator::Allocator< T, P >::d_constructions = 0 [static, private]
 

template<typename T, typename P>
size_t atlas::allocator::Allocator< T, P >::d_instances = 0 [static, private]
 

template<typename T, typename P>
P * atlas::allocator::Allocator< T, P >::d_pool = 0 [static, private]
 


The documentation for this class was generated from the following file:
Generated on Mon Mar 20 07:47:08 2006 for atlas by  doxygen 1.4.6