Documentation class for mln::Accumulator. More...
#include <accumulator.hh>
Public Types | |
typedef void | argument |
The argument type of elements to accumulate. | |
typedef void | result_ |
The value type to return. | |
Public Member Functions | |
void | init () |
Initialize the accumulator. | |
operator result_ () const | |
Convert the accumulator into the result. | |
void | take (const E &other) |
Take into account another accumulator other . | |
void | take (const argument &t) |
Take into account a argument t (an element). |
Documentation class for mln::Accumulator.
typedef void mln::doc::Accumulator< E >::argument |
The argument type of elements to accumulate.
typedef void mln::doc::Accumulator< E >::result_ |
The value type to return.
void mln::doc::Accumulator< E >::init | ( | ) |
Initialize the accumulator.
mln::doc::Accumulator< E >::operator result_ | ( | ) | const |
Convert the accumulator into the result.
void mln::doc::Accumulator< E >::take | ( | const E & | other | ) |
Take into account another accumulator other
.
void mln::doc::Accumulator< E >::take | ( | const argument & | t | ) |
Take into account a argument t
(an element).