STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::btree::iterator_map< BTreeType > Class Template Reference

Detailed Description

template<class BTreeType>
class stxxl::btree::iterator_map< BTreeType >

Definition at line 26 of file iterator.h.

+ Inheritance diagram for stxxl::btree::iterator_map< BTreeType >:
+ Collaboration diagram for stxxl::btree::iterator_map< BTreeType >:

Classes

struct  bid_comp
 
struct  Key
 
struct  KeyCmp
 

Public Types

typedef btree_type::leaf_bid_type bid_type
 
typedef BTreeType btree_type
 
typedef btree_iterator_base
< btree_type
iterator_base
 

Public Member Functions

 iterator_map (btree_type *b)
 
virtual ~iterator_map ()
 
template<class OutputContainer >
void find (const bid_type &bid, unsigned_type first_pos, unsigned_type last_pos, OutputContainer &out)
 
void register_iterator (iterator_base &it)
 
void swap (iterator_map &obj)
 
void unregister_iterator (iterator_base &it)
 

Private Types

typedef
multimap_type::const_iterator 
mmconst_iterator_type
 
typedef multimap_type::iterator mmiterator_type
 
typedef std::multimap< Key,
iterator_base *, KeyCmp
multimap_type
 
typedef multimap_type::value_type pair_type
 

Private Member Functions

void change_btree_pointers (btree_type *b)
 changes btree pointer in all contained iterators More...
 
- Private Member Functions inherited from stxxl::noncopyable
 noncopyable ()
 

Private Attributes

btree_typem_btree
 
multimap_type m_it2addr
 

Member Typedef Documentation

template<class BTreeType>
typedef btree_type::leaf_bid_type stxxl::btree::iterator_map< BTreeType >::bid_type

Definition at line 31 of file iterator_map.h.

template<class BTreeType>
typedef BTreeType stxxl::btree::iterator_map< BTreeType >::btree_type

Definition at line 30 of file iterator_map.h.

template<class BTreeType>
typedef btree_iterator_base<btree_type> stxxl::btree::iterator_map< BTreeType >::iterator_base

Definition at line 32 of file iterator_map.h.

template<class BTreeType>
typedef multimap_type::const_iterator stxxl::btree::iterator_map< BTreeType >::mmconst_iterator_type
private

Definition at line 67 of file iterator_map.h.

template<class BTreeType>
typedef multimap_type::iterator stxxl::btree::iterator_map< BTreeType >::mmiterator_type
private

Definition at line 66 of file iterator_map.h.

template<class BTreeType>
typedef std::multimap<Key, iterator_base*, KeyCmp> stxxl::btree::iterator_map< BTreeType >::multimap_type
private

Definition at line 60 of file iterator_map.h.

template<class BTreeType>
typedef multimap_type::value_type stxxl::btree::iterator_map< BTreeType >::pair_type
private

Definition at line 65 of file iterator_map.h.

Constructor & Destructor Documentation

template<class BTreeType>
stxxl::btree::iterator_map< BTreeType >::iterator_map ( btree_type b)
inline

Definition at line 80 of file iterator_map.h.

template<class BTreeType>
virtual stxxl::btree::iterator_map< BTreeType >::~iterator_map ( )
inlinevirtual

Definition at line 136 of file iterator_map.h.

Member Function Documentation

template<class BTreeType>
void stxxl::btree::iterator_map< BTreeType >::change_btree_pointers ( btree_type b)
inlineprivate

changes btree pointer in all contained iterators

Definition at line 70 of file iterator_map.h.

template<class BTreeType>
template<class OutputContainer >
void stxxl::btree::iterator_map< BTreeType >::find ( const bid_type bid,
unsigned_type  first_pos,
unsigned_type  last_pos,
OutputContainer &  out 
)
inline

Definition at line 118 of file iterator_map.h.

template<class BTreeType>
void stxxl::btree::iterator_map< BTreeType >::register_iterator ( iterator_base it)
inline
template<class BTreeType>
void stxxl::btree::iterator_map< BTreeType >::swap ( iterator_map< BTreeType > &  obj)
inline

Definition at line 145 of file iterator_map.h.

template<class BTreeType>
void stxxl::btree::iterator_map< BTreeType >::unregister_iterator ( iterator_base it)
inline

Member Data Documentation

template<class BTreeType>
btree_type* stxxl::btree::iterator_map< BTreeType >::m_btree
private

Definition at line 63 of file iterator_map.h.

template<class BTreeType>
multimap_type stxxl::btree::iterator_map< BTreeType >::m_it2addr
private

Definition at line 62 of file iterator_map.h.


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