Brick
Loading...
Searching...
No Matches
units::Temperature Class Reference
Inheritance diagram for units::Temperature:

Public Member Functions

constexpr Temperature (double kelvins)
constexpr double to (TemperatureUnit unit) const
constexpr Temperature & operator+= (Temperature)=delete
constexpr Temperature & operator-= (Temperature)=delete
Public Member Functions inherited from units::Quantity< std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 > >
constexpr Quantity ()
 Default to value of 0.
constexpr Quantity (double value)
constexpr Quantity (double value)
constexpr Quantity (double value, Self unit)
constexpr operator double () const
constexpr Quantity (const Self &other)=default
constexpr double internal () const
constexpr double to (Self unit) const
constexpr Self & operator+= (Self other)
 Adds another quantity's value to this.
constexpr Self & operator+= (double other)
constexpr Self & operator-= (Self other)
 Subtracts another quantity's value from this.
constexpr Self & operator-= (double other)
constexpr Self & operator*= (double scalar)
 Multiplies this quantity by a scalar.
constexpr Self & operator/= (double divisor)
 Divides this quantity by a scalar.
constexpr Self & operator= (const double &rhs)

Additional Inherited Members

Public Types inherited from units::Quantity< std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 > >
using mass
using length
using time
using current
using angle
using temperature
using luminosity
using moles
using Self
Static Public Attributes inherited from units::Quantity< std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 > >
static constexpr bool is_dimensionless
Protected Attributes inherited from units::Quantity< std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 > >
double value

The documentation for this class was generated from the following file: