Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

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>

List of all members.

Classes

struct  rebind
union  Store

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 Mon Jun 7 17:49:08 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208