Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
SEScalarQuantity< Unit > Class Template Reference
#include <SEScalar.h>
Inherits SEUnitScalar.
Public Member Functions | |
SEScalarQuantity () | |
virtual | ~SEScalarQuantity () |
virtual void | Clear () |
virtual void | Invalidate () |
virtual bool | IsValid () const |
virtual bool | Set (const SEScalarQuantity< Unit > &s) |
virtual void | Copy (const SEScalarQuantity< Unit > &s) |
virtual bool | HasUnit () const |
virtual const Unit * | GetUnit () const |
double | GetValue () const =delete |
virtual double | GetValue (const Unit &unit) const |
void | SetValue (double d)=delete |
virtual void | SetValue (double d, const Unit &unit) |
void | ForceValue (double d)=delete |
virtual void | ForceValue (double d, const Unit &unit) |
double | IncrementValue (double d)=delete |
virtual double | IncrementValue (double d, const Unit &unit) |
double | Increment (const SEScalar &s)=delete |
virtual double | Increment (const SEScalarQuantity &s) |
double | MultiplyValue (double d)=delete |
virtual double | MultiplyValue (double d, const Unit &unit) |
double | Multiply (const SEScalar &s)=delete |
virtual double | Multiply (const SEScalarQuantity &s) |
bool | Equals (const SEScalar &to) const =delete |
virtual bool | Equals (const SEScalarQuantity< Unit > &to) const |
virtual std::string | ToString () const |
virtual void | ToString (std::ostream &str) const |
![]() | |
SEUnitScalar () | |
virtual | ~SEUnitScalar () |
![]() | |
SEScalar () | |
virtual | ~SEScalar () |
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) |
double | Multiply (const SEScalar &s) |
double | MultiplyValue (double d) |
void | Average (int cnt) |
bool | Equals (const SEScalar &to) const |
![]() | |
SEProperty () | |
virtual | ~SEProperty () |
Protected Member Functions | |
bool | Set (const SEScalar &s) |
void | Copy (const SEScalar &s) |
virtual double | GetValue (const CCompoundUnit &unit) const |
virtual void | SetValue (double d, const CCompoundUnit &unit) |
virtual void | ForceValue (double d, const CCompoundUnit &unit) |
virtual double | IncrementValue (double d, const CCompoundUnit &unit) |
virtual double | MultiplyValue (double d, const CCompoundUnit &unit) |
virtual const CCompoundUnit * | GetCompoundUnit (const std::string &unit) const |
Protected Attributes | |
const Unit * | m_unit |
![]() | |
double | m_value |
bool | m_isnan |
bool | m_isinf |
bool | m_readOnly |
Friends | |
class | PBProperty |
Additional Inherited Members | |
![]() | |
static double | dNaN () |
static bool | IsNumber (double d) |
static bool | IsZero (double value, double limit) |
static bool | IsValue (double target, double value) |
![]() | |
static unsigned long long int | NaN |
Constructor & Destructor Documentation
◆ SEScalarQuantity()
template<typename Unit >
SEScalarQuantity< Unit >::SEScalarQuantity | ( | ) |
◆ ~SEScalarQuantity()
template<typename Unit >
|
virtual |
Member Function Documentation
◆ Clear()
template<typename Unit >
|
virtual |
Reimplemented from SEScalar.
◆ Copy() [1/2]
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ Copy() [2/2]
template<typename Unit>
|
virtual |
◆ Equals() [1/2]
template<typename Unit>
|
delete |
◆ Equals() [2/2]
template<typename Unit>
|
virtual |
◆ ForceValue() [1/3]
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ ForceValue() [2/3]
template<typename Unit>
|
delete |
◆ ForceValue() [3/3]
template<typename Unit>
|
virtual |
◆ GetCompoundUnit()
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ GetUnit()
template<typename Unit >
|
virtual |
Implements SEUnitScalar.
◆ GetValue() [1/3]
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ GetValue() [2/3]
template<typename Unit>
|
delete |
◆ GetValue() [3/3]
template<typename Unit>
|
virtual |
Reimplemented in SEScalarTemperature.
◆ HasUnit()
template<typename Unit >
|
virtual |
Implements SEUnitScalar.
◆ Increment() [1/2]
template<typename Unit>
|
delete |
◆ Increment() [2/2]
template<typename Unit >
|
virtual |
◆ IncrementValue() [1/3]
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ IncrementValue() [2/3]
template<typename Unit>
|
delete |
◆ IncrementValue() [3/3]
template<typename Unit>
|
virtual |
◆ Invalidate()
template<typename Unit >
|
virtual |
Sets the value to NaN and removes the unit Note that this does not affect bounds
Implements SEUnitScalar.
◆ IsValid()
template<typename Unit >
|
virtual |
Implements SEUnitScalar.
◆ Multiply() [1/2]
template<typename Unit>
|
delete |
◆ Multiply() [2/2]
template<typename Unit >
|
virtual |
◆ MultiplyValue() [1/3]
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ MultiplyValue() [2/3]
template<typename Unit>
|
delete |
◆ MultiplyValue() [3/3]
template<typename Unit>
|
virtual |
◆ Set() [1/2]
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ Set() [2/2]
template<typename Unit>
|
virtual |
◆ SetValue() [1/3]
template<typename Unit >
|
protectedvirtual |
Implements SEUnitScalar.
◆ SetValue() [2/3]
template<typename Unit>
|
delete |
◆ SetValue() [3/3]
template<typename Unit>
|
virtual |
◆ ToString() [1/2]
template<typename Unit >
|
virtual |
Reimplemented from SEScalar.
◆ ToString() [2/2]
template<typename Unit >
|
virtual |
Reimplemented from SEScalar.
Friends And Related Function Documentation
◆ PBProperty
template<typename Unit>
|
friend |
Member Data Documentation
◆ m_unit
template<typename Unit>
|
protected |