MyGUI::Allocator< T > Class Template Reference

#include <MyGUI_Allocator.h>

Data Structures

struct  rebind

Public Types

typedef T value_type
typedef value_typepointer
typedef const value_typeconst_pointer
typedef value_typereference
typedef const value_typeconst_reference
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type
typedef T value_type
typedef value_typepointer
typedef const value_typeconst_pointer
typedef value_typereference
typedef const value_typeconst_reference
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type

Public Member Functions

 Allocator ()
 ~Allocator ()
template<typename U >
 Allocator (Allocator< U > const &)
pointer address (reference r)
const_pointer address (const_reference r)
pointer allocate (size_type cnt, typename std::allocator< void >::const_pointer=0)
void deallocate (pointer p, size_type)
size_type max_size () const
void construct (pointer p, const T &t)
void destroy (pointer p)
bool operator== (Allocator const &)
bool operator!= (Allocator const &a)
 Allocator ()
 ~Allocator ()
template<typename U >
 Allocator (Allocator< U > const &)
pointer address (reference r)
const_pointer address (const_reference r)
pointer allocate (size_type cnt, typename std::allocator< void >::const_pointer=0)
void deallocate (pointer p, size_type)
size_type max_size () const
void construct (pointer p, const T &t)
void destroy (pointer p)
bool operator== (Allocator const &)
bool operator!= (Allocator const &a)

Detailed Description

template<typename T>
class MyGUI::Allocator< T >

Definition at line 38 of file MyGUI_Allocator.h.


Member Typedef Documentation

template<typename T >
typedef const value_type* MyGUI::Allocator< T >::const_pointer

Definition at line 47 of file MyGUI_CustomAllocator.h.

template<typename T >
typedef const value_type* MyGUI::Allocator< T >::const_pointer

Definition at line 44 of file MyGUI_Allocator.h.

template<typename T >
typedef const value_type& MyGUI::Allocator< T >::const_reference

Definition at line 49 of file MyGUI_CustomAllocator.h.

template<typename T >
typedef const value_type& MyGUI::Allocator< T >::const_reference

Definition at line 46 of file MyGUI_Allocator.h.

template<typename T >
typedef std::ptrdiff_t MyGUI::Allocator< T >::difference_type

Definition at line 51 of file MyGUI_CustomAllocator.h.

template<typename T >
typedef std::ptrdiff_t MyGUI::Allocator< T >::difference_type

Definition at line 48 of file MyGUI_Allocator.h.

template<typename T >
typedef value_type* MyGUI::Allocator< T >::pointer

Definition at line 46 of file MyGUI_CustomAllocator.h.

template<typename T >
typedef value_type* MyGUI::Allocator< T >::pointer

Definition at line 43 of file MyGUI_Allocator.h.

template<typename T >
typedef value_type& MyGUI::Allocator< T >::reference

Definition at line 48 of file MyGUI_CustomAllocator.h.

template<typename T >
typedef value_type& MyGUI::Allocator< T >::reference

Definition at line 45 of file MyGUI_Allocator.h.

template<typename T >
typedef std::size_t MyGUI::Allocator< T >::size_type

Definition at line 50 of file MyGUI_CustomAllocator.h.

template<typename T >
typedef std::size_t MyGUI::Allocator< T >::size_type

Definition at line 47 of file MyGUI_Allocator.h.

template<typename T >
typedef T MyGUI::Allocator< T >::value_type

Definition at line 45 of file MyGUI_CustomAllocator.h.

template<typename T >
typedef T MyGUI::Allocator< T >::value_type

Definition at line 42 of file MyGUI_Allocator.h.


Constructor & Destructor Documentation

template<typename T >
MyGUI::Allocator< T >::Allocator (  )  [inline, explicit]

Definition at line 59 of file MyGUI_Allocator.h.

template<typename T >
MyGUI::Allocator< T >::~Allocator (  )  [inline]

Definition at line 60 of file MyGUI_Allocator.h.

