MyGUI  3.2.0
Data Structures | Public Types | Public Member Functions
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 32 of file MyGUI_Allocator.h.


Member Typedef Documentation

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

Definition at line 38 of file MyGUI_Allocator.h.

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

Definition at line 46 of file MyGUI_CustomAllocator.h.

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

Definition at line 40 of file MyGUI_Allocator.h.

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

Definition at line 48 of file MyGUI_CustomAllocator.h.

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

Definition at line 42 of file MyGUI_Allocator.h.

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

Definition at line 50 of file MyGUI_CustomAllocator.h.

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

Definition at line 37 of file MyGUI_Allocator.h.

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

Definition at line 45 of file MyGUI_CustomAllocator.h.

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

Definition at line 39 of file MyGUI_Allocator.h.

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

Definition at line 47 of file MyGUI_CustomAllocator.h.

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

Definition at line 41 of file MyGUI_Allocator.h.

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

Definition at line 49 of file MyGUI_CustomAllocator.h.

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

Definition at line 36 of file MyGUI_Allocator.h.

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

Definition at line 44 of file MyGUI_CustomAllocator.h.


Constructor & Destructor Documentation

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

Definition at line 53 of file MyGUI_Allocator.h.

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

Definition at line 54 of file MyGUI_Allocator.h.

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

Definition at line 56 of file MyGUI_Allocator.h.

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

Definition at line 61 of file MyGUI_CustomAllocator.h.

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

Definition at line 62 of file MyGUI_CustomAllocator.h.

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

Definition at line 64 of file MyGUI_CustomAllocator.h.


Member Function Documentation

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

Definition at line 59 of file MyGUI_Allocator.h.

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

Definition at line 63 of file MyGUI_Allocator.h.

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

Definition at line 67 of file MyGUI_CustomAllocator.h.

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

Definition at line 71 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 >
pointer MyGUI::Allocator< T >::allocate ( size_type  cnt,
typename std::allocator< void >::const_pointer  = 0 
) [inline]

Definition at line 77 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 >::construct ( pointer  p,
const T &  t 
) [inline]

Definition at line 93 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 >::deallocate ( pointer  p,
size_type   
) [inline]

Definition at line 81 of file MyGUI_CustomAllocator.h.

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

Definition at line 89 of file MyGUI_Allocator.h.

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

Definition at line 97 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 >
size_type MyGUI::Allocator< T >::max_size ( ) const [inline]

Definition at line 87 of file MyGUI_CustomAllocator.h.

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

Definition at line 98 of file MyGUI_Allocator.h.

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

Definition at line 106 of file MyGUI_CustomAllocator.h.

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

Definition at line 94 of file MyGUI_Allocator.h.

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

Definition at line 102 of file MyGUI_CustomAllocator.h.


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