RAPIDO
Repeatable Analysis Programming for Interpretability, Durability, and Organization
|
#include <utilities.h>
Public Member Functions | |
Variable () | |
Variable (Type new_reset_value) | |
virtual | ~Variable () |
Type | getValue () |
Type & | getReference () |
void | setValue (Type new_value) |
void | setResetValue (Type new_reset_value) |
void | resetValue () |
![]() | |
virtual | ~Dynamic () |
Protected Attributes | |
Type | value |
Type | reset_value |
"Dynamic" variable
Type | type of variable |
Utilities::Variable< Type >::Variable | ( | ) |
Variable object default constructor
Utilities::Variable< Type >::Variable | ( | Type | new_reset_value | ) |
Variable object overload constructor
new_reset_value | reset value of new variable object |
|
virtual |
Variable object destructor
Type & Utilities::Variable< Type >::getReference | ( | ) |
Get reference to variable value
Type Utilities::Variable< Type >::getValue | ( | ) |
Get current variable value
void Utilities::Variable< Type >::resetValue | ( | ) |
Reset the current variable value to the reset value
void Utilities::Variable< Type >::setResetValue | ( | Type | new_reset_value | ) |
Set variable reset value
new_reset_value | new reset value (e.g. -999; default is the default type constructor) |
void Utilities::Variable< Type >::setValue | ( | Type | new_value | ) |
Set variable value
new_value | new value |
|
protected |
Variable reset value
|
protected |
Variable value