prototype template container class, that just holds a double value.
More...
#include <rquantities.hpp>
template<typename MassDim, typename LengthDim, typename TimeDim, typename AngleDim, typename CurrentDim, typename LumDim, typename SubDim, typename TempDim>
class RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >
prototype template container class, that just holds a double value.
- Warning
- This class is not intended to be used directly, but rather as a base class for the quantity types.
Definition at line 63 of file rquantities.hpp.
◆ RQuantity() [1/3]
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::RQuantity |
( |
| ) |
|
|
inlineconstexpr |
◆ RQuantity() [2/3]
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::RQuantity |
( |
double |
val | ) |
|
|
inlineconstexpr |
◆ RQuantity() [3/3]
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::RQuantity |
( |
long double |
val | ) |
|
|
inlineconstexpr |
◆ Convert()
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr double RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::Convert |
( |
const RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim > & |
rhs | ) |
const |
|
inlineconstexpr |
◆ getValue()
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr double RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::getValue |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator+=()
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr RQuantity const& RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::operator+= |
( |
const RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim > & |
rhs | ) |
|
|
inlineconstexpr |
◆ operator-=()
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr RQuantity const& RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::operator-= |
( |
const RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim > & |
rhs | ) |
|
|
inlineconstexpr |
◆ to()
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
constexpr double RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::to |
( |
const RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim > & |
rhs | ) |
const |
|
inlineconstexpr |
◆ value
template<typename MassDim , typename LengthDim , typename TimeDim , typename AngleDim , typename CurrentDim , typename LumDim , typename SubDim , typename TempDim >
double RQuantity< MassDim, LengthDim, TimeDim, AngleDim, CurrentDim, LumDim, SubDim, TempDim >::value |
The documentation for this class was generated from the following file: