#include <Accumulator.h>
Public Member Functions | |
void | Clear () |
bool | IsValid () const |
operator bool () const | |
void | operator() (const typename AccumulatorT::Type x) |
void | Validate (const bool state=true) |
This class enables the usage of the uninitialized versions (default empty constructors) of the accumulators that require the first value to be passed in the constructor.
Example:
This example prints
Definition at line 153 of file Utilities/Statistics/Accumulator.h.
|
inline |
Definition at line 168 of file Utilities/Statistics/Accumulator.h.
References utl::Accumulator::Validator::Clear().
|
inlineinherited |
Definition at line 114 of file Utilities/Statistics/Accumulator.h.
References utl::Accumulator::Validator::fIsValid.
Referenced by utl::Accumulator::Safe< AccumulatorT >::operator bool().
|
inlineexplicit |
Definition at line 166 of file Utilities/Statistics/Accumulator.h.
References utl::Accumulator::Validator::IsValid().
|
inline |
Definition at line 156 of file Utilities/Statistics/Accumulator.h.
References utl::Accumulator::Validator::Validate().
|
inlineinherited |
Definition at line 115 of file Utilities/Statistics/Accumulator.h.
References utl::Accumulator::Validator::fIsValid.
Referenced by utl::Accumulator::Safe< AccumulatorT >::operator()().