$extrastylesheet
#include <mln/accu/tuple.hh>
Public Member Functions | |
tuple () | |
bool | is_valid () const |
boost::tuple< BOOST_PP_REPEAT(10, RESULT_ACCU, Le Ricard ya que ca de vrai!) > | 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) |
res | to_result () const |
void | init () |
void | take_as_init_ (const argument &t) |
void | take (const argument &t) |
void | take (const tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> &other) |
Protected Attributes | |
intern | a_ |
Public Types | |
typedef A | argument |
typedef Accumulator< void > | category |
typedef tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> | exact_t |
typedef boost::tuple < BOOST_PP_ENUM_PARAMS(10, T)> | intern |
typedef boost::tuple < BOOST_PP_REPEAT(10, RESULT_ACCU, Le Ricard ya que ca de vrai!) > | q_result |
typedef boost::tuple < BOOST_PP_REPEAT(10, RESULT_ACCU, Le Ricard ya que ca de vrai!)> | res |
typedef mln::metal::unqualif < boost::tuple < BOOST_PP_REPEAT(10, RESULT_ACCU, Le Ricard ya que ca de vrai!) > >::ret | result |
typedef tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> | self |
Generic tuple of accumulators.
The parameter T
is the type of values.
mln::accu::tuple< A, n, >::tuple | ( | ) |
void mln::accu::tuple< A, n, >::init | ( | ) |
Manipulators.
bool mln::accu::tuple< A, n, >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
void mln::accu::tuple< A, n, >::take | ( | const argument & | t | ) |
void mln::accu::tuple< A, n, >::take | ( | const tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> & | other | ) |
|
inherited |
Take as initialization the value t
.
void mln::accu::tuple< A, n, >::take_as_init_ | ( | const argument & | 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".
res mln::accu::tuple< A, n, >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
typedef A mln::accu::tuple< A, n, >::argument |
|
inherited |
Definition at line 64 of file accumulator.hh.
typedef boost::tuple< BOOST_PP_ENUM_PARAMS(10, T)> mln::accu::tuple< A, n, >::intern |
|
inherited |
typedef boost::tuple< BOOST_PP_REPEAT(10, RESULT_ACCU, Le Ricard ya que ca de vrai !)> mln::accu::tuple< A, n, >::res |
|
inherited |