Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
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]

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 (size_type const the_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)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename T, typename UserAllocator = default_user_allocator_new_delete>
boost::unordered_object_pool< T, UserAllocator >::unordered_object_pool ( size_type const  the_next_size = 32)
inlineexplicit
template<typename T , typename UserAllocator >
boost::unordered_object_pool< T, UserAllocator >::~unordered_object_pool ( )

Member Function Documentation

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

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