|
AMCAX_API | SIUnit () |
| Default constructor for SIUnit.
|
|
AMCAX_API | SIUnit (const SIUnit &other) |
| Copy constructor for SIUnit. More...
|
|
AMCAX_API | SIUnit (SIUnit &&other) noexcept |
| Move constructor for SIUnit. More...
|
|
AMCAX_API | SIUnit (const LengthUnit &unit, const double exponent=1.0) |
|
AMCAX_API | SIUnit (const MassUnit &unit, const double exponent=1.0) |
|
AMCAX_API | SIUnit (const TimeUnit &unit, const double exponent=1.0) |
|
AMCAX_API | SIUnit (const ElectricCurrentUnit &unit, const double exponent=1.0) |
|
AMCAX_API | SIUnit (const ThermodynamicTemperatureUnit &unit, const double exponent=1.0) |
|
AMCAX_API | SIUnit (const AmountOfSubstanceUnit &unit, const double exponent=1.0) |
|
AMCAX_API | SIUnit (const LuminousIntensityUnit &unit, const double exponent=1.0) |
|
AMCAX_API SIUnit & | operator= (const LengthUnit &other) |
| Copy assignment operator for SIUnit with a length unit. More...
|
|
AMCAX_API SIUnit & | operator= (LengthUnit &&other) noexcept |
| Move assignment operator for SIUnit with a length unit. More...
|
|
AMCAX_API SIUnit & | operator= (const MassUnit &other) |
| Copy assignment operator for SIUnit with a mass unit. More...
|
|
AMCAX_API SIUnit & | operator= (MassUnit &&other) noexcept |
| Move assignment operator for SIUnit with a mass unit. More...
|
|
AMCAX_API SIUnit & | operator= (const TimeUnit &other) |
| Copy assignment operator for SIUnit with a time unit. More...
|
|
AMCAX_API SIUnit & | operator= (TimeUnit &&other) noexcept |
| Move assignment operator for SIUnit with a time unit. More...
|
|
AMCAX_API SIUnit & | operator= (const ElectricCurrentUnit &other) |
| Copy assignment operator for SIUnit with a electric current unit. More...
|
|
AMCAX_API SIUnit & | operator= (ElectricCurrentUnit &&other) noexcept |
| Move assignment operator for SIUnit with a electric current unit. More...
|
|
AMCAX_API SIUnit & | operator= (const ThermodynamicTemperatureUnit &other) |
| Copy assignment operator for SIUnit with a thermodynamic temperature unit. More...
|
|
AMCAX_API SIUnit & | operator= (ThermodynamicTemperatureUnit &&other) noexcept |
| Move assignment operator for SIUnit with a thermodynamic temperature unit. More...
|
|
AMCAX_API SIUnit & | operator= (const AmountOfSubstanceUnit &other) |
| Copy assignment operator for SIUnit with a amount of substance unit. More...
|
|
AMCAX_API SIUnit & | operator= (AmountOfSubstanceUnit &&other) noexcept |
| Move assignment operator for SIUnit with a amount of substance unit. More...
|
|
AMCAX_API SIUnit & | operator= (const LuminousIntensityUnit &other) |
| Copy assignment operator for SIUnit with a luminous intensity unit. More...
|
|
AMCAX_API SIUnit & | operator= (LuminousIntensityUnit &&other) noexcept |
| Move assignment operator for SIUnit with a luminous intensity unit. More...
|
|
AMCAX_API SIUnit & | operator= (const SIUnit &other) |
| Copy assignment operator for SIUnit. More...
|
|
AMCAX_API SIUnit & | operator= (SIUnit &&other) noexcept |
| Move assignment operator for SIUnit. More...
|
|
AMCAX_API | ~SIUnit () |
| Destructor for SIUnit.
|
|
AMCAX_API bool | operator== (const SIUnit &other) const |
| If the SIUnit same as the other SIUnit. More...
|
|
AMCAX_API bool | operator!= (const SIUnit &other) const |
| If the SIUnit different from the other SIUnit. More...
|
|
AMCAX_API bool | operator< (const SIUnit &other) const |
| If the SIUnit less than the other SIUnit. More...
|
|
AMCAX_API bool | operator> (const SIUnit &other) const |
| If the SIUnit greater than the other SIUnit. More...
|
|
AMCAX_API bool | operator<= (const SIUnit &other) const |
| If the SIUnit less than or equal to the other SIUnit. More...
|
|
AMCAX_API bool | operator>= (const SIUnit &other) const |
| If the SIUnit greater than or equal to the other SIUnit. More...
|
|
AMCAX_API SIUnit & | Insert (const UnitUnion &unit, const double &exponent=1.0) |
| Insert a base unit into the SI unit. More...
|
|
AMCAX_API SIUnit & | Inverse () |
| Inverse the units.
|
|
AMCAX_API SIUnit & | Clear () |
| Clear the units.
|
|
AMCAX_API std::vector< UnitExpo > | Units () const |
| Get the units. More...
|
|
AMCAX_API const LengthUnit & | GetLengthUnit () const |
| Get the LengthUnit object. More...
|
|
AMCAX_API SIUnit & | SetLengthUnit (const AMCAX::LengthUnit &lengthUnit) |
| Set the LengthUnit object. More...
|
|
AMCAX_API double | GetLengthExponent () const |
| Get the exponent of the length unit. More...
|
|
AMCAX_API SIUnit & | SetLengthExponent (const double &lengthExponent) |
| Set the exponent of the length unit. More...
|
|
AMCAX_API SIUnit & | SetLengthUnit (const AMCAX::LengthUnit &lengthUnit, const double &lengthExponent) |
| Set the LengthUnit object and the exponent of the length unit. More...
|
|
AMCAX_API const MassUnit & | GetMassUnit () const |
| Get the MassUnit object. More...
|
|
AMCAX_API SIUnit & | SetMassUnit (const AMCAX::MassUnit &massUnit) |
| Set the MassUnit object. More...
|
|
AMCAX_API double | GetMassExponent () const |
| Get the exponent of the mass unit. More...
|
|
AMCAX_API SIUnit & | SetMassExponent (const double &massExponent) |
| Set the exponent of the mass unit. More...
|
|
AMCAX_API SIUnit & | SetMassUnit (const AMCAX::MassUnit &massUnit, const double &massExponent) |
| Set the MassUnit object and the exponent of the mass unit. More...
|
|
AMCAX_API const TimeUnit & | GetTimeUnit () const |
| Get the TimeUnit object. More...
|
|
AMCAX_API SIUnit & | SetTimeUnit (const AMCAX::TimeUnit &timeUnit) |
| Set the TimeUnit object. More...
|
|
AMCAX_API double | GetTimeExponent () const |
| Get the exponent of the time unit. More...
|
|
AMCAX_API SIUnit & | SetTimeExponent (const double &timeExponent) |
| Set the exponent of the time unit. More...
|
|
AMCAX_API SIUnit & | SetTimeUnit (const AMCAX::TimeUnit &timeUnit, const double &timeExponent) |
| Set the TimeUnit object and the exponent of the time unit. More...
|
|
AMCAX_API const ElectricCurrentUnit & | GetElectricCurrentUnit () const |
| Get the ElectricCurrentUnit object. More...
|
|
AMCAX_API SIUnit & | SetElectricCurrentUnit (const AMCAX::ElectricCurrentUnit &electricCurrentUnit) |
| Set the ElectricCurrentUnit object. More...
|
|
AMCAX_API double | GetElectricCurrentExponent () const |
| Get the exponent of the electric current unit. More...
|
|
AMCAX_API SIUnit & | SetElectricCurrentExponent (const double &electricCurrentExponent) |
| Set the exponent of the electric current unit. More...
|
|
AMCAX_API SIUnit & | SetElectricCurrentUnit (const AMCAX::ElectricCurrentUnit &electricCurrentUnit, const double &electricCurrentExponent) |
| Set the ElectricCurrentUnit object and the exponent of the electric current unit. More...
|
|
AMCAX_API const ThermodynamicTemperatureUnit & | GetThermodynamicTemperatureUnit () const |
| Get the ThermodynamicTemperatureUnit object. More...
|
|
AMCAX_API SIUnit & | SetThermodynamicTemperatureUnit (const AMCAX::ThermodynamicTemperatureUnit &thermodynamicTemperatureUnit) |
| Set the ThermodynamicTemperatureUnit object. More...
|
|
AMCAX_API double | GetThermodynamicTemperatureExponent () const |
| Get the exponent of the thermodynamic temperature unit. More...
|
|
AMCAX_API SIUnit & | SetThermodynamicTemperatureExponent (const double &thermodynamicTemperatureExponent) |
| Set the exponent of the thermodynamic temperature unit. More...
|
|
AMCAX_API SIUnit & | SetThermodynamicTemperatureUnit (const AMCAX::ThermodynamicTemperatureUnit &thermodynamicTemperatureUnit, const double &thermodynamicTemperatureExponent) |
| Set the ThermodynamicTemperatureUnit object and the exponent of the thermodynamic temperature unit. More...
|
|
AMCAX_API const AmountOfSubstanceUnit & | GetAmountOfSubstanceUnit () const |
| Get the AmountOfSubstanceUnit object. More...
|
|
AMCAX_API SIUnit & | SetAmountOfSubstanceUnit (const AMCAX::AmountOfSubstanceUnit &amountOfSubstanceUnit) |
| Set the AmountOfSubstanceUnit object. More...
|
|
AMCAX_API double | GetAmountOfSubstanceExponent () const |
| Get the exponent of the amount of substance unit. More...
|
|
AMCAX_API SIUnit & | SetAmountOfSubstanceExponent (const double &amountOfSubstanceExponent) |
| Set the exponent of the amount of substance unit. More...
|
|
AMCAX_API SIUnit & | SetAmountOfSubstanceUnit (const AMCAX::AmountOfSubstanceUnit &amountOfSubstanceUnit, const double &amountOfSubstanceExponent) |
| Set the AmountOfSubstanceUnit object and the exponent of the amount of substance unit. More...
|
|
AMCAX_API const LuminousIntensityUnit & | GetLuminousIntensityUnit () const |
| Get the LuminousIntensityUnit object. More...
|
|
AMCAX_API SIUnit & | SetLuminousIntensityUnit (const AMCAX::LuminousIntensityUnit &luminousIntensityUnit) |
| Set the LuminousIntensityUnit object. More...
|
|
AMCAX_API double | GetLuminousIntensityExponent () const |
| Get the exponent of the luminous intensity unit. More...
|
|
AMCAX_API SIUnit & | SetLuminousIntensityExponent (const double &luminousIntensityExponent) |
| Set the exponent of the luminous intensity unit. More...
|
|
AMCAX_API SIUnit & | SetLuminousIntensityUnit (const AMCAX::LuminousIntensityUnit &luminousIntensityUnit, const double &luminousIntensityExponent) |
| Set the LuminousIntensityUnit object and the exponent of the luminous intensity unit. More...
|
|
AMCAX_API bool | IsBaseUnit () const |
| If this unit is a base unit. More...
|
|
AMCAX_API bool | IsDerivedUnit () const |
| If this unit is a derived unit. More...
|
|
AMCAX_API SIUnit & | AddSIMeter (const bool denominator=false) |
| Setup the derived unit as meter. More...
|
|
AMCAX_API bool | IsLengthUnit () const |
| Dertermain if the unit is a length unit. More...
|
|
AMCAX_API SIUnit & | AddSIKilogram (const bool denominator=false) |
| Setup the derived unit as kilogram.
|
|
AMCAX_API bool | IsMassUnit () const |
| Dertermain if the unit is a mass unit. More...
|
|
AMCAX_API SIUnit & | AddSISecond (const bool denominator=false) |
| Setup the derived unit as second.
|
|
AMCAX_API bool | IsTimeUnit () const |
| Dertermain if the unit is a time unit. More...
|
|
AMCAX_API SIUnit & | AddSIAmpere (const bool denominator=false) |
| Setup the derived unit as ampere.
|
|
AMCAX_API bool | IsElectricCurrentUnit () const |
| Dertermain if the unit is a electric current unit. More...
|
|
AMCAX_API SIUnit & | AddSIKelvin (const bool denominator=false) |
| Setup the derived unit as kelvin.
|
|
AMCAX_API bool | IsThermodynamicTemperatureUnit () const |
| Dertermain if the unit is a thermodynamic temperature unit. More...
|
|
AMCAX_API SIUnit & | AddSIMole (const bool denominator=false) |
| Setup the derived unit as mole.
|
|
AMCAX_API bool | IsAmountOfSubstanceUnit () const |
| Dertermain if the unit is a amount of substance unit. More...
|
|
AMCAX_API SIUnit & | AddSICandela (const bool denominator=false) |
| Setup the derived unit as candela.
|
|
AMCAX_API bool | IsLuminousIntensityUnit () const |
| Dertermain if the unit is a luminous intensity unit. More...
|
|
AMCAX_API SIUnit & | AddSIHertz (const bool denominator=false) |
| Setup the derived unit as hertz. More...
|
|
AMCAX_API bool | IsFrequencyUnit () const |
| Dertermain if the unit is a frequency unit. More...
|
|
AMCAX_API SIUnit & | AddSIRadian (const bool denominator=false) |
| Setup the derived unit as radian.
|
|
AMCAX_API bool | IsAngleUnit () const |
| Dertermain if the unit is a angle unit. More...
|
|
AMCAX_API SIUnit & | AddSISteradian (const bool denominator=false) |
| Setup the derived unit as steradian.
|
|
AMCAX_API bool | IsSolidAngleUnit () const |
| Dertermain if the unit is a solid angle unit. More...
|
|
AMCAX_API SIUnit & | AddSINewton (const bool denominator=false) |
| Setup the derived unit as newton.
|
|
AMCAX_API bool | IsForceUnit () const |
| Dertermain if the unit is a force unit. More...
|
|
AMCAX_API SIUnit & | AddSIPascal (const bool denominator=false) |
| Setup the derived unit as pascal.
|
|
AMCAX_API bool | IsPressureUnit () const |
| Dertermain if the unit is a pressure unit. More...
|
|
AMCAX_API SIUnit & | AddSIJoule (const bool denominator=false) |
| Setup the derived unit as joule.
|
|
AMCAX_API bool | IsEnergyUnit () const |
| Determain if the unit is a energy unit. More...
|
|
AMCAX_API SIUnit & | AddSIWatt (const bool denominator=false) |
| Setup the derived unit as watt.
|
|
AMCAX_API bool | IsPowerUnit () const |
| Determain if the unit is a power unit. More...
|
|
AMCAX_API SIUnit & | AddSICoulomb (const bool denominator=false) |
| Setup the derived unit as coulomb.
|
|
AMCAX_API bool | IsElectricChargeUnit () const |
| Determain if the unit is a electric charge unit. More...
|
|
AMCAX_API SIUnit & | AddSIVolt (const bool denominator=false) |
| Setup the derived unit as volt.
|
|
AMCAX_API bool | IsElectricPotentialUnit () const |
| Determain if the unit is a electric potential unit. More...
|
|
AMCAX_API SIUnit & | AddSIFarad (const bool denominator=false) |
| Setup the derived unit as farad.
|
|
AMCAX_API bool | IsCapacitanceUnit () const |
| Determain if the unit is a electric capacitance unit. More...
|
|
AMCAX_API SIUnit & | AddSIOhm (const bool denominator=false) |
| Setup the derived unit as ohm.
|
|
AMCAX_API bool | IsResistanceUnit () const |
| Determain if the unit is a electric resistance unit. More...
|
|
AMCAX_API SIUnit & | AddSISiemens (const bool denominator=false) |
| Setup the derived unit as siemens.
|
|
AMCAX_API bool | IsElectricConductanceUnit () const |
| Determain if the unit is a electric conductance unit. More...
|
|
AMCAX_API SIUnit & | AddSIWeber (const bool denominator=false) |
| Setup the derived unit as weber.
|
|
AMCAX_API bool | IsMagneticFluxUnit () const |
| Determain if the unit is a magnetic flux unit. More...
|
|
AMCAX_API SIUnit & | AddSITesla (const bool denominator=false) |
| Setup the derived unit as tesla.
|
|
AMCAX_API bool | IsMagneticFluxDensityUnit () const |
| Determain if the unit is a magnetic flux density unit. More...
|
|
AMCAX_API SIUnit & | AddSIHenry (const bool denominator=false) |
| Setup the derived unit as henry.
|
|
AMCAX_API bool | IsInductanceUnit () const |
| Determain if the unit is an electrical inductance unit. More...
|
|
AMCAX_API SIUnit & | AddSIDegreeCelsius (const bool denominator=false) |
| Setup the derived unit as degree celsius.
|
|
AMCAX_API bool | IsTemperatureUnit () const |
| Determain if the unit is a temperature unit. More...
|
|
AMCAX_API SIUnit & | AddSILumen (const bool denominator=false) |
| Setup the derived unit as lumen.
|
|
AMCAX_API bool | IsLuminousFluxUnit () const |
| Determain if the unit is a luminous flux unit. More...
|
|
AMCAX_API SIUnit & | AddSILux (const bool denominator=false) |
| Setup the derived unit as lux.
|
|
AMCAX_API bool | IsIlluminanceUnit () const |
| Determain if the unit is a illuminance unit. More...
|
|
AMCAX_API SIUnit & | AddSIBecquerel (const bool denominator=false) |
| Setup the derived unit as becquerel.
|
|
AMCAX_API bool | IsRadioactivityDecayUnit () const |
| Determain if the unit is a radioactivity decay unit. More...
|
|
AMCAX_API SIUnit & | AddSIGray (const bool denominator=false) |
| Setup the derived unit as gray.
|
|
AMCAX_API bool | IsAbsorbedDoseUnit () const |
| Determain if the unit is a absorbed dose unit. More...
|
|
AMCAX_API SIUnit & | AddSISievert (const bool denominator=false) |
| Setup the derived unit as sievert.
|
|
AMCAX_API bool | IsEquivalentDoseUnit () const |
| Determain if the unit is a equivalent dose unit. More...
|
|
AMCAX_API SIUnit & | AddSIKatal (const bool denominator=false) |
| Setup the derived unit as katal.
|
|
AMCAX_API bool | IsCatalyticActivityUnit () const |
| Determain if the unit is a catalytic activity unit. More...
|
|