Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template iunordered_set_index

boost::interprocess::iunordered_set_index

Synopsis

// In header: <boost/interprocess/indexes/iunordered_set_index.hpp>

template<typename MapConfig> 
class iunordered_set_index : private , public  {
public:
  // types
  typedef            ;          
  typedef      ;    
  typedef  ;
  typedef          ;        
  typedef          ;        
  typedef         ;       
  typedef       ;     
  typedef           ;         
  typedef     ;   

  // construct/copy/destruct
  (segment_manager_base *);
  ~();

  // public member functions
   ();
   ();
   ();
   () ;
   
  (, );
   (, );
};

Description

Index type based in boost::intrusive::set. Just derives from boost::intrusive::set and defines the interface needed by managed memory segments

iunordered_set_index public construct/copy/destruct

  1. (segment_manager_base * mngr);

    Constructor. Takes a pointer to the segment manager. Can throw

  2. ~();

iunordered_set_index public member functions

  1.  ( new_n);

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

  2.  ();

    This tries to free unused memory previously allocated.

  3.  ( key);
  4.  ( key) ;
  5.  
    ( key, 
                  commit_data);
  6.  ( val,  commit_data);

PrevUpHomeNext