Rosetta 3.4
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions
boost::unordered_object_pool< T, UserAllocator > Class Template Reference

#include <unordered_object_pool.hpp>

Inheritance diagram for boost::unordered_object_pool< T, UserAllocator >:
Inheritance graph
[legend]
Collaboration diagram for boost::unordered_object_pool< T, UserAllocator >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef T element_type
typedef UserAllocator user_allocator
typedef pool< UserAllocator >
::size_type 
size_type
typedef pool< UserAllocator >
::difference_type 
difference_type

Public Member Functions

 unordered_object_pool (const size_type next_size=32)
 ~unordered_object_pool ()
element_typemalloc ()
void free (element_type *const chunk)
bool is_from (element_type *const chunk) const
element_typeconstruct ()
void destroy (element_type *const chunk)
size_type get_next_size () const
void set_next_size (const size_type x)

Protected Member Functions

pool< UserAllocator > & store ()
const pool< UserAllocator > & store () const

Static Protected Member Functions

static void *& nextof (void *const ptr)

template<typename T, typename UserAllocator>
class boost::unordered_object_pool< T, UserAllocator >


Member Typedef Documentation

template<typename T, typename UserAllocator>
typedef pool<UserAllocator>::difference_type boost::unordered_object_pool< T, UserAllocator >::difference_type
template<typename T, typename UserAllocator>
typedef T boost::unordered_object_pool< T, UserAllocator >::element_type
template<typename T, typename UserAllocator>
typedef pool<UserAllocator>::size_type boost::unordered_object_pool< T, UserAllocator >::size_type
template<typename T, typename UserAllocator>
typedef UserAllocator boost::unordered_object_pool< T, UserAllocator >::user_allocator

Constructor & Destructor Documentation

template<typename T, typename UserAllocator>
boost::unordered_object_pool< T, UserAllocator >::unordered_object_pool ( const size_type  next_size = 32) [inline, explicit]
template<typename T , typename UserAllocator >
boost::unordered_object_pool< T, UserAllocator >::~unordered_object_pool ( )

Member Function Documentation

template<typename T, typename UserAllocator>
element_type* boost::unordered_object_pool< T, UserAllocator >::construct ( ) [inline]
template<typename T, typename UserAllocator>
void boost::unordered_object_pool< T, UserAllocator >::destroy ( element_type *const  chunk) [inline]
template<typename T, typename UserAllocator>
void boost::unordered_object_pool< T, UserAllocator >::free ( element_type *const  chunk) [inline]
template<typename T, typename UserAllocator>
size_type boost::unordered_object_pool< T, UserAllocator >::get_next_size ( ) const [inline]
template<typename T, typename UserAllocator>
bool boost::unordered_object_pool< T, UserAllocator >::is_from ( element_type *const  chunk) const [inline]
template<typename T, typename UserAllocator>
element_type* boost::unordered_object_pool< T, UserAllocator >::malloc ( ) [inline]
template<typename T, typename UserAllocator>
static void* & boost::unordered_object_pool< T, UserAllocator >::nextof ( void *const  ptr) [inline, static, protected]
template<typename T, typename UserAllocator>
void boost::unordered_object_pool< T, UserAllocator >::set_next_size ( const size_type  x) [inline]
template<typename T, typename UserAllocator>
const pool<UserAllocator>& boost::unordered_object_pool< T, UserAllocator >::store ( ) const [inline, protected]
template<typename T, typename UserAllocator>
pool<UserAllocator>& boost::unordered_object_pool< T, UserAllocator >::store ( ) [inline, protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines