|
tfel
|
a simple alias More...
Public Member Functions | |
|
template<QuantityConcept QuantityType> requires ((unit::areUnitsEqual<quantity_unit<QuantityType>, UnitType>)&&( std::same_as<ValueType, base_type<QuantityType>>)) | |
| constexpr | qt_ref (QuantityType &src) noexcept |
| constexpr | qt_ref (ValueType &src) noexcept |
| constexpr | qt_ref (qt_ref &&) noexcept=default |
| constexpr | qt_ref (const qt_ref &) noexcept=default |
| TFEL_HOST_DEVICE constexpr qt_ref & | operator= (const qt_ref &src) noexcept |
| copy assignement, writes through the reference | |
| Public Member Functions inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityReferenceOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > > | |
| TFEL_HOST_DEVICE constexpr | Quantity (const OtherQuantityType &src) noexcept |
| TFEL_HOST_DEVICE constexpr Quantity & | operator= (const T &src) noexcept |
| TFEL_HOST_DEVICE constexpr Quantity & | operator+= (const T &src) noexcept |
| TFEL_HOST_DEVICE constexpr Quantity & | operator-= (const T &src) noexcept |
| TFEL_HOST_DEVICE constexpr Quantity & | operator*= (const ValueType2 &a) noexcept |
| multiplication by a scalar | |
| TFEL_HOST_DEVICE constexpr Quantity & | operator/= (const ValueType2 &a) noexcept |
| division by a scalar | |
| TFEL_HOST_DEVICE constexpr qt< UnitType, ValueType > | operator- () const noexcept |
| negation operator | |
| Public Member Functions inherited from tfel::math::internals::QuantityReferenceOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > | |
| constexpr | QuantityReferenceOwnershipPolicy () noexcept=default |
| default constructor | |
| TFEL_HOST_DEVICE constexpr ValueType & | getValue () noexcept |
| return the value | |
| constexpr QuantityReferenceOwnershipPolicy & | operator= (const QuantityReferenceOwnershipPolicy &) noexcept=default |
| assignement operator | |
| TFEL_HOST_DEVICE constexpr | operator T& () noexcept |
| conversion operator | |
| TFEL_HOST_DEVICE constexpr | operator const T & () const noexcept |
| conversion operator | |
| ~QuantityReferenceOwnershipPolicy () noexcept=default | |
| destructor | |
Additional Inherited Members | |
| Public Types inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityReferenceOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > > | |
| using | promote |
| a simple alias | |
| using | value_type |
| a simple alias | |
| Static Public Attributes inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityReferenceOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > > | |
| static constexpr auto | is_mutable |
a simple alias