$extrastylesheet
#include <mln/accu/label_used.hh>
Public Member Functions | |
label_used () | |
void | init () |
bool | is_valid () const |
const fun::i2v::array< bool > & | 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 fun::i2v::array< bool > & | to_result () const |
void | take (const argument &) |
void | take (const label_used< L > &other) |
Protected Attributes | |
fun::i2v::array< bool > | label_used_ |
Public Types | |
typedef L | argument |
typedef Accumulator< void > | category |
typedef label_used< L > | exact_t |
typedef const fun::i2v::array < bool > & | q_result |
typedef mln::metal::unqualif < const fun::i2v::array< bool > & >::ret | result |
References all the labels used.
The parameter L is the label type.
Definition at line 53 of file label_used.hh.
mln::accu::label_used< L >::label_used | ( | ) |
void mln::accu::label_used< L >::init | ( | ) |
Initialize accumulator attributes.
bool mln::accu::label_used< L >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
void mln::accu::label_used< L >::take | ( | const argument & | ) |
Manipulators.
void mln::accu::label_used< L >::take | ( | const label_used< L > & | other | ) |
|
inherited |
Take as initialization the value t
.
|
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 fun::i2v::array<bool>& mln::accu::label_used< L >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
True if a label is used.
Definition at line 77 of file label_used.hh.
typedef L mln::accu::label_used< L >::argument |
Definition at line 55 of file label_used.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
|
inherited |