Public Member Functions | Related Functions

mln::Value_Iterator< E > Struct Template Reference

Base class for implementation of classes of iterator on values. More...

#include <value_iterator.hh>

Inheritance diagram for mln::Value_Iterator< E >:
Inheritance graph

List of all members.

Public Member Functions

void next ()
 Go to the next element.

Related Functions

(Note that these are not member functions.)



template<typename E >
std::ostream & operator<< (std::ostream &ostr, const Value_Iterator< E > &v)
 Print an iterator v on value set into the output stream ostr.

Detailed Description

template<typename E>
struct mln::Value_Iterator< E >

Base class for implementation of classes of iterator on values.

An iterator on values is an iterator that browse over a set of values.

See also:
mln::doc::Value_Iterator for a complete documentation of this class contents.

Definition at line 50 of file value_iterator.hh.


Member Function Documentation

template<typename E >
void mln::Iterator< E >::next (  )  [inherited]

Go to the next element.

Warning:
This is a final method; iterator classes should not re-defined this method. The actual "next" operation has to be defined through the next_ method.
Precondition:
The iterator is valid.

Definition at line 102 of file iterator.hh.


Friends And Related Function Documentation

template<typename E >
std::ostream & operator<< ( std::ostream &  ostr,
const Value_Iterator< E > &  v 
) [related]

Print an iterator v on value set into the output stream ostr.

Parameters:
[in,out] ostr An output stream.
[in] v An iterator on value set.
Precondition:
v is a valid.
Returns:
The modified output stream ostr.

Definition at line 92 of file value_iterator.hh.