$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::util::array_bkd_iter< T > Class Template Reference

#include <mln/util/array.hh>

Public Member Functions

void change_target (const array< T > &a)
T element () const
unsigned index_ () const
void invalidate ()
bool is_valid () const
void next ()
void start ()
subj_t subj_ ()
Constructors.
 array_bkd_iter ()
 array_bkd_iter (const array< T > &a)

Protected Attributes

const array< T > * a_
unsigned i_

Public Types

typedef Proxy< void > category
typedef array_bkd_iter< Texact_t
typedef array< T >::ro_result subj_t

Detailed Description

template<typename T>
class mln::util::array_bkd_iter< T >

Definition at line 297 of file util/array.hh.

Constructor & Destructor Documentation

template<typename T >
mln::util::array_bkd_iter< T >::array_bkd_iter ( )

Constructor without argument.

template<typename T >
mln::util::array_bkd_iter< T >::array_bkd_iter ( const array< T > &  a)

Constructor from an array a.

Member Function Documentation

template<typename T >
void mln::util::array_bkd_iter< T >::change_target ( const array< T > &  a)

Change the array it iterates on to a.

template<typename T >
T mln::util::array_bkd_iter< T >::element ( ) const

Give the element the iterator designates.

template<typename T >
unsigned mln::util::array_bkd_iter< T >::index_ ( ) const

Give the current index.

template<typename T >
void mln::util::array_bkd_iter< T >::invalidate ( )

Invalidate the iterator.

template<typename T >
bool mln::util::array_bkd_iter< T >::is_valid ( ) const

Returns true if the iterator is valid.

template<typename T >
void mln::util::array_bkd_iter< T >::next ( )

Go to the next element.

template<typename T >
void mln::util::array_bkd_iter< T >::start ( )

Start an iteration.

template<typename T >
subj_t mln::util::array_bkd_iter< T >::subj_ ( )

Member Data Documentation

template<typename T >
const array<T>* mln::util::array_bkd_iter< T >::a_
protected

Definition at line 341 of file util/array.hh.

template<typename T >
unsigned mln::util::array_bkd_iter< T >::i_
protected

Definition at line 340 of file util/array.hh.

Member Typedef Documentation

typedef Proxy<void> mln::Proxy< array_bkd_iter< T > >::category
inherited

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

typedef array_bkd_iter< T > mln::Object< array_bkd_iter< T > >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename T >
typedef array<T>::ro_result mln::util::array_bkd_iter< T >::subj_t

Definition at line 302 of file util/array.hh.