Generic val of accumulators. More...
#include <v.hh>
Inherits base< const A::result &, val< A > >.
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.   | |
| const A::result & | to_result () const | 
| Get the value of the accumulator.   | |
| void | init () | 
| Manipulators.   | |
Generic val of accumulators.
Definition at line 50 of file v.hh.
| void mln::accu::val< A >::init | ( | ) |  [inline] | 
        
| bool mln::accu::val< A >::is_valid | ( | ) |  const [inline] | 
        
| void mln::Accumulator< val< A > >::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< val< A > >::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 A::result & mln::accu::val< A >::to_result | ( | ) |  const [inline] | 
        
 1.7.1