Definition of units.
More...
◆ Type
Enum types.
Enumerator |
---|
UNDEFINED | Undefined.
|
NONE | None.
|
EMP | Energy, mass or momentum (eV in natural units)
|
EMP2 | Square of energy, mass or momentum (eV^2 in natural units)
|
DISTANCE_TIME | Distance or time (eV^-1 in natural units)
|
CROSS_SECTION | Cross section (eV^-2 in natural units)
|
ANGLE | Angle.
|
◆ UnitCategory() [1/3]
PARTONS::UnitCategory::UnitCategory |
( |
| ) |
|
◆ UnitCategory() [2/3]
PARTONS::UnitCategory::UnitCategory |
( |
Type |
type | ) |
|
Assignment constructor.
- Parameters
-
◆ UnitCategory() [3/3]
PARTONS::UnitCategory::UnitCategory |
( |
const UnitCategory & |
other | ) |
|
Copy constructor.
- Parameters
-
other | Object to be copied. |
◆ getShortName()
std::string PARTONS::UnitCategory::getShortName |
( |
| ) |
|
◆ getType()
◆ operator Type()
◆ serialize()
void PARTONS::UnitCategory::serialize |
( |
ElemUtils::Packet & |
packet | ) |
const |
Serialize into given Packet.
- Parameters
-
◆ setType()
void PARTONS::UnitCategory::setType |
( |
Type |
type | ) |
|
◆ toString()
std::string PARTONS::UnitCategory::toString |
( |
| ) |
const |
Get string representing class content.
◆ unserialize()
void PARTONS::UnitCategory::unserialize |
( |
ElemUtils::Packet & |
packet | ) |
|
Retrieve data from given Packet.
- Parameters
-
◆ m_type
The documentation for this class was generated from the following files: