Generic tuple of accumulators. More...
#include <tuple.hh>
Inherits base< boost::tuple< BOOST_PP_REPEAT(10, RESULT_ACCU, Le Ricard ya que ca de vrai!) >, tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> >.
Public Member Functions | |
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 . | |
res | to_result () const |
Get the value of the accumulator. | |
void | init () |
Manipulators. |
Generic tuple of accumulators.
The parameter T
is the type of values.
Definition at line 74 of file tuple.hh.
void mln::accu::tuple< A, n, >::init | ( | ) | [inline] |
bool mln::accu::tuple< A, n, >::is_valid | ( | ) | const [inline] |
void mln::Accumulator< tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> >::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< tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> >::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 '_').
tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T) >::res mln::accu::tuple< A, n, >::to_result | ( | ) | const [inline] |