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

#include <mln/value/viter.hh>

Public Member Functions

 fwd_viter_ ()
 fwd_viter_ (const Value_Set< S > &s)
void change_target (const S &s)
unsigned index_ () const
void invalidate ()
bool is_valid () const
void next ()
void next_ ()
 operator typename S::value () const
void start ()

Public Types

typedef Object< void > category
typedef fwd_viter_< S > exact_t
typedef S::value value

Detailed Description

template<typename S>
struct mln::value::fwd_viter_< S >

Definition at line 55 of file viter.hh.

Constructor & Destructor Documentation

template<typename S >
mln::value::fwd_viter_< S >::fwd_viter_ ( )

Constructor without argument.

template<typename S >
mln::value::fwd_viter_< S >::fwd_viter_ ( const Value_Set< S > &  s)

Constructor.

Member Function Documentation

template<typename S >
void mln::value::fwd_viter_< S >::change_target ( const S &  s)
template<typename S >
unsigned mln::value::fwd_viter_< S >::index_ ( ) const

Give the current index.

template<typename S >
void mln::value::fwd_viter_< S >::invalidate ( )

Invalidate the iterator.

template<typename S >
bool mln::value::fwd_viter_< S >::is_valid ( ) const

Test if the iterator is valid.

void mln::Iterator< fwd_viter_< S > >::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.
template<typename S >
void mln::value::fwd_viter_< S >::next_ ( )

Go to the next value.

template<typename S >
mln::value::fwd_viter_< S >::operator typename S::value ( ) const

Conversion into a value.

template<typename S >
void mln::value::fwd_viter_< S >::start ( )

Start an iteration.

Member Typedef Documentation

typedef Object<void> mln::Object< fwd_viter_< S > >::category
inherited

Definition at line 106 of file object.hh.

typedef fwd_viter_< S > mln::Object< fwd_viter_< S > >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename S >
typedef S ::value mln::value::fwd_viter_< S >::value

Value associated type.

Definition at line 58 of file viter.hh.