Classes | Public Types | Public Member Functions | Public Attributes | List of all members
test_roscpp::Allocator< T > Class Template Reference

#include <helpers.h>

Classes

struct  rebind
 

Public Types

typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef T & reference
 
typedef size_t size_type
 
typedef T value_type
 

Public Member Functions

const_pointer address (const_reference r) const
 
pointer address (reference r) const
 
pointer allocate (size_type n, Allocator< void >::const_pointer hint=0)
 
 Allocator () throw ()
 
template<class U >
 Allocator (const Allocator< U > &u) throw ()
 
void construct (pointer p, const_reference val)
 
void deallocate (pointer p, size_type n)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
 ~Allocator () throw ()
 

Public Attributes

const typedef T * const_pointer
 
const typedef T & const_reference
 

Detailed Description

template<class T>
class test_roscpp::Allocator< T >

Definition at line 55 of file helpers.h.

Member Typedef Documentation

◆ difference_type

template<class T >
typedef ptrdiff_t test_roscpp::Allocator< T >::difference_type

Definition at line 79 of file helpers.h.

◆ pointer

template<class T >
typedef T* test_roscpp::Allocator< T >::pointer

Definition at line 80 of file helpers.h.

◆ reference

template<class T >
typedef T& test_roscpp::Allocator< T >::reference

Definition at line 82 of file helpers.h.

◆ size_type

template<class T >
typedef size_t test_roscpp::Allocator< T >::size_type

Definition at line 78 of file helpers.h.

◆ value_type

template<class T >
typedef T test_roscpp::Allocator< T >::value_type

Definition at line 84 of file helpers.h.

Constructor & Destructor Documentation

◆ Allocator() [1/2]

template<class T >
test_roscpp::Allocator< T >::Allocator ( )
throw (
)
inline

Definition at line 92 of file helpers.h.

◆ Allocator() [2/2]

template<class T >
template<class U >
test_roscpp::Allocator< T >::Allocator ( const Allocator< U > &  u)
throw (
)
inline

Definition at line 96 of file helpers.h.

◆ ~Allocator()

template<class T >
test_roscpp::Allocator< T >::~Allocator ( )
throw (
)
inline

Definition at line 101 of file helpers.h.

Member Function Documentation

◆ address() [1/2]

template<class T >
const_pointer test_roscpp::Allocator< T >::address ( const_reference  r) const
inline

Definition at line 109 of file helpers.h.

◆ address() [2/2]

template<class T >
pointer test_roscpp::Allocator< T >::address ( reference  r) const
inline

Definition at line 105 of file helpers.h.

◆ allocate()

template<class T >
pointer test_roscpp::Allocator< T >::allocate ( size_type  n,
Allocator< void >::const_pointer  hint = 0 
)
inline

Definition at line 117 of file helpers.h.

◆ construct()

template<class T >
void test_roscpp::Allocator< T >::construct ( pointer  p,
const_reference  val 
)
inline

Definition at line 128 of file helpers.h.

◆ deallocate()

template<class T >
void test_roscpp::Allocator< T >::deallocate ( pointer  p,
size_type  n 
)
inline

Definition at line 122 of file helpers.h.

◆ destroy()

template<class T >
void test_roscpp::Allocator< T >::destroy ( pointer  p)
inline

Definition at line 132 of file helpers.h.

◆ max_size()

template<class T >
size_type test_roscpp::Allocator< T >::max_size ( ) const
throw (
)
inline

Definition at line 113 of file helpers.h.

Member Data Documentation

◆ const_pointer

template<class T >
const typedef T* test_roscpp::Allocator< T >::const_pointer

Definition at line 81 of file helpers.h.

◆ const_reference

template<class T >
const typedef T& test_roscpp::Allocator< T >::const_reference

Definition at line 83 of file helpers.h.


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


test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:57