#include <set.hh>

Public Types | |
| typedef Proxy< void > | category |
| typedef set_fwd_iter< T > | exact_t |
Public Member Functions | |
| void | change_target (const set< T > &s) |
Change the set it iterates on to s. | |
| const T & | element () const |
| Give the element the iterator designates. | |
| unsigned | index_ () const |
| Give the current index. | |
| void | invalidate () |
| Invalidate the iterator. | |
| bool | is_valid () const |
| Returns true if the iterator is valid. | |
| void | next () |
| Go to the next element. | |
| set_fwd_iter (const set< T > &s) | |
Constructor from a set s. | |
| set_fwd_iter () | |
| Constructor without argument. | |
| void | start () |
| Start an iteration. | |
| const T & | subj_ () |
Protected Attributes | |
| unsigned | i_ |
| const set< T > * | s_ |
typedef Proxy<void> mln::Proxy< set_fwd_iter< T > >::category [inherited] |
Reimplemented from mln::Object< set_fwd_iter< T > >.
typedef set_fwd_iter< T > mln::Object< set_fwd_iter< T > >::exact_t [inherited] |
| mln::util::set_fwd_iter< T >::set_fwd_iter | ( | ) | [inline] |
Constructor without argument.
References mln::util::set_fwd_iter< T >::s_.
| mln::util::set_fwd_iter< T >::set_fwd_iter | ( | const set< T > & | s | ) | [inline] |
Constructor from a set s.
References mln::util::set_fwd_iter< T >::change_target().
| void mln::util::set_fwd_iter< T >::change_target | ( | const set< T > & | s | ) | [inline] |
Change the set it iterates on to s.
References mln::util::set_fwd_iter< T >::invalidate(), and mln::util::set_fwd_iter< T >::s_.
Referenced by mln::util::set_fwd_iter< T >::set_fwd_iter().
| const T & mln::util::set_fwd_iter< T >::element | ( | ) | const [inline] |
Give the element the iterator designates.
References mln::util::set_fwd_iter< T >::i_, mln::util::set_fwd_iter< T >::is_valid(), and mln::util::set_fwd_iter< T >::s_.
| unsigned mln::util::set_fwd_iter< T >::index_ | ( | ) | const [inline] |
Give the current index.
References mln::util::set_fwd_iter< T >::i_.
| void mln::util::set_fwd_iter< T >::invalidate | ( | ) | [inline] |
Invalidate the iterator.
References mln::util::set_fwd_iter< T >::i_, mln::util::set_fwd_iter< T >::is_valid(), and mln::util::set_fwd_iter< T >::s_.
Referenced by mln::util::set_fwd_iter< T >::change_target().
| bool mln::util::set_fwd_iter< T >::is_valid | ( | ) | const [inline] |
Returns true if the iterator is valid.
References mln::util::set_fwd_iter< T >::i_, and mln::util::set_fwd_iter< T >::s_.
Referenced by mln::util::set_fwd_iter< T >::element(), mln::util::set_fwd_iter< T >::invalidate(), mln::util::set_fwd_iter< T >::next(), and mln::util::set_fwd_iter< T >::subj_().
| void mln::util::set_fwd_iter< T >::next | ( | ) | [inline] |
Go to the next element.
References mln::util::set_fwd_iter< T >::i_, and mln::util::set_fwd_iter< T >::is_valid().
| void mln::util::set_fwd_iter< T >::start | ( | ) | [inline] |
Start an iteration.
References mln::util::set_fwd_iter< T >::i_, and mln::util::set_fwd_iter< T >::s_.
| const T & mln::util::set_fwd_iter< T >::subj_ | ( | ) | [inline] |
unsigned mln::util::set_fwd_iter< T >::i_ [protected] |
Referenced by mln::util::set_fwd_iter< T >::element(), mln::util::set_fwd_iter< T >::index_(), mln::util::set_fwd_iter< T >::invalidate(), mln::util::set_fwd_iter< T >::is_valid(), mln::util::set_fwd_iter< T >::next(), mln::util::set_fwd_iter< T >::start(), and mln::util::set_fwd_iter< T >::subj_().
const set<T>* mln::util::set_fwd_iter< T >::s_ [protected] |
Referenced by mln::util::set_fwd_iter< T >::change_target(), mln::util::set_fwd_iter< T >::element(), mln::util::set_fwd_iter< T >::invalidate(), mln::util::set_fwd_iter< T >::is_valid(), mln::util::set_fwd_iter< T >::set_fwd_iter(), mln::util::set_fwd_iter< T >::start(), and mln::util::set_fwd_iter< T >::subj_().
1.7.1