Base class representing a generic variable.
More...
#include <Types.h>
|
| Variable (const std::string &variableName) |
| Constructs a new Variable.
|
|
virtual std::string | getName () const |
| Retrieves the name of the variable.
|
|
virtual | ~Variable ()=default |
| Virtual destructor.
|
|
|
std::string | name |
| The name of the variable.
|
|
Base class representing a generic variable.
Definition at line 30 of file Types.h.
◆ Variable()
Variable |
( |
const std::string & | variableName | ) |
|
|
inline |
Constructs a new Variable.
- Parameters
-
variableName | The name of the variable. |
Definition at line 36 of file Types.h.
36: name{variableName} {}
◆ getName()
virtual std::string getName |
( |
| ) |
const |
|
inlinevirtual |
Retrieves the name of the variable.
- Returns
- The variable name as a std::string.
Definition at line 42 of file Types.h.
◆ name
The name of the variable.
Definition at line 50 of file Types.h.
The documentation for this class was generated from the following file:
- reconstruction/persistenceManager/include/Types.h