template<typename T >
template<typename U >
MyGUI::Allocator< T >::Allocator ( Allocator< U > const &   )  [inline, explicit]

Definition at line 62 of file MyGUI_Allocator.h.

template<typename T >
MyGUI::Allocator< T >::Allocator (  )  [inline, explicit]

Definition at line 62 of file MyGUI_CustomAllocator.h.

template<typename T >
MyGUI::Allocator< T >::~Allocator (  )  [inline]

Definition at line 63 of file MyGUI_CustomAllocator.h.

template<typename T >
template<typename U >
MyGUI::Allocator< T >::Allocator ( Allocator< U > const &   )  [inline, explicit]

Definition at line 65 of file MyGUI_CustomAllocator.h.


Member Function Documentation

template<typename T >
const_pointer MyGUI::Allocator< T >::address ( const_reference  r  )  [inline]

Definition at line 69 of file MyGUI_CustomAllocator.h.

template<typename T >
pointer MyGUI::Allocator< T >::address ( reference  r  )  [inline]

Definition at line 68 of file MyGUI_CustomAllocator.h.

template<typename T >
const_pointer MyGUI::Allocator< T >::address ( const_reference  r  )  [inline]

Definition at line 66 of file MyGUI_Allocator.h.

template<typename T >
pointer MyGUI::Allocator< T >::address ( reference  r  )  [inline]

Definition at line 65 of file MyGUI_Allocator.h.

template<typename T >
pointer MyGUI::Allocator< T >::allocate ( size_type  cnt,
typename std::allocator< void >::const_pointer  = 0 
) [inline]

Definition at line 72 of file MyGUI_CustomAllocator.h.

template<typename T >
pointer MyGUI::Allocator< T >::allocate ( size_type  cnt,
typename std::allocator< void >::const_pointer  = 0 
) [inline]

Definition at line 69 of file MyGUI_Allocator.h.

template<typename T >
void MyGUI::Allocator< T >::construct ( pointer  p,
const T &  t 
) [inline]

Definition at line 88 of file MyGUI_CustomAllocator.h.

template<typename T >
void MyGUI::Allocator< T >::construct ( pointer  p,
const T &  t 
) [inline]

Definition at line 85 of file MyGUI_Allocator.h.

template<typename T >
void MyGUI::Allocator< T >::deallocate ( pointer  p,
size_type   
) [inline]

Definition at line 76 of file MyGUI_CustomAllocator.h.

template<typename T >
void MyGUI::Allocator< T >::deallocate ( pointer  p,
size_type   
) [inline]

Definition at line 73 of file MyGUI_Allocator.h.

template<typename T >
void MyGUI::Allocator< T >::destroy ( pointer  p  )  [inline]

Definition at line 89 of file MyGUI_CustomAllocator.h.

template<typename T >
void MyGUI::Allocator< T >::destroy ( pointer  p  )  [inline]

Definition at line 86 of file MyGUI_Allocator.h.

template<typename T >
size_type MyGUI::Allocator< T >::max_size (  )  const [inline]

Definition at line 82 of file MyGUI_CustomAllocator.h.

template<typename T >
size_type MyGUI::Allocator< T >::max_size (  )  const [inline]

Definition at line 79 of file MyGUI_Allocator.h.

template<typename T >
bool MyGUI::Allocator< T >::operator!= ( Allocator< T > const &  a  )  [inline]

Definition at line 92 of file MyGUI_CustomAllocator.h.

template<typename T >
bool MyGUI::Allocator< T >::operator!= ( Allocator< T > const &  a  )  [inline]

Definition at line 89 of file MyGUI_Allocator.h.

template<typename T >
bool MyGUI::Allocator< T >::operator== ( Allocator< T > const &   )  [inline]

Definition at line 91 of file MyGUI_CustomAllocator.h.

template<typename T >
bool MyGUI::Allocator< T >::operator== ( Allocator< T > const &   )  [inline]

Definition at line 88 of file MyGUI_Allocator.h.


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

Generated on 5 Dec 2009 for MyGUI by  doxygen 1.6.1