UnitBase is the base class for Unit or BaseUnit.
More...
|
std::string | _name |
| the name
|
|
UnitBase is the base class for Unit or BaseUnit.
Definition at line 37 of file datamodel_units.h.
◆ UnitBase()
◆ getName()
const std::string& getName |
( |
| ) |
const |
Get the Name.
- Returns
- const std::string&
◆ getTypeOfUnit()
◆ operator=() [1/2]
copy assignment operator
- Returns
- UnitBase&
◆ operator=() [2/2]
move assignment operator
- Returns
- UnitBase&
◆ setName()
virtual void setName |
( |
const std::string & |
name | ) |
|
|
virtual |
Set the Name.
- Parameters
-
Reimplemented in Unit, and BaseUnit.