Helper class that can contain an identifier-value pair. More...
#include <Variable.h>
Public Member Functions | |
AtomicId | getName () const |
double | getValue () const |
Value & | operator= (const Value &orig) |
void | setName (AtomicId name) |
void | setValue (double value) |
Value (const Value &orig) | |
Value () | |
Value (AtomicId name, double value) | |
Private Attributes | |
AtomicId | name |
double | value |
Helper class that can contain an identifier-value pair.
Variable::Value contains an instance of an input variable that is identified by the atomic identifer of the variable and carries an associated double value.
Definition at line 52 of file Variable.h.
PhysicsTools::Variable::Value::Value | ( | ) | [inline] |
Definition at line 54 of file Variable.h.
{}
PhysicsTools::Variable::Value::Value | ( | const Value & | orig | ) | [inline] |
Definition at line 55 of file Variable.h.
PhysicsTools::Variable::Value::Value | ( | AtomicId | name, |
double | value | ||
) | [inline] |
AtomicId PhysicsTools::Variable::Value::getName | ( | void | ) | const [inline] |
double PhysicsTools::Variable::Value::getValue | ( | ) | const [inline] |
void PhysicsTools::Variable::Value::setName | ( | AtomicId | name | ) | [inline] |
void PhysicsTools::Variable::Value::setValue | ( | double | value | ) | [inline] |
AtomicId PhysicsTools::Variable::Value::name [private] |
Definition at line 70 of file Variable.h.
Referenced by getName(), operator=(), and setName().
double PhysicsTools::Variable::Value::value [private] |
Definition at line 71 of file Variable.h.
Referenced by getValue(), operator=(), and setValue().