Galois::Allocator< Ty > Class Template Reference

#include <Mem.h>

List of all members.

Classes

struct  rebind

Public Types

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

Public Member Functions

 Allocator () throw ()
 Allocator (const Allocator &) throw ()
template<class U >
 Allocator (const Allocator< U > &) throw ()
 ~Allocator ()
pointer address (reference val) const
const_pointer address (const_reference val) const
pointer allocate (size_type size)
void deallocate (pointer p, size_type)
size_type max_size () const throw ()
void construct (pointer p, const Ty &val)
void destroy (pointer p)

Private Member Functions

void destruct (char *)
void destruct (wchar_t *)
template<typename T >
void destruct (T *t)

template<typename Ty>
class Galois::Allocator< Ty >


Member Typedef Documentation

template<typename Ty>
typedef const Ty* Galois::Allocator< Ty >::const_pointer
template<typename Ty>
typedef const Ty& Galois::Allocator< Ty >::const_reference
template<typename Ty>
typedef ptrdiff_t Galois::Allocator< Ty >::difference_type
template<typename Ty>
typedef Ty* Galois::Allocator< Ty >::pointer
template<typename Ty>
typedef Ty& Galois::Allocator< Ty >::reference
template<typename Ty>
typedef size_t Galois::Allocator< Ty >::size_type
template<typename Ty>
typedef Ty Galois::Allocator< Ty >::value_type

Constructor & Destructor Documentation

template<typename Ty>
Galois::Allocator< Ty >::Allocator (  )  throw () [inline]
template<typename Ty>
Galois::Allocator< Ty >::Allocator ( const Allocator< Ty > &   )  throw () [inline]
template<typename Ty>
template<class U >
Galois::Allocator< Ty >::Allocator ( const Allocator< U > &   )  throw () [inline]
template<typename Ty>
Galois::Allocator< Ty >::~Allocator (  )  [inline]

Member Function Documentation

template<typename Ty>
const_pointer Galois::Allocator< Ty >::address ( const_reference  val  )  const [inline]
template<typename Ty>
pointer Galois::Allocator< Ty >::address ( reference  val  )  const [inline]
template<typename Ty>
pointer Galois::Allocator< Ty >::allocate ( size_type  size  )  [inline]
template<typename Ty>
void Galois::Allocator< Ty >::construct ( pointer  p,
const Ty &  val 
) [inline]
template<typename Ty>
void Galois::Allocator< Ty >::deallocate ( pointer  p,
size_type   
) [inline]
template<typename Ty>
void Galois::Allocator< Ty >::destroy ( pointer  p  )  [inline]
template<typename Ty>
template<typename T >
void Galois::Allocator< Ty >::destruct ( T *  t  )  [inline, private]
template<typename Ty>
void Galois::Allocator< Ty >::destruct ( wchar_t *   )  [inline, private]
template<typename Ty>
void Galois::Allocator< Ty >::destruct ( char *   )  [inline, private]
template<typename Ty>
size_type Galois::Allocator< Ty >::max_size (  )  const throw () [inline]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:29 2011 for Galois by  doxygen 1.6.3