• An interface to be used for gaining access to a scalar with any unit type
More...

#include <SEScalar.h>

Inherits SEScalar.

Inherited by SEScalarQuantity< Unit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< HeatResistanceUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< VolumePerTimeMassUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< VolumePerTimeUnit >, and SEScalarQuantity< VolumeUnit >.

Public Member Functions

 SEUnitScalar ()
 
virtual ~SEUnitScalar ()
 
virtual bool IsValid () const =0
 
virtual void Invalidate ()=0
 
virtual bool HasUnit () const =0
 
virtual const CCompoundUnitGetUnit () const =0
 
virtual bool Set (const SEScalar &s)=0
 
virtual void Copy (const SEScalar &s)=0
 
virtual double GetValue (const CCompoundUnit &unit) const =0
 
virtual void SetValue (double d, const CCompoundUnit &unit)=0
 
virtual void ForceValue (double d, const CCompoundUnit &unit)=0
 
virtual double IncrementValue (double d, const CCompoundUnit &unit)=0
 
- Public Member Functions inherited from SEScalar
 SEScalar ()
 
virtual ~SEScalar ()
 
virtual void Clear ()
 
bool Set (const SEScalar &s)
 
void Copy (const SEScalar &s)
 
bool IsInfinity () const
 
bool IsPositive () const
 
bool IsNegative () const
 
bool IsZero (double limit=ZERO_APPROX) const
 
void SetReadOnly (bool b)
 
bool IsReadOnly () const
 
double GetValue () const
 
void SetValue (double d)
 
void ForceValue (double d)
 
double Increment (const SEScalar &s)
 
double IncrementValue (double d)
 
void Average (int cnt)
 
bool Equals (const SEScalar &to) const
 
virtual void ToString (std::ostream &str) const
 
- Public Member Functions inherited from SEProperty
 SEProperty ()
 
virtual ~SEProperty ()
 

Protected Member Functions

virtual const CCompoundUnitGetCompoundUnit (const std::string &unit) const =0
 

Private Attributes

friend SEGenericScalar
 

Friends

class PBProperty
 

Additional Inherited Members

- Static Public Member Functions inherited from SEScalar
static double dNaN ()
 
static bool IsZero (double value, double limit)
 
static bool IsValue (double target, double value)
 
- Static Public Attributes inherited from SEScalar
static unsigned long long int NaN
 
- Protected Attributes inherited from SEScalar
double m_value
 
bool m_isnan
 
bool m_isinf
 
bool m_readOnly
 

Detailed Description

  • An interface to be used for gaining access to a scalar with any unit type
  • This interface allows you to have a pointer to a scalar with units but you don't need to now what units it's associated with

Constructor & Destructor Documentation

◆ SEUnitScalar()

SEUnitScalar::SEUnitScalar ( )
inline

◆ ~SEUnitScalar()

virtual SEUnitScalar::~SEUnitScalar ( )
inlinevirtual

Member Function Documentation

◆ Copy()

virtual void SEUnitScalar::Copy ( const SEScalar s)
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ ForceValue()

virtual void SEUnitScalar::ForceValue ( double  d,
const CCompoundUnit unit 
)
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ GetCompoundUnit()

virtual const CCompoundUnit* SEUnitScalar::GetCompoundUnit ( const std::string &  unit) const
protectedpure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ GetUnit()

virtual const CCompoundUnit* SEUnitScalar::GetUnit ( ) const
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ GetValue()

virtual double SEUnitScalar::GetValue ( const CCompoundUnit unit) const
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ HasUnit()

virtual bool SEUnitScalar::HasUnit ( ) const
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ IncrementValue()

virtual double SEUnitScalar::IncrementValue ( double  d,
const CCompoundUnit unit 
)
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ Invalidate()

virtual void SEUnitScalar::Invalidate ( )
pure virtual

Sets the value to NaN and removes the unit Note that this does not affect bounds

