Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Classes | Public Types | Public Member Functions | List of all members
qpid::InlineAllocator< BaseAllocator, Max > Class Template Reference

An allocator that has inline storage for up to Max objects of type BaseAllocator::value_type. More...

#include <qpid/InlineAllocator.h>

Classes

struct  rebind
 

Public Types

typedef BaseAllocator::pointer pointer
 
typedef BaseAllocator::size_type size_type
 
typedef BaseAllocator::value_type value_type
 

Public Member Functions

 InlineAllocator ()
 
 InlineAllocator (const InlineAllocator &x)
 
pointer allocate (size_type n)
 
void deallocate (pointer p, size_type n)
 

Detailed Description

template<class BaseAllocator, size_t Max>
class qpid::InlineAllocator< BaseAllocator, Max >

An allocator that has inline storage for up to Max objects of type BaseAllocator::value_type.

Definition at line 41 of file InlineAllocator.h.

Member Typedef Documentation

template<class BaseAllocator , size_t Max>
typedef BaseAllocator::pointer qpid::InlineAllocator< BaseAllocator, Max >::pointer

Definition at line 43 of file InlineAllocator.h.

template<class BaseAllocator , size_t Max>
typedef BaseAllocator::size_type qpid::InlineAllocator< BaseAllocator, Max >::size_type

Definition at line 44 of file InlineAllocator.h.

template<class BaseAllocator , size_t Max>
typedef BaseAllocator::value_type qpid::InlineAllocator< BaseAllocator, Max >::value_type

Definition at line 45 of file InlineAllocator.h.

Constructor & Destructor Documentation

template<class BaseAllocator , size_t Max>
qpid::InlineAllocator< BaseAllocator, Max >::InlineAllocator ( )
inline

Definition at line 47 of file InlineAllocator.h.

template<class BaseAllocator , size_t Max>
qpid::InlineAllocator< BaseAllocator, Max >::InlineAllocator ( const InlineAllocator< BaseAllocator, Max > &  x)
inline

Definition at line 48 of file InlineAllocator.h.

Member Function Documentation

template<class BaseAllocator , size_t Max>
pointer qpid::InlineAllocator< BaseAllocator, Max >::allocate ( size_type  n)
inline

Definition at line 50 of file InlineAllocator.h.

template<class BaseAllocator , size_t Max>
void qpid::InlineAllocator< BaseAllocator, Max >::deallocate ( pointer  p,
size_type  n 
)
inline

Definition at line 59 of file InlineAllocator.h.


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

Qpid C++ API Reference
Generated on Wed Feb 5 2014 for Qpid C++ Client API by doxygen 1.8.5