Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::doc::Accumulator< E > Struct Template Reference

Documentation class for mln::Accumulator. More...

#include <accumulator.hh>

Public Types

typedef void argument
 The argument type of elements to accumulate.
 

Public Member Functions

void init ()
 Initialize the accumulator.
 
void take (const argument &t)
 Take into account a argument t (an element).
 
void take (const E &other)
 Take into account another accumulator other.
 

Detailed Description

template<typename E>
struct mln::doc::Accumulator< E >

Documentation class for mln::Accumulator.

See Also
mln::Accumulator

Definition at line 36 of file doc/accumulator.hh.

Member Typedef Documentation

template<typename E >
typedef void mln::doc::Accumulator< E >::argument

The argument type of elements to accumulate.

Definition at line 39 of file doc/accumulator.hh.

Member Function Documentation

template<typename E >
void mln::doc::Accumulator< E >::init ( )

Initialize the accumulator.

template<typename E >
void mln::doc::Accumulator< E >::take ( const argument t)

Take into account a argument t (an element).

template<typename E >
void mln::doc::Accumulator< E >::take ( const E &  other)

Take into account another accumulator other.