mln::Site_Iterator< E > Struct Template Reference

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

#include <site_iterator.hh>

Inheritance diagram for mln::Site_Iterator< E >:

Inheritance graph

List of all members.

Public Types

typedef Site_Proxy< void > category
typedef E exact_t

Public Member Functions

void invalidate ()
bool is_valid () const
void next ()
 Go to the next element.
void start ()

Protected Member Functions

 Site_Iterator ()


Detailed Description

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

Base class for implementation of classes of iterator on points.

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

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

Definition at line 53 of file site_iterator.hh.


Member Typedef Documentation

template<typename E>
typedef Site_Proxy<void> mln::Site_Proxy< E >::category [inherited]

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

Definition at line 172 of file object.hh.


Constructor & Destructor Documentation

template<typename E>
mln::Site_Iterator< E >::Site_Iterator (  )  [inline, protected]

Definition at line 131 of file site_iterator.hh.


Member Function Documentation

template<typename E>
void mln::Site_Iterator< E >::invalidate (  )  [inline]

template<typename E>
bool mln::Site_Iterator< E >::is_valid (  )  const [inline]

template<typename E>
void mln::Site_Iterator< E >::next (  )  [inline]

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 92 of file site_iterator.hh.

References mln::exact(), and mln::Site_Iterator< E >::is_valid().

Referenced by mln::morpho::tree::depth1st_piter< T >::start_().

template<typename E>
void mln::Site_Iterator< E >::start (  )  [inline]

Reimplemented in mln::hexa_fwd_piter_< S >.

Definition at line 123 of file site_iterator.hh.

References mln::exact().


Generated on Sun Apr 25 01:56:58 2010 for Milena (Olena) by  doxygen 1.5.6