Reimplemented from SEScalar.

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ IsValid()

virtual bool SEUnitScalar::IsValid ( ) const
pure virtual

Reimplemented from SEScalar.

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ Set()

virtual bool SEUnitScalar::Set ( const SEScalar s)
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

◆ SetValue()

virtual void SEUnitScalar::SetValue ( double  d,
const CCompoundUnit unit 
)
pure virtual

Implemented in SEScalarQuantity< Unit >, SEScalarQuantity< ElectricResistanceUnit >, SEScalarQuantity< AmountPerVolumeUnit >, SEScalarQuantity< VolumePerPressureUnit >, SEScalarQuantity< HeatInductanceUnit >, SEScalarQuantity< OsmolalityUnit >, SEScalarQuantity< VolumePerTimeUnit >, SEScalarQuantity< MassPerTimeUnit >, SEScalarQuantity< HeatCapacitancePerMassUnit >, SEScalarQuantity< LengthPerTimeUnit >, SEScalarQuantity< FlowComplianceUnit >, SEScalarQuantity< LengthUnit >, SEScalarQuantity< MassPerVolumeUnit >, SEScalarQuantity< PressureUnit >, SEScalarQuantity< PowerUnit >, SEScalarQuantity< MassPerMassUnit >, SEScalarQuantity< ElectricCapacitanceUnit >, SEScalarQuantity< MassPerAmountUnit >, SEScalarQuantity< FlowInertanceUnit >, SEScalarQuantity< MassUnit >, SEScalarQuantity< VolumeUnit >, SEScalarQuantity< HeatCapacitanceUnit >, SEScalarQuantity< PressurePerVolumeUnit >, SEScalarQuantity< EnergyPerAmountUnit >, SEScalarQuantity< ElectricCurrentUnit >, SEScalarQuantity< AmountPerTimeUnit >, SEScalarQuantity< ElectricPotentialUnit >, SEScalarQuantity< AmountUnit >, SEScalarQuantity< AreaPerTimePressureUnit >, SEScalarQuantity< LengthPerTimePressureUnit >, SEScalarQuantity< PowerPerAreaTemperatureToTheFourthUnit >, SEScalarQuantity< PressureTimePerVolumeAreaUnit >, SEScalarQuantity< ElectricInductanceUnit >, SEScalarQuantity< HeatCapacitancePerAmountUnit >, SEScalarQuantity< OsmolarityUnit >, SEScalarQuantity< FlowResistanceUnit >, SEScalarQuantity< VolumePerTimePressureUnit >, SEScalarQuantity< PressureTimePerAreaUnit >, SEScalarQuantity< HeatConductanceUnit >, SEScalarQuantity< FlowElastanceUnit >, SEScalarQuantity< ForceUnit >, SEScalarQuantity< AreaUnit >, SEScalarQuantity< AmountPerMassUnit >, SEScalarQuantity< InversePressureUnit >, SEScalarQuantity< TimeUnit >, SEScalarQuantity< MassPerAreaTimeUnit >, SEScalarQuantity< InverseVolumeUnit >, SEScalarQuantity< HeatConductancePerAreaUnit >, SEScalarQuantity< HeatResistanceAreaUnit >, SEScalarQuantity< EnergyPerMassUnit >, SEScalarQuantity< EnergyUnit >, SEScalarQuantity< TemperatureUnit >, SEScalarQuantity< VolumePerTimePressureAreaUnit >, SEScalarQuantity< VolumePerTimeAreaUnit >, SEScalarQuantity< FrequencyUnit >, SEScalarQuantity< ElectricChargeUnit >, SEScalarQuantity< HeatResistanceUnit >, and SEScalarQuantity< VolumePerTimeMassUnit >.

Friends And Related Function Documentation

◆ PBProperty

friend class PBProperty
friend

Member Data Documentation

◆ SEGenericScalar

friend SEUnitScalar::SEGenericScalar
private