tfel
Loading...
Searching...
No Matches
tfel::math::qt< UnitType, ValueType > Struct Template Reference

a simple alias More...

Inheritance diagram for tfel::math::qt< UnitType, ValueType >:
tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityValueOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > > tfel::math::internals::QuantityValueOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > >

Public Member Functions

TFEL_HOST_DEVICE constexpr qt (qt &&) noexcept=default
TFEL_HOST_DEVICE constexpr qt (const qt &) noexcept=default
TFEL_HOST_DEVICE constexpr qt & operator= (qt &&) noexcept=default
TFEL_HOST_DEVICE constexpr qt & operator= (const qt &) noexcept=default
Public Member Functions inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityValueOwnershipPolicy< 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::QuantityValueOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > >
constexpr QuantityValueOwnershipPolicy () noexcept
 default constructor
TFEL_HOST_DEVICE constexpr ValueType & getValue () noexcept
 return the value
constexpr QuantityValueOwnershipPolicy & operator= (const QuantityValueOwnershipPolicy &) noexcept=default
 assignement operator
TFEL_HOST_DEVICE constexpr operator T& () noexcept
 conversion operator
TFEL_HOST_DEVICE constexpr operator T () const noexcept
 conversion operator
 ~QuantityValueOwnershipPolicy () noexcept=default
 destructor

Additional Inherited Members

Public Types inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityValueOwnershipPolicy< 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::QuantityValueOwnershipPolicy< ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > >
static constexpr auto is_mutable

Detailed Description

template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType>
struct tfel::math::qt< UnitType, ValueType >

a simple alias


The documentation for this struct was generated from the following files: