Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::interprocess::iset_index< MapConfig > Singleton Reference

Index type based in boost::intrusive::set. More...

#include <interprocess_fwd.hpp>

Inheritance diagram for boost::interprocess::iset_index< MapConfig >:
Collaboration diagram for boost::interprocess::iset_index< MapConfig >:

Public Types

typedef index_type::iterator iterator
 
typedef index_type::const_iterator const_iterator
 
typedef
index_type::insert_commit_data 
insert_commit_data
 
typedef index_type::value_type value_type
 

Public Member Functions

 iset_index (typename MapConfig::segment_manager_base *)
 Constructor. More...
 
void reserve (typename MapConfig::segment_manager_base::size_type)
 This reserves memory to optimize the insertion of n elements in the index. More...
 
void shrink_to_fit ()
 This frees all unnecessary memory. More...
 
iterator find (const intrusive_compare_key_type &key)
 
const_iterator find (const intrusive_compare_key_type &key) const
 
std::pair< iterator, bool > insert_check (const intrusive_compare_key_type &key, insert_commit_data &commit_data)
 

Detailed Description

template<class MapConfig>
singleton boost::interprocess::iset_index< MapConfig >

Index type based in boost::intrusive::set.

Just derives from boost::intrusive::set and defines the interface needed by managed memory segments

Member Typedef Documentation

template<class MapConfig >
typedef index_type::const_iterator boost::interprocess::iset_index< MapConfig >::const_iterator
template<class MapConfig >
typedef index_type::insert_commit_data boost::interprocess::iset_index< MapConfig >::insert_commit_data
template<class MapConfig >
typedef index_type::iterator boost::interprocess::iset_index< MapConfig >::iterator
template<class MapConfig >
typedef index_type::value_type boost::interprocess::iset_index< MapConfig >::value_type

Constructor & Destructor Documentation

template<class MapConfig >
boost::interprocess::iset_index< MapConfig >::iset_index ( typename MapConfig::segment_manager_base *  )
inline

Constructor.

Takes a pointer to the segment manager. Can throw

Member Function Documentation

template<class MapConfig >
iterator boost::interprocess::iset_index< MapConfig >::find ( const intrusive_compare_key_type &  key)
inline
template<class MapConfig >
const_iterator boost::interprocess::iset_index< MapConfig >::find ( const intrusive_compare_key_type &  key) const
inline
template<class MapConfig >
std::pair<iterator, bool> boost::interprocess::iset_index< MapConfig >::insert_check ( const intrusive_compare_key_type &  key,
insert_commit_data commit_data 
)
inline
template<class MapConfig >
void boost::interprocess::iset_index< MapConfig >::reserve ( typename MapConfig::segment_manager_base::size_type  )
inline

This reserves memory to optimize the insertion of n elements in the index.

template<class MapConfig >
void boost::interprocess::iset_index< MapConfig >::shrink_to_fit ( )
inline

This frees all unnecessary memory.


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