Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
stxxl::btree::iterator_map< BTreeType > Class Template Reference

#include <iterator_map.h>

Inheritance diagram for stxxl::btree::iterator_map< BTreeType >:
Inheritance graph
[legend]
Collaboration diagram for stxxl::btree::iterator_map< BTreeType >:
Collaboration graph
[legend]

List of all members.

Classes

struct  bid_comp
struct  Key
struct  KeyCmp

Public Types

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

Public Member Functions

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

Private Types

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

Private Member Functions

void change_btree_pointers (btree_type *b)

Private Attributes

multimap_type It2Addr_
btree_typebtree_

Detailed Description

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

Definition at line 28 of file iterator_map.h.


Member Typedef Documentation

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

Definition at line 32 of file iterator_map.h.

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

Definition at line 31 of file iterator_map.h.

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

Definition at line 33 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 81 of file iterator_map.h.

template<class BTreeType>
virtual stxxl::btree::iterator_map< BTreeType >::~iterator_map ( ) [inline, virtual]

Definition at line 137 of file iterator_map.h.


Member Function Documentation

template<class BTreeType>
void stxxl::btree::iterator_map< BTreeType >::change_btree_pointers ( btree_type b) [inline, private]

Definition at line 71 of file iterator_map.h.

Referenced by stxxl::btree::iterator_map< SelfType >::swap().

template<class BTreeType>
template<class OutputContainer >
void stxxl::btree::iterator_map< BTreeType >::find ( const bid_type bid,
unsigned  first_pos,
unsigned  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]

Definition at line 84 of file iterator_map.h.

template<class BTreeType>
void stxxl::btree::iterator_map< BTreeType >::swap ( iterator_map< BTreeType > &  obj) [inline]

Definition at line 144 of file iterator_map.h.

Referenced by std::swap().

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

Definition at line 90 of file iterator_map.h.


Member Data Documentation

template<class BTreeType>
btree_type* stxxl::btree::iterator_map< BTreeType >::btree_ [private]

Definition at line 63 of file iterator_map.h.

Referenced by stxxl::btree::iterator_map< SelfType >::swap().

template<class BTreeType>
multimap_type stxxl::btree::iterator_map< BTreeType >::It2Addr_ [private]

Definition at line 62 of file iterator_map.h.

Referenced by stxxl::btree::iterator_map< SelfType >::swap().


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