Blender V2.61 - r43446
Classes | Public Types | Public Member Functions

MEM_Allocator< _Tp > Struct Template Reference

#include <MEM_Allocator.h>

List of all members.

Classes

struct  rebind

Public Types

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

Public Member Functions

 MEM_Allocator () throw ()
 MEM_Allocator (const MEM_Allocator &) throw ()
template<typename _Tp1 >
 MEM_Allocator (const MEM_Allocator< _Tp1 >) throw ()
 ~MEM_Allocator () throw ()
pointer address (reference __x) const
const_pointer address (const_reference __x) const
_Tp * allocate (size_type __n, const void *=0)
void deallocate (pointer __p, size_type)
size_type max_size () const throw ()
void construct (pointer __p, const _Tp &__val)
void destroy (pointer __p)

Detailed Description

template<typename _Tp>
struct MEM_Allocator< _Tp >

Definition at line 36 of file MEM_Allocator.h.


Member Typedef Documentation

template<typename _Tp>
typedef const _Tp* MEM_Allocator< _Tp >::const_pointer

Definition at line 41 of file MEM_Allocator.h.

template<typename _Tp>
typedef const _Tp& MEM_Allocator< _Tp >::const_reference

Definition at line 43 of file MEM_Allocator.h.

template<typename _Tp>
typedef ptrdiff_t MEM_Allocator< _Tp >::difference_type

Definition at line 39 of file MEM_Allocator.h.

template<typename _Tp>
typedef _Tp* MEM_Allocator< _Tp >::pointer

Definition at line 40 of file MEM_Allocator.h.

template<typename _Tp>
typedef _Tp& MEM_Allocator< _Tp >::reference

Definition at line 42 of file MEM_Allocator.h.

template<typename _Tp>
typedef size_t MEM_Allocator< _Tp >::size_type

Definition at line 38 of file MEM_Allocator.h.

template<typename _Tp>
typedef _Tp MEM_Allocator< _Tp >::value_type

Definition at line 44 of file MEM_Allocator.h.


Constructor & Destructor Documentation

template<typename _Tp>
MEM_Allocator< _Tp >::MEM_Allocator ( ) throw () [inline]

Definition at line 51 of file MEM_Allocator.h.

template<typename _Tp>
MEM_Allocator< _Tp >::MEM_Allocator ( const MEM_Allocator< _Tp > &  ) throw () [inline]

Definition at line 52 of file MEM_Allocator.h.

template<typename _Tp>
template<typename _Tp1 >
MEM_Allocator< _Tp >::MEM_Allocator ( const MEM_Allocator< _Tp1 >  ) throw () [inline]

Definition at line 55 of file MEM_Allocator.h.

template<typename _Tp>
MEM_Allocator< _Tp >::~MEM_Allocator ( ) throw () [inline]

Definition at line 57 of file MEM_Allocator.h.


Member Function Documentation

template<typename _Tp>
pointer MEM_Allocator< _Tp >::address ( reference  __x) const [inline]

Definition at line 59 of file MEM_Allocator.h.

template<typename _Tp>
const_pointer MEM_Allocator< _Tp >::address ( const_reference  __x) const [inline]

Definition at line 61 of file MEM_Allocator.h.

template<typename _Tp>
_Tp* MEM_Allocator< _Tp >::allocate ( size_type  __n,
const void *  = 0 
) [inline]

Definition at line 65 of file MEM_Allocator.h.

References MEM_mallocN().

template<typename _Tp>
void MEM_Allocator< _Tp >::construct ( pointer  __p,
const _Tp &  __val 
) [inline]

Definition at line 83 of file MEM_Allocator.h.

template<typename _Tp>
void MEM_Allocator< _Tp >::deallocate ( pointer  __p,
size_type   
) [inline]

Definition at line 75 of file MEM_Allocator.h.

References MEM_freeN().

template<typename _Tp>
void MEM_Allocator< _Tp >::destroy ( pointer  __p) [inline]

Definition at line 87 of file MEM_Allocator.h.

template<typename _Tp>
size_type MEM_Allocator< _Tp >::max_size ( ) const throw () [inline]

Definition at line 79 of file MEM_Allocator.h.


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