Overview     Usage     Performance Notes     Links tst 0.68 - 23 Jan 2009

multimap_iterator Struct Template Reference

List of all members.

template<class TstIterT>
struct containers::smap_detail::multimap_iterator< TstIterT >


Public Types

typedef std::pair< const
key_type, mapped_type
value_type
typedef value_typereference

Public Member Functions

 multimap_iterator ()
 multimap_iterator (const multimap_iterator &it)
 multimap_iterator (const iterators::iterator_wrapper< tst_iterator_base, iterators::const_traits< typename TstIterT::base_iter::value_type > > &it)
 multimap_iterator (const tst_iterator &it)
 multimap_iterator (const tst_iterator_base &it)
reference dereference () const
void increment ()
void decrement ()
void swap (this_type &other)
bool equal (const this_type &other) const
tst_iteratoriter_base ()
const tst_iteratoriter_base () const
list_iteratorcurrent ()
const list_iteratorcurrent () const

Private Types

typedef TstIterT tst_iterator
typedef TstIterT::base_iter tst_iterator_base
typedef multimap_iterator
< TstIterT > 
this_type
typedef
TstIterT::base_iter::value_type::iterator 
list_iterator
typedef list_iterator::value_type internal_value_type
 std::list stores pair<non-const Key, Val>
typedef
internal_value_type::first_type 
key_type
typedef
internal_value_type::second_type 
mapped_type

Private Member Functions

void set_current (bool forward=true)
 Called after m_key_values is changed, to reinit m_current.

Private Attributes

tst_iterator m_iter
list_iterator m_current

Member Typedef Documentation

typedef TstIterT tst_iterator [private]

typedef TstIterT::base_iter tst_iterator_base [private]

typedef multimap_iterator<TstIterT> this_type [private]

typedef TstIterT::base_iter::value_type::iterator list_iterator [private]

typedef list_iterator::value_type internal_value_type [private]

std::list stores pair<non-const Key, Val>

typedef internal_value_type::first_type key_type [private]

typedef internal_value_type::second_type mapped_type [private]

typedef std::pair<const key_type, mapped_type> value_type


Constructor & Destructor Documentation

multimap_iterator (  )  [inline]

multimap_iterator ( const multimap_iterator< TstIterT > &  it  )  [inline]

multimap_iterator ( const iterators::iterator_wrapper< tst_iterator_base, iterators::const_traits< typename TstIterT::base_iter::value_type > > &  it  )  [inline]

multimap_iterator ( const tst_iterator it  )  [inline]

multimap_iterator ( const tst_iterator_base it  )  [inline]


Member Function Documentation

reference dereference (  )  const [inline]

void increment (  )  [inline]

void decrement (  )  [inline]

void swap ( this_type other  )  [inline]

bool equal ( const this_type other  )  const [inline]

tst_iterator& iter_base (  )  [inline]

const tst_iterator& iter_base (  )  const [inline]

list_iterator& current (  )  [inline]

const list_iterator& current (  )  const [inline]

void set_current ( bool  forward = true  )  [inline, private]

Called after m_key_values is changed, to reinit m_current.


Member Data Documentation

tst_iterator m_iter [private]


ternary_tree 0.68 -- by rasmus ekman -- Page generated with Doxygen 1.5.6 on 23 Jan 2009