An exact decimal with a unit: the id of a unit of the server's unit systems (x-unitAlternatives).
More...
#include <value.hpp>
|
| bool | operator== (Quantity const &other) const noexcept |
| | Equality of magnitude, places and unit.
|
An exact decimal with a unit: the id of a unit of the server's unit systems (x-unitAlternatives).
Definition at line 109 of file value.hpp.
◆ operator==()
| bool morph::ui::Quantity::operator== |
( |
Quantity const & | other | ) |
const |
|
inlinenodiscardnoexcept |
Equality of magnitude, places and unit.
- Parameters
-
| other | The quantity to compare with. |
- Returns
- Whether magnitude, places and unit are all equal.
Definition at line 118 of file value.hpp.
◆ value
The exact magnitude, with its declared places.
Definition at line 111 of file value.hpp.
◆ unit
| std::string morph::ui::Quantity::unit |
The unit id, such as mg/L.
Definition at line 113 of file value.hpp.
The documentation for this struct was generated from the following file: