mln::Value_Iterator< E > Struct Template Reference
Base class for implementation of classes of iterator on values.
More...
#include <value_iterator.hh>
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.
Member Function Documentation
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.
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
.