#include <temperature.h>
Definition at line 94 of file temperature.h.
◆ TemperatureDelta()
| roo_quantity::TemperatureDelta::TemperatureDelta |
( |
| ) |
|
|
inline |
Creates a temperature delta object representing an 'unknown' temperature delta.
Definition at line 98 of file temperature.h.
◆ degCelcius()
| float roo_quantity::TemperatureDelta::degCelcius |
( |
| ) |
const |
|
inline |
Returns the temperature delta in degrees Celcius.
Definition at line 101 of file temperature.h.
Referenced by roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator+(), roo_quantity::operator+(), roo_quantity::operator+(), roo_quantity::Temperature::operator+=(), operator+=(), roo_quantity::operator-(), roo_quantity::operator-(), roo_quantity::operator-(), roo_quantity::Temperature::operator-=(), operator-=(), and roo_quantity::operator/().
◆ degFahrenheit()
| float roo_quantity::TemperatureDelta::degFahrenheit |
( |
| ) |
const |
|
inline |
Returns the temperature delta in degrees Fahrenheit.
Definition at line 107 of file temperature.h.
◆ degKelvin()
| float roo_quantity::TemperatureDelta::degKelvin |
( |
| ) |
const |
|
inline |
Returns the temperature delta in degrees Kelvin.
Definition at line 104 of file temperature.h.
◆ isUnknown()
| bool roo_quantity::TemperatureDelta::isUnknown |
( |
| ) |
const |
|
inline |
Returns whether the object represents an unknown temperature delta.
Definition at line 110 of file temperature.h.
◆ operator!=()
| bool roo_quantity::TemperatureDelta::operator!= |
( |
const TemperatureDelta & |
other | ) |
const |
|
inline |
◆ operator*=()
◆ operator+=()
◆ operator-=()
◆ operator/=()
◆ operator<()
| bool roo_quantity::TemperatureDelta::operator< |
( |
const TemperatureDelta & |
other | ) |
const |
|
inline |
◆ operator<=()
| bool roo_quantity::TemperatureDelta::operator<= |
( |
const TemperatureDelta & |
other | ) |
const |
|
inline |
◆ operator==()
| bool roo_quantity::TemperatureDelta::operator== |
( |
const TemperatureDelta & |
other | ) |
const |
|
inline |
◆ operator>()
| bool roo_quantity::TemperatureDelta::operator> |
( |
const TemperatureDelta & |
other | ) |
const |
|
inline |
◆ operator>=()
| bool roo_quantity::TemperatureDelta::operator>= |
( |
const TemperatureDelta & |
other | ) |
const |
|
inline |
◆ TemperatureDeltaDegCelcius
Returns a temperature delta object equivalent to the specified temperature expressed in Celcius degrees.
Definition at line 218 of file temperature.h.
◆ TemperatureDeltaDegFahrenheit
Returns a temperature delta object approximately equal to the specified temperature delta expressed in Fahrenheit degrees.
Due to floating-point rounding errors, and since the temperature is internally stored in Celcius degrees, generally, DegFahrenheit(x).degFahrenheit() != x.
Definition at line 235 of file temperature.h.
◆ TemperatureDeltaDegKelvin
Returns a temperature delta object equivalent to the specified temperature delta expressed in Kelvin degrees. It is in fact equivalent to TemperatureDeltaDegCelcius.
Definition at line 225 of file temperature.h.
◆ UnknownTemperatureDelta
Returns a temperature object representing an unknown temperature delta.
Definition at line 214 of file temperature.h.
The documentation for this class was generated from the following file: