$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::internal::graph_iter_base< G, Elt, E > Class Template Reference

#include <mln/util/internal/graph_iter_base.hh>

Public Member Functions

const Elt & p_hook_ () const
const Elt & subj_ ()
bool is_valid () const
void invalidate ()
void start ()
void next ()
Elt::id_t id () const
 operator typename Elt::id_t () const
 operator typename Elt::id_value_t () const
 operator const Elt & () const

Protected Member Functions

 graph_iter_base (const G &g)

Protected Attributes

Elt p_

Public Types

typedef Proxy< void > category
typedef E exact_t

Detailed Description

template<typename G, typename Elt, typename E>
class mln::internal::graph_iter_base< G, Elt, E >

Definition at line 47 of file graph_iter_base.hh.

Constructor & Destructor Documentation

template<typename G, typename Elt, typename E>
mln::internal::graph_iter_base< G, Elt, E >::graph_iter_base ( const G &  g)
protected

Member Function Documentation

template<typename G, typename Elt, typename E>
Elt::id_t mln::internal::graph_iter_base< G, Elt, E >::id ( ) const

Return the element id.

template<typename G, typename Elt, typename E>
void mln::internal::graph_iter_base< G, Elt, E >::invalidate ( )

Invalidate the iterator.

template<typename G, typename Elt, typename E>
bool mln::internal::graph_iter_base< G, Elt, E >::is_valid ( ) const

Iterator interfaceTest if the iterator is valid.

template<typename G, typename Elt, typename E>
void mln::internal::graph_iter_base< G, Elt, E >::next ( )

Go to the next value.

template<typename G, typename Elt, typename E>
mln::internal::graph_iter_base< G, Elt, E >::operator const Elt & ( ) const

Conversion operator. Returns the graph element.

template<typename G, typename Elt, typename E>
mln::internal::graph_iter_base< G, Elt, E >::operator typename Elt::id_t ( ) const

Conversion operator. Returns the element id.

template<typename G, typename Elt, typename E>
mln::internal::graph_iter_base< G, Elt, E >::operator typename Elt::id_value_t ( ) const

Conversion operator.

Returns the element id. FIXME: May cause ambiguities.

template<typename G, typename Elt, typename E>
const Elt& mln::internal::graph_iter_base< G, Elt, E >::p_hook_ ( ) const

Return the element pointed by this iterator.

template<typename G, typename Elt, typename E>
void mln::internal::graph_iter_base< G, Elt, E >::start ( )

Start an iteration.

template<typename G, typename Elt, typename E>
const Elt& mln::internal::graph_iter_base< G, Elt, E >::subj_ ( )

Proxy subject.

Member Data Documentation

template<typename G, typename Elt, typename E>
Elt mln::internal::graph_iter_base< G, Elt, E >::p_
protected

Definition at line 88 of file graph_iter_base.hh.

Member Typedef Documentation

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

Definition at line 229 of file core/concept/proxy.hh.

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

Definition at line 105 of file object.hh.