#include <array.hh>
Public Types | |
typedef Proxy< void > | category |
typedef E | exact_t |
typedef array< T >::ro_result | subj_t |
Public Member Functions | |
void | change_target (const array< T > &a) |
Change the array it iterates on to a . | |
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. | |
void | start () |
Start an iteration. | |
subj_t | subj_ () |
array_bkd_iter (const array< T > &a) | |
Constructor from an array a . | |
array_bkd_iter () | |
Constructors | |
Protected Attributes | |
const array< T > * | a_ |
unsigned | i_ |
Definition at line 277 of file util/array.hh.
typedef Proxy<void> mln::Proxy< E >::category [inherited] |
Reimplemented from mln::Object< E >.
Reimplemented in mln::Accumulator< E >, mln::Pseudo_Site< E >, mln::Site_Proxy< E >, mln::Accumulator< mln::accu::maj_h< T > >, mln::Accumulator< mln::accu::stat::variance< T, S, R > >, mln::Accumulator< mln::accu::shape::bbox< Sc::site > >, mln::Accumulator< mln::accu::math::sum< T, S > >, mln::Accumulator< mln::accu::shape::bbox< S::site > >, mln::Accumulator< mln::accu::logic::lor >, mln::Accumulator< mln::accu::stat::min_h< V > >, mln::Accumulator< mln::accu::stat::median_alt< mln::value::set< T > > >, mln::Accumulator< mln::accu::stat::rank_high_quant< T > >, mln::Accumulator< mln::accu::pair< mln::accu::stat::min< V >, mln::accu::stat::max< V >, mln_argument(mln::accu::stat::min< V >) > >, mln::Accumulator< mln::accu::math::sup< T > >, mln::Accumulator< mln::accu::math::inf< T > >, mln::Accumulator< mln::accu::shape::bbox< P > >, mln::Accumulator< mln::accu::count_labels< L > >, mln::Accumulator< mln::accu::math::count< P > >, mln::Accumulator< mln::accu::center< P, V > >, mln::Accumulator< mln::accu::stat::mean< T, S, M > >, mln::Accumulator< mln::accu::convolve< T1, T2, R > >, mln::Accumulator< mln::accu::logic::lor_basic >, mln::Accumulator< mln::accu::count_adjacent_vertices< F, S > >, mln::Accumulator< mln::accu::shape::height< I > >, mln::Accumulator< mln::accu::stat::rank< T > >, mln::Accumulator< mln::accu::rms< T, V > >, mln::Accumulator< mln::accu::math::count< T > >, mln::Accumulator< mln::accu::count_value< V > >, mln::Accumulator< mln::accu::logic::land_basic >, mln::Accumulator< mln::morpho::attribute::count_adjacent_vertices< I > >, mln::Accumulator< mln::accu::stat::deviation< T, S, M > >, mln::Accumulator< mln::morpho::attribute::sharpness< I > >, mln::Accumulator< mln::accu::histo< V > >, mln::Accumulator< mln::accu::stat::max_h< V > >, mln::Accumulator< mln::accu::stat::max< T > >, mln::Accumulator< mln::accu::stat::min< T > >, mln::Accumulator< mln::accu::p< A > >, mln::Accumulator< mln::accu::shape::volume< I > >, mln::Accumulator< mln::accu::histo< S > >, mln::Accumulator< mln::accu::histo< mln::value::set< T > > >, mln::Accumulator< mln::accu::logic::land >, mln::Accumulator< mln::accu::max_site< I > >, mln::Accumulator< mln::accu::stat::rank< bool > >, mln::Accumulator< mln::accu::tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> >, mln::Accumulator< mln::accu::stat::max< V > >, mln::Accumulator< mln::accu::stat::min< V > >, mln::Accumulator< mln::accu::nil< T > >, mln::Accumulator< mln::accu::stat::var< T > >, mln::Accumulator< mln::accu::stat::median_h< V > >, mln::Accumulator< mln::morpho::attribute::height< I > >, mln::Accumulator< mln::morpho::attribute::sum< I, S > >, mln::Accumulator< mln::morpho::attribute::card< I > >, mln::Accumulator< mln::accu::histo< I::value > >, mln::Accumulator< mln::accu::stat::median_h< I::value > >, mln::Accumulator< mln::accu::site_set::rectangularity< P > >, mln::Accumulator< mln::accu::val< A > >, mln::Accumulator< mln::morpho::attribute::volume< I > >, mln::Accumulator< mln::accu::histo< T > >, mln::Accumulator< mln::accu::stat::median_alt< S > >, mln::Accumulator< mln::accu::label_used< L > >, mln::Accumulator< mln::accu::pair< A1, A2, T > >, mln::Pseudo_Site< mln::p_run_psite< P > >, mln::Pseudo_Site< mln::p_indexed_psite< S > >, mln::Pseudo_Site< mln::p_vertices_psite< G, F > >, mln::Pseudo_Site< mln::faces_psite< N, D, P > >, mln::Pseudo_Site< mln::complex_psite< D, G > >, mln::Pseudo_Site< mln::p_double_psite< S, Sp > >, mln::Pseudo_Site< mln::p_edges_psite< G, F > >, mln::Site_Proxy< mln::p_indexed_fwd_piter< S > >, mln::Site_Proxy< mln::p_graph_piter< S, I > >, mln::Site_Proxy< mln::win::multiple_size_qiter< n, W, F > >, mln::Site_Proxy< mln::p_run_bkd_piter_< P > >, mln::Site_Proxy< mln::p_run_psite< P > >, mln::Site_Proxy< mln::p_complex_fwd_piter_< D, G > >, mln::Site_Proxy< mln::p_transformed_piter< Pi, S, F > >, mln::Site_Proxy< mln::p_faces_bkd_piter_< N, D, P > >, mln::Site_Proxy< mln::win::multiple_qiter< W, F > >, mln::Site_Proxy< mln::p_indexed_psite< S > >, mln::Site_Proxy< mln::box_fwd_piter_< P > >, mln::Site_Proxy< mln::morpho::tree::dn_site_piter< T > >, mln::Site_Proxy< mln::p_complex_bkd_piter_< D, G > >, mln::Site_Proxy< mln::p_indexed_bkd_piter< S > >, mln::Site_Proxy< mln::morpho::tree::up_site_piter< T > >, mln::Site_Proxy< mln::p_n_faces_bkd_piter< D, P > >, mln::Site_Proxy< mln::graph_window_piter< S, W, I > >, mln::Site_Proxy< mln::box_bkd_piter_< P > >, mln::Site_Proxy< mln::dpsites_bkd_piter< V > >, mln::Site_Proxy< mln::morpho::tree::dn_node_piter< T > >, mln::Site_Proxy< mln::p_complex_faces_bkd_piter_< N, D, P > >, mln::Site_Proxy< mln::complex_window_fwd_piter< I, G, W > >, mln::Site_Proxy< mln::morpho::tree::up_node_piter< T > >, mln::Site_Proxy< mln::morpho::tree::up_leaf_piter< T > >, mln::Site_Proxy< mln::p_vertices_psite< G, F > >, mln::Site_Proxy< mln::box_runstart_piter< P > >, mln::Site_Proxy< mln::complex_window_bkd_piter< I, G, W > >, mln::Site_Proxy< mln::faces_psite< N, D, P > >, mln::Site_Proxy< mln::p_faces_fwd_piter_< N, D, P > >, mln::Site_Proxy< mln::morpho::tree::depth1st_piter< T > >, mln::Site_Proxy< mln::box_runend_piter< P > >, mln::Site_Proxy< mln::dpsites_fwd_piter< V > >, mln::Site_Proxy< mln::complex_neighborhood_bkd_piter< I, G, N > >, mln::Site_Proxy< mln::p_if_piter_< Pi, S, F > >, mln::Site_Proxy< mln::complex_psite< D, G > >, mln::Site_Proxy< mln::p_centered_piter< W > >, mln::Site_Proxy< mln::neighb_bkd_niter< W > >, mln::Site_Proxy< mln::p_double_psite< S, Sp > >, mln::Site_Proxy< mln::graph_window_if_piter< S, W, I > >, mln::Site_Proxy< mln::hexa_fwd_piter_< S > >, mln::Site_Proxy< mln::p_complex_faces_fwd_piter_< N, D, P > >, mln::Site_Proxy< mln::neighb_fwd_niter< W > >, mln::Site_Proxy< mln::p_n_faces_fwd_piter< D, P > >, mln::Site_Proxy< mln::morpho::tree::dn_leaf_piter< T > >, mln::Site_Proxy< mln::p_run_fwd_piter_< P > >, mln::Site_Proxy< mln::p_double_piter< S, I1, I2 > >, mln::Site_Proxy< mln::p_edges_psite< G, F > >, and mln::Site_Proxy< mln::complex_neighborhood_fwd_piter< I, G, N > >.
Definition at line 234 of file core/concept/proxy.hh.
typedef E mln::Object< E >::exact_t [inherited] |
typedef array<T>::ro_result mln::util::array_bkd_iter< T >::subj_t |
Definition at line 282 of file util/array.hh.
mln::util::array_bkd_iter< T >::array_bkd_iter | ( | ) | [inline] |
Constructors
Constructor without argument.
Definition at line 683 of file util/array.hh.
References mln::util::array_bkd_iter< T >::a_.
mln::util::array_bkd_iter< T >::array_bkd_iter | ( | const array< T > & | a | ) | [inline] |
Constructor from an array a
.
Definition at line 690 of file util/array.hh.
References mln::util::array_bkd_iter< T >::change_target().
void mln::util::array_bkd_iter< T >::change_target | ( | const array< T > & | a | ) | [inline] |
Change the array it iterates on to a
.
Definition at line 698 of file util/array.hh.
References mln::util::array_bkd_iter< T >::a_, and mln::util::array_bkd_iter< T >::invalidate().
Referenced by mln::util::array_bkd_iter< T >::array_bkd_iter().
T mln::util::array_bkd_iter< T >::element | ( | ) | const [inline] |
Give the element the iterator designates.
Definition at line 747 of file util/array.hh.
References mln::util::array_bkd_iter< T >::a_, mln::util::array_bkd_iter< T >::i_, and mln::util::array_bkd_iter< T >::is_valid().
unsigned mln::util::array_bkd_iter< T >::index_ | ( | ) | const [inline] |
Give the current index.
Definition at line 765 of file util/array.hh.
References mln::util::array_bkd_iter< T >::i_.
void mln::util::array_bkd_iter< T >::invalidate | ( | ) | [inline] |
Invalidate the iterator.
Definition at line 737 of file util/array.hh.
References mln::util::array_bkd_iter< T >::a_, mln::util::array_bkd_iter< T >::i_, and mln::util::array_bkd_iter< T >::is_valid().
Referenced by mln::util::array_bkd_iter< T >::change_target(), and mln::util::array_bkd_iter< T >::next().
bool mln::util::array_bkd_iter< T >::is_valid | ( | ) | const [inline] |
Returns true if the iterator is valid.
Definition at line 729 of file util/array.hh.
References mln::util::array_bkd_iter< T >::a_, and mln::util::array_bkd_iter< T >::i_.
Referenced by mln::util::array_bkd_iter< T >::element(), mln::util::array_bkd_iter< T >::invalidate(), mln::util::array_bkd_iter< T >::next(), and mln::util::array_bkd_iter< T >::subj_().
void mln::util::array_bkd_iter< T >::next | ( | ) | [inline] |
Go to the next element.
Definition at line 717 of file util/array.hh.
References mln::util::array_bkd_iter< T >::i_, mln::util::array_bkd_iter< T >::invalidate(), and mln::util::array_bkd_iter< T >::is_valid().
void mln::util::array_bkd_iter< T >::start | ( | ) | [inline] |
Start an iteration.
Definition at line 707 of file util/array.hh.
References mln::util::array_bkd_iter< T >::a_, and mln::util::array_bkd_iter< T >::i_.
array_bkd_iter< T >::subj_t mln::util::array_bkd_iter< T >::subj_ | ( | ) | [inline] |
Definition at line 756 of file util/array.hh.
References mln::util::array_bkd_iter< T >::a_, mln::util::array_bkd_iter< T >::i_, and mln::util::array_bkd_iter< T >::is_valid().
const array<T>* mln::util::array_bkd_iter< T >::a_ [protected] |
Definition at line 319 of file util/array.hh.
Referenced by mln::util::array_bkd_iter< T >::array_bkd_iter(), mln::util::array_bkd_iter< T >::change_target(), mln::util::array_bkd_iter< T >::element(), mln::util::array_bkd_iter< T >::invalidate(), mln::util::array_bkd_iter< T >::is_valid(), mln::util::array_bkd_iter< T >::start(), and mln::util::array_bkd_iter< T >::subj_().
unsigned mln::util::array_bkd_iter< T >::i_ [protected] |
Definition at line 318 of file util/array.hh.
Referenced by mln::util::array_bkd_iter< T >::element(), mln::util::array_bkd_iter< T >::index_(), mln::util::array_bkd_iter< T >::invalidate(), mln::util::array_bkd_iter< T >::is_valid(), mln::util::array_bkd_iter< T >::next(), mln::util::array_bkd_iter< T >::start(), and mln::util::array_bkd_iter< T >::subj_().