std::map
iterators.
More...
#include <Iguana/Utilities/classlib/utils/MapIterator.h>
Public Types | |
typedef M::const_iterator | base_iterator |
typedef M::difference_type | difference_type |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef const value_type * | pointer |
typedef const value_type & | reference |
typedef M::key_type | value_type |
Public Member Functions | |
MapKeyIterator (base_iterator i) | |
MapKeyIterator (void) | |
reference | operator * (void) const |
bool | operator!= (const MapKeyIterator &x) const |
MapKeyIterator | operator++ (int) |
MapKeyIterator & | operator++ (void) |
MapKeyIterator | operator-- (int) |
MapKeyIterator & | operator-- (void) |
pointer | operator-> (void) const |
bool | operator== (const MapKeyIterator &x) const |
Private Attributes | |
base_iterator | m_iterator |
std::map
iterators.
Definition at line 54 of file MapIterator.h.
typedef M::const_iterator lat::MapKeyIterator< M >::base_iterator |
Definition at line 60 of file MapIterator.h.
typedef M::difference_type lat::MapKeyIterator< M >::difference_type |
Definition at line 62 of file MapIterator.h.
typedef std::bidirectional_iterator_tag lat::MapKeyIterator< M >::iterator_category |
Definition at line 59 of file MapIterator.h.
typedef const value_type* lat::MapKeyIterator< M >::pointer |
Definition at line 64 of file MapIterator.h.
typedef const value_type& lat::MapKeyIterator< M >::reference |
Definition at line 63 of file MapIterator.h.
typedef M::key_type lat::MapKeyIterator< M >::value_type |
Definition at line 61 of file MapIterator.h.
lat::MapKeyIterator< M >::MapKeyIterator | ( | void | ) | [inline] |
Definition at line 135 of file MapIterator.h.
Referenced by lat::MapKeyIterator< M >::operator++(), and lat::MapKeyIterator< M >::operator--().
lat::MapKeyIterator< M >::MapKeyIterator | ( | base_iterator | i | ) | [inline] |
MapKeyIterator< M >::reference lat::MapKeyIterator< M >::operator * | ( | void | ) | const [inline] |
Definition at line 152 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator.
00153 { return m_iterator->first; }
bool lat::MapKeyIterator< M >::operator!= | ( | const MapKeyIterator< M > & | x | ) | const [inline] |
Definition at line 148 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator.
00149 { return m_iterator != x.m_iterator; }
MapKeyIterator< M > lat::MapKeyIterator< M >::operator++ | ( | int | ) | [inline] |
Definition at line 164 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator, and lat::MapKeyIterator< M >::MapKeyIterator().
00165 { return MapKeyIterator (m_iterator++); }
MapKeyIterator< M > & lat::MapKeyIterator< M >::operator++ | ( | void | ) | [inline] |
Definition at line 160 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator.
00161 { ++m_iterator; return *this; }
MapKeyIterator< M > lat::MapKeyIterator< M >::operator-- | ( | int | ) | [inline] |
Definition at line 172 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator, and lat::MapKeyIterator< M >::MapKeyIterator().
00173 { return MapKeyIterator (m_iterator--); }
MapKeyIterator< M > & lat::MapKeyIterator< M >::operator-- | ( | void | ) | [inline] |
Definition at line 168 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator.
00169 { --m_iterator; return *this; }
MapKeyIterator< M >::pointer lat::MapKeyIterator< M >::operator-> | ( | void | ) | const [inline] |
Definition at line 156 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator.
00157 { return &m_iterator->first; }
bool lat::MapKeyIterator< M >::operator== | ( | const MapKeyIterator< M > & | x | ) | const [inline] |
Definition at line 144 of file MapIterator.h.
References lat::MapKeyIterator< M >::m_iterator.
00145 { return m_iterator == x.m_iterator; }
base_iterator lat::MapKeyIterator< M >::m_iterator [private] |
Definition at line 84 of file MapIterator.h.
Referenced by lat::MapKeyIterator< M >::operator *(), lat::MapKeyIterator< M >::operator!=(), lat::MapKeyIterator< M >::operator++(), lat::MapKeyIterator< M >::operator--(), lat::MapKeyIterator< M >::operator->(), and lat::MapKeyIterator< M >::operator==().