SEScalarMassPerVolume Class Reference

#include <SEScalarMassPerVolume.h>

Inherits SEScalarQuantity< MassPerVolumeUnit >.

Public Member Functions

 SEScalarMassPerVolume ()
 
virtual ~SEScalarMassPerVolume ()
 
- Public Member Functions inherited from SEScalarQuantity< MassPerVolumeUnit >
 SEScalarQuantity ()
 
virtual ~SEScalarQuantity ()
 
void Invalidate () override
 
void ForceInvalidate () override
 
bool IsValid () const override
 
virtual bool Set (const SEScalarQuantity< MassPerVolumeUnit > &s)
 
virtual void Copy (const SEScalarQuantity< MassPerVolumeUnit > &s)
 
virtual bool Force (const SEScalarQuantity< MassPerVolumeUnit > &s)
 
double GetValue () const=delete
 
double GetValue (int precision) const=delete
 
virtual double GetValue (const MassPerVolumeUnit &unit) const
 
virtual double GetValue (const MassPerVolumeUnit &unit, int decimal_places) const
 
void SetValue (double d)=delete
 
virtual void SetValue (double d, const MassPerVolumeUnit &unit)
 
void ForceValue (double d)=delete
 
virtual void ForceValue (double d, const MassPerVolumeUnit &unit)
 
double Increment (const SEScalar &s)=delete
 
virtual double Increment (const SEScalarQuantity &s)
 
double Increment (double d)=delete
 
virtual double Increment (double d, const MassPerVolumeUnit &unit)
 
double ForceIncrement (double d)=delete
 
virtual double ForceIncrement (double d, const MassPerVolumeUnit &unit)
 
bool HasUnit () const override
 
const MassPerVolumeUnitGetUnit () const override
 
bool Equals (const SEScalar &to) const=delete
 
virtual bool Equals (const SEScalarQuantity< MassPerVolumeUnit > &to) const
 
std::string ToString () const override
 
void ToString (std::ostream &str) const override
 
- Public Member Functions inherited from SEUnitScalar
 SEUnitScalar ()
 
virtual ~SEUnitScalar ()
 
bool IsValid () const override=0
 
void Invalidate () override=0
 
void ForceInvalidate () override=0
 
virtual bool HasUnit () const =0
 
virtual const CCompoundUnitGetUnit () const =0
 
virtual bool Set (const SEScalar &s)=0
 
virtual bool Force (const SEScalar &s)=0
 
virtual void Copy (const SEScalar &s)=0
 
virtual double GetValue (const CCompoundUnit &unit) const =0
 
virtual double GetValue (const CCompoundUnit &unit, int decimal_places) const =0
 
virtual void SetValue (double d, const CCompoundUnit &unit)=0
 
virtual void ForceValue (double d, const CCompoundUnit &unit)=0
 
virtual double Increment (double d, const CCompoundUnit &unit)=0
 
virtual double ForceIncrement (double d, const CCompoundUnit &unit)=0
 
- Public Member Functions inherited from SEScalar
 SEScalar ()
 
virtual ~SEScalar ()
 
void Invalidate () override
 
virtual void ForceInvalidate ()
 
bool Set (const SEScalar &s)
 
bool Force (const SEScalar &s)
 
void Copy (const SEScalar &s)
 
bool IsValid () const override
 
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
 
double GetValue (int precision) const
 
void SetValue (double d)
 
void ForceValue (double d)
 
double Increment (const SEScalar &s)
 
double Increment (double d)
 
double ForceIncrement (double d)
 
double Multiply (double d)
 
void Average (int cnt)
 
bool Equals (const SEScalar &to) const
 
virtual std::string ToString () const
 
virtual void ToString (std::ostream &str) const
 
- Public Member Functions inherited from SEProperty
 SEProperty ()
 
virtual ~SEProperty ()
 
virtual void Invalidate ()=0
 
virtual bool IsValid () const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from SEScalar
static double dNaN ()
 
static bool IsNumber (double d)
 
static bool IsZero (double value, double limit)
 
static bool IsValue (double target, double value)
 
static double Truncate (double value, int decimal_places)
 
- Protected Member Functions inherited from SEScalarQuantity< MassPerVolumeUnit >
bool Set (const SEScalar &s) override
 
void Copy (const SEScalar &s) override
 
bool Force (const SEScalar &s) override
 
double GetValue (const CCompoundUnit &unit) const override
 
double GetValue (const CCompoundUnit &unit, int decimal_places) const override
 
void SetValue (double d, const CCompoundUnit &unit) override
 
void ForceValue (double d, const CCompoundUnit &unit) override
 
double Increment (double d, const CCompoundUnit &unit) override
 
double ForceIncrement (double d, const CCompoundUnit &unit) override
 
const CCompoundUnitGetCompoundUnit (const std::string &unit) const override
 
virtual const CCompoundUnitGetCompoundUnit (const std::string &unit) const =0
 
- Protected Attributes inherited from SEScalarQuantity< MassPerVolumeUnit >
const MassPerVolumeUnitm_unit
 
- Protected Attributes inherited from SEScalar
double m_value
 
bool m_isnan =true
 
bool m_isinf =false
 
bool m_readOnly =false
 

Constructor & Destructor Documentation

◆ SEScalarMassPerVolume()

SEScalarMassPerVolume::SEScalarMassPerVolume ( )
inline

◆ ~SEScalarMassPerVolume()

virtual SEScalarMassPerVolume::~SEScalarMassPerVolume ( )
inlinevirtual

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.