Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
boost::detail::as_allocator< A, T, R > Class Template Reference

#include <array_allocator.hpp>

Inheritance diagram for boost::detail::as_allocator< A, T, R >:
Inheritance graph
[legend]

Classes

struct  rebind
 

Public Types

typedef A allocator_type
 
typedef AT::const_pointer const_pointer
 
typedef AT::const_void_pointer const_void_pointer
 
typedef AT::difference_type difference_type
 
typedef AT::pointer pointer
 
typedef AT::size_type size_type
 
typedef array_base< T >::type type
 
typedef AT::value_type value_type
 
typedef AT::void_pointer void_pointer
 

Public Member Functions

pointer allocate (size_type count, const_void_pointer=0)
 
A & allocator ()
 
const A & allocator () const
 
 as_allocator (const A &allocator_, std::size_t size, type **result)
 
 as_allocator (const A &allocator_, type **result)
 
template<class U >
 as_allocator (const as_allocator< U, T, R > &other)
 
void deallocate (pointer memory, size_type count)
 
void operator() ()
 
void set (type *memory)
 

Private Types

typedef std::allocator_traits< A > AT
 
typedef AT::template rebind_alloc< char > CA
 
typedef AT::template rebind_traits< char > CT
 

Private Member Functions

void release (ms_init_tag)
 
void release (ms_noinit_tag)
 

Private Attributes

ms_allocator_state< Tdata
 

Friends

template<class A_ , class T_ , class R_ >
class as_allocator
 

Detailed Description

template<class A, class T, class R>
class boost::detail::as_allocator< A, T, R >

Definition at line 62 of file array_allocator.hpp.

Member Typedef Documentation

◆ allocator_type

template<class A , class T , class R >
typedef A boost::detail::as_allocator< A, T, R >::allocator_type

Definition at line 76 of file array_allocator.hpp.

◆ AT

template<class A , class T , class R >
typedef std::allocator_traits<A> boost::detail::as_allocator< A, T, R >::AT
private

Definition at line 68 of file array_allocator.hpp.

◆ CA

template<class A , class T , class R >
typedef AT::template rebind_alloc<char> boost::detail::as_allocator< A, T, R >::CA
private

Definition at line 69 of file array_allocator.hpp.

◆ const_pointer

template<class A , class T , class R >
typedef AT::const_pointer boost::detail::as_allocator< A, T, R >::const_pointer

Definition at line 81 of file array_allocator.hpp.

◆ const_void_pointer

template<class A , class T , class R >
typedef AT::const_void_pointer boost::detail::as_allocator< A, T, R >::const_void_pointer

Definition at line 83 of file array_allocator.hpp.

◆ CT

template<class A , class T , class R >
typedef AT::template rebind_traits<char> boost::detail::as_allocator< A, T, R >::CT
private

Definition at line 70 of file array_allocator.hpp.

◆ difference_type

template<class A , class T , class R >
typedef AT::difference_type boost::detail::as_allocator< A, T, R >::difference_type

Definition at line 85 of file array_allocator.hpp.

◆ pointer

template<class A , class T , class R >
typedef AT::pointer boost::detail::as_allocator< A, T, R >::pointer

Definition at line 80 of file array_allocator.hpp.

◆ size_type

template<class A , class T , class R >
typedef AT::size_type boost::detail::as_allocator< A, T, R >::size_type

Definition at line 84 of file array_allocator.hpp.

◆ type

template<class A , class T , class R >
typedef array_base<T>::type boost::detail::as_allocator< A, T, R >::type

Definition at line 109 of file array_allocator.hpp.

◆ value_type

template<class A , class T , class R >
typedef AT::value_type boost::detail::as_allocator< A, T, R >::value_type

Definition at line 79 of file array_allocator.hpp.

◆ void_pointer

template<class A , class T , class R >
typedef AT::void_pointer boost::detail::as_allocator< A, T, R >::void_pointer

Definition at line 82 of file array_allocator.hpp.

Constructor & Destructor Documentation

◆ as_allocator() [1/3]

template<class A , class T , class R >
boost::detail::as_allocator< A, T, R >::as_allocator ( const A &  allocator_,
type **  result 
)
inline

Definition at line 111 of file array_allocator.hpp.

◆ as_allocator() [2/3]

template<class A , class T , class R >
boost::detail::as_allocator< A, T, R >::as_allocator ( const A &  allocator_,
std::size_t  size,
type **  result 
)
inline

Definition at line 116 of file array_allocator.hpp.

◆ as_allocator() [3/3]

template<class A , class T , class R >
template<class U >
boost::detail::as_allocator< A, T, R >::as_allocator ( const as_allocator< U, T, R > &  other)
inline

Definition at line 123 of file array_allocator.hpp.

Member Function Documentation

◆ allocate()

template<class A , class T , class R >
pointer boost::detail::as_allocator< A, T, R >::allocate ( size_type  count,
const_void_pointer  = 0 
)
inline

Definition at line 128 of file array_allocator.hpp.

◆ allocator() [1/2]

template<class A , class T , class R >
A& boost::detail::as_allocator< A, T, R >::allocator ( )
inline

Definition at line 158 of file array_allocator.hpp.

◆ allocator() [2/2]

template<class A , class T , class R >
const A& boost::detail::as_allocator< A, T, R >::allocator ( ) const
inline

Definition at line 154 of file array_allocator.hpp.

◆ deallocate()

template<class A , class T , class R >
void boost::detail::as_allocator< A, T, R >::deallocate ( pointer  memory,
size_type  count 
)
inline

Definition at line 143 of file array_allocator.hpp.

◆ operator()()

template<class A , class T , class R >
void boost::detail::as_allocator< A, T, R >::operator() ( )
inline

Definition at line 166 of file array_allocator.hpp.

◆ release() [1/2]

template<class A , class T , class R >
void boost::detail::as_allocator< A, T, R >::release ( ms_init_tag  )
inlineprivate

Definition at line 174 of file array_allocator.hpp.

◆ release() [2/2]

template<class A , class T , class R >
void boost::detail::as_allocator< A, T, R >::release ( ms_noinit_tag  )
inlineprivate

Definition at line 182 of file array_allocator.hpp.

◆ set()

template<class A , class T , class R >
void boost::detail::as_allocator< A, T, R >::set ( type memory)
inline

Definition at line 162 of file array_allocator.hpp.

Friends And Related Function Documentation

◆ as_allocator

template<class A , class T , class R >
template<class A_ , class T_ , class R_ >
friend class as_allocator
friend

Definition at line 65 of file array_allocator.hpp.

Member Data Documentation

◆ data

template<class A , class T , class R >
ms_allocator_state<T> boost::detail::as_allocator< A, T, R >::data
private

Definition at line 186 of file array_allocator.hpp.


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


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:56:23