libpsynth 0.2.1
Public Member Functions
psynth::base::map_key_iterator< Key, Data > Class Template Reference

This class acts as wrapper to a map::iterator. More...

#include <iterator.hpp>

Inheritance diagram for psynth::base::map_key_iterator< Key, Data >:
Inheritance graph
[legend]
Collaboration diagram for psynth::base::map_key_iterator< Key, Data >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 map_key_iterator ()
template<class T >
 map_key_iterator (const T &val)
const Key & operator* () const
 Const indirection operator, returns a constant reference to the referred value.
const Key * operator-> () const
 Indirection operator, returns a pointer to the referred value const value.

Detailed Description

template<typename Key, typename Data>
class psynth::base::map_key_iterator< Key, Data >

This class acts as wrapper to a map::iterator.

It just changes the opearator* behaviour, allowing dereferencing only the key value.


Constructor & Destructor Documentation

template<typename Key , typename Data >
psynth::base::map_key_iterator< Key, Data >::map_key_iterator ( ) [inline]
template<typename Key , typename Data >
template<class T >
psynth::base::map_key_iterator< Key, Data >::map_key_iterator ( const T &  val) [inline]

Member Function Documentation

template<typename Key , typename Data >
const Key& psynth::base::map_key_iterator< Key, Data >::operator* ( ) const [inline]

Const indirection operator, returns a constant reference to the referred value.

template<typename Key , typename Data >
const Key* psynth::base::map_key_iterator< Key, Data >::operator-> ( ) const [inline]

Indirection operator, returns a pointer to the referred value const value.


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