$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::Value_Iterator< E > Struct Template Reference

#include <mln/core/concept/value_iterator.hh>

Public Member Functions

void next ()

Protected Member Functions

 Value_Iterator ()

Public Types

typedef Object< void > category
typedef E exact_t

Related Functions

(Note that these are not member functions.)

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

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.

Definition at line 51 of file value_iterator.hh.

Constructor & Destructor Documentation

template<typename E>
mln::Value_Iterator< E >::Value_Iterator ( )
protected

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.

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]ostrAn output stream.
[in]vAn iterator on value set.
Precondition
v is a valid.
Returns
The modified output stream ostr.

Member Typedef Documentation

template<typename E>
typedef Object<void> mln::Object< E >::category
inherited

Definition at line 106 of file object.hh.

template<typename E>
typedef E mln::Object< E >::exact_t
inherited

Definition at line 105 of file object.hh.