winss
Public Member Functions | List of all members
winss::MapValueIterator< Key, Value > Class Template Reference

An iterator for values of a map. More...

#include <map_value_iterator.hpp>

Inheritance diagram for winss::MapValueIterator< Key, Value >:
Inheritance graph
[legend]
Collaboration diagram for winss::MapValueIterator< Key, Value >:
Collaboration graph
[legend]

Public Member Functions

 MapValueIterator ()
 Construct a new map value iterator. More...
 
 MapValueIterator (MapIterator< Key, Value > it)
 Construct a map value iterator using a base iterator. More...
 
Value * operator-> ()
 Get a pointer to the current value. More...
 
Value operator* ()
 Get the dereferenced current value. More...
 

Detailed Description

template<typename Key, typename Value>
class winss::MapValueIterator< Key, Value >

An iterator for values of a map.

Template Parameters
KeyThe type of map key.
ValueThe type of map value.

Constructor & Destructor Documentation

template<typename Key , typename Value >
winss::MapValueIterator< Key, Value >::MapValueIterator ( )
inline

Construct a new map value iterator.

template<typename Key , typename Value >
winss::MapValueIterator< Key, Value >::MapValueIterator ( MapIterator< Key, Value >  it)
inlineexplicit

Construct a map value iterator using a base iterator.

Parameters
itThe map iterator.

Member Function Documentation

template<typename Key , typename Value >
Value winss::MapValueIterator< Key, Value >::operator* ( )
inline

Get the dereferenced current value.

Returns
The value.
template<typename Key , typename Value >
Value* winss::MapValueIterator< Key, Value >::operator-> ( )
inline

Get a pointer to the current value.

Returns
A pointer to the value.

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