Helper class for keeping changed value, until recorded (i.e. record() is called) to make the value known. More...
#include <_dd_misc.h>
Public Member Functions | |
DDValueRecord (T value) | |
initial value and known value will be set to the same | |
DDValueRecord (T value, T knownValue) | |
can set initial known value to be different from value | |
operator T () | |
T | get () |
void | operator= (T value) |
void | set (T value) |
T | getRecorded () |
bool | record () |
Helper class for keeping changed value, until recorded (i.e. record() is called) to make the value known.
|
inline |
make value set previously known; i.e. set known value to be the same as value