#include <Stats.hxx>
It has two states, value memorized and no value memorized. By default is not memorized until it is assigned to a value that is copied. Then you can query the value using the call operator. By reseting it you are releasing the memory until a new assignement.
Definition at line 51 of file Stats.hxx.
Public Member Functions | |
StatMemory () | |
const StatMemory & | operator= (const T &value) |
bool | HasValue () |
void | Reset () |
operator T () |
CLAM::StatMemory< T >::StatMemory | ( | ) | [inline] |
const StatMemory& CLAM::StatMemory< T >::operator= | ( | const T & | value | ) | [inline] |
bool CLAM::StatMemory< T >::HasValue | ( | ) | [inline] |
void CLAM::StatMemory< T >::Reset | ( | void | ) | [inline] |
Definition at line 66 of file Stats.hxx.
Referenced by CLAM::StatsTmpl< abs >::Reset(), and CLAM::StatsTmpl< abs >::SetArray().
CLAM::StatMemory< T >::operator T | ( | ) | [inline] |