SEScalarPressure Class Reference

#include <SEScalarPressure.h>

Inherits SEScalarQuantity< PressureUnit >.

Public Member Functions

 SEScalarPressure ()
 
virtual ~SEScalarPressure ()
 
- Public Member Functions inherited from SEScalarQuantity< PressureUnit >
 SEScalarQuantity ()
 
virtual ~SEScalarQuantity ()
 
void Invalidate () override
 
void ForceInvalidate () override
 
bool IsValid () const override
 
virtual bool Set (const SEScalarQuantity< PressureUnit > &s)
 
virtual void Copy (const SEScalarQuantity< PressureUnit > &s)
 
virtual bool Force (const SEScalarQuantity< PressureUnit > &s)
 
double GetValue () const=delete
 
double GetValue (int precision) const=delete
 
virtual double GetValue (const PressureUnit &unit) const
 
virtual double GetValue (const PressureUnit &unit, int decimal_places) const
 
void SetValue (double d)=delete
 
virtual void SetValue (double d, const PressureUnit &unit)
 
void ForceValue (double d)=delete
 
virtual void ForceValue (double d, const PressureUnit &unit)
 
double Increment (const SEScalar &s)=delete
 
virtual double Increment (const SEScalarQuantity &s)
 
double Increment (double d)=delete
 
virtual double Increment (double d, const PressureUnit &unit)
 
double ForceIncrement (double d)=delete
 
virtual double ForceIncrement (double d, const PressureUnit &unit)
 
bool HasUnit () const override
 
const PressureUnitGetUnit () const override
 
bool Equals (const SEScalar &to) const=delete
 
virtual bool Equals (const SEScalarQuantity< PressureUnit > &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< PressureUnit >
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< PressureUnit >
const PressureUnitm_unit
 
- Protected Attributes inherited from SEScalar
double m_value
 
bool m_isnan =true
 
bool m_isinf =false
 
bool m_readOnly =false
 

Constructor & Destructor Documentation

◆ SEScalarPressure()

SEScalarPressure::SEScalarPressure ( )
inline

◆ ~SEScalarPressure()

virtual SEScalarPressure::~SEScalarPressure ( )
inlinevirtual

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.