References all the labels used. More...
#include <label_used.hh>
Inherits base< const fun::i2v::array< bool > &, label_used< L > >.
Public Member Functions | |
void | init () |
Initialize accumulator attributes. | |
bool | is_valid () const |
Check whether this accu is able to return a result. | |
void | take_as_init (const T &t) |
Take as initialization the value t . | |
void | take_n_times (unsigned n, const T &t) |
Take n times the value t . | |
const fun::i2v::array< bool > & | to_result () const |
Get the value of the accumulator. | |
void | take (const argument &) |
Manipulators. |
References all the labels used.
The parameter L is the label type.
Definition at line 53 of file label_used.hh.
void mln::accu::label_used< L >::init | ( | ) | [inline] |
Initialize accumulator attributes.
Definition at line 110 of file label_used.hh.
bool mln::accu::label_used< L >::is_valid | ( | ) | const [inline] |
Check whether this accu is able to return a result.
Always true here.
Definition at line 150 of file label_used.hh.
void mln::accu::label_used< L >::take | ( | const argument & | l | ) | [inline] |
Manipulators.
Definition at line 118 of file label_used.hh.
void mln::Accumulator< label_used< L > >::take_as_init | ( | const T & | t | ) | [inherited] |
Take as initialization the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
void mln::Accumulator< label_used< L > >::take_n_times | ( | unsigned | n, | |
const T & | t | |||
) | [inherited] |
Take n
times the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
const fun::i2v::array< bool > & mln::accu::label_used< L >::to_result | ( | ) | const [inline] |
Get the value of the accumulator.
Definition at line 142 of file label_used.hh.