$extrastylesheet
#include <mln/accu/v.hh>
Public Member Functions | |
val () | |
val (const A &a) | |
bool | is_valid () const |
typedef | mln_argument (A) argument |
const A::result & | subj_ () |
void | take_as_init (const T &t) |
void | take_as_init_ (const T &t) |
void | take_n_times (unsigned n, const T &t) |
void | take_n_times_ (unsigned n, const T &t) |
const A::result & | to_result () const |
void | init () |
void | take_as_init_ (const argument &t) |
void | take (const argument &t) |
void | take (const val< A > &other) |
template<typename I > | |
void | take_as_init_ (const util::pix< I > &pix) |
template<typename I > | |
void | take (const util::pix< I > &pix) |
Protected Attributes | |
A | a_ |
Public Types | |
typedef Accumulator< void > | category |
typedef val< A > | exact_t |
typedef const A::result & | q_result |
typedef mln::metal::unqualif < const A::result & >::ret | result |
Generic val of accumulators.
mln::accu::val< A >::val | ( | ) |
mln::accu::val< A >::val | ( | const A & | a | ) |
void mln::accu::val< A >::init | ( | ) |
Manipulators.
bool mln::accu::val< A >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
typedef mln::accu::val< A >::mln_argument | ( | A | ) |
|
inherited |
void mln::accu::val< A >::take | ( | const argument & | t | ) |
void mln::accu::val< A >::take | ( | const val< A > & | other | ) |
void mln::accu::val< A >::take | ( | const util::pix< I > & | pix | ) |
|
inherited |
Take as initialization the value t
.
void mln::accu::val< A >::take_as_init_ | ( | const argument & | t | ) |
void mln::accu::val< A >::take_as_init_ | ( | const util::pix< I > & | pix | ) |
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
const A ::result& mln::accu::val< A >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |