Grid 0.7.0
uvmAllocator< _Tp > Class Template Reference

#include <AlignedAllocator.h>

Data Structures

struct  rebind

Public Types

typedef std::size_t size_type
typedef std::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

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

Detailed Description

template<typename _Tp>
class uvmAllocator< _Tp >

Definition at line 83 of file AlignedAllocator.h.

Member Typedef Documentation

◆ size_type

template<typename _Tp>
typedef std::size_t uvmAllocator< _Tp >::size_type

Definition at line 85 of file AlignedAllocator.h.

◆ difference_type

template<typename _Tp>
typedef std::ptrdiff_t uvmAllocator< _Tp >::difference_type

Definition at line 86 of file AlignedAllocator.h.

◆ pointer

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

Definition at line 87 of file AlignedAllocator.h.

◆ const_pointer

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

Definition at line 88 of file AlignedAllocator.h.

◆ reference

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

Definition at line 89 of file AlignedAllocator.h.

◆ const_reference

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

Definition at line 90 of file AlignedAllocator.h.

◆ value_type

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

Definition at line 91 of file AlignedAllocator.h.

Constructor & Destructor Documentation

◆ uvmAllocator() [1/3]

template<typename _Tp>
uvmAllocator< _Tp >::uvmAllocator ( )
throw ( )
inline

Definition at line 94 of file AlignedAllocator.h.

◆ uvmAllocator() [2/3]

template<typename _Tp>
uvmAllocator< _Tp >::uvmAllocator ( const uvmAllocator< _Tp > & )
throw ( )
inline

Definition at line 95 of file AlignedAllocator.h.

◆ uvmAllocator() [3/3]

template<typename _Tp>
template<typename _Tp1>
uvmAllocator< _Tp >::uvmAllocator ( const uvmAllocator< _Tp1 > & )
throw ( )
inline

Definition at line 96 of file AlignedAllocator.h.

◆ ~uvmAllocator()

template<typename _Tp>
uvmAllocator< _Tp >::~uvmAllocator ( )
throw ( )
inline

Definition at line 97 of file AlignedAllocator.h.

Member Function Documentation

◆ address()

template<typename _Tp>
pointer uvmAllocator< _Tp >::address ( reference __x) const
inline

Definition at line 98 of file AlignedAllocator.h.

◆ max_size()

template<typename _Tp>
size_type uvmAllocator< _Tp >::max_size ( ) const
throw ( )
inline

Definition at line 99 of file AlignedAllocator.h.

◆ allocate()

template<typename _Tp>
pointer uvmAllocator< _Tp >::allocate ( size_type __n,
const void * _p = 0 )
inline

Definition at line 101 of file AlignedAllocator.h.

◆ deallocate()

template<typename _Tp>
void uvmAllocator< _Tp >::deallocate ( pointer __p,
size_type __n )
inline

Definition at line 113 of file AlignedAllocator.h.

◆ construct() [1/2]

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

Definition at line 120 of file AlignedAllocator.h.

◆ construct() [2/2]

template<typename _Tp>
void uvmAllocator< _Tp >::construct ( pointer __p)
inline

Definition at line 121 of file AlignedAllocator.h.

◆ destroy()

template<typename _Tp>
void uvmAllocator< _Tp >::destroy ( pointer __p)
inline

Definition at line 122 of file AlignedAllocator.h.


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