SEScalar0To1 Class Reference

#include <SEScalar0To1.h>

Inherits SEScalar.

Public Member Functions

 SEScalar0To1 ()
 
virtual ~SEScalar0To1 ()
 
double GetValue () const
 
double GetValue (const NoUnit &unitless) const
 
void SetValue (double d)
 
void SetValue (double d, const NoUnit &unitless)
 
void ForceValue (double d)
 
void ForceValue (double d, const NoUnit &unitless)
 
- Public Member Functions inherited from SEScalar
 SEScalar ()
 
virtual ~SEScalar ()
 
virtual void Clear ()
 
virtual void Invalidate ()
 
bool Set (const SEScalar &s)
 
void Copy (const SEScalar &s)
 
virtual bool IsValid () const
 
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 ()
 

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
 

Constructor & Destructor Documentation

◆ SEScalar0To1()

SEScalar0To1::SEScalar0To1 ( )

◆ ~SEScalar0To1()

virtual SEScalar0To1::~SEScalar0To1 ( )
inlinevirtual

Member Function Documentation

◆ ForceValue() [1/2]

void SEScalar0To1::ForceValue ( double  d)

◆ ForceValue() [2/2]

void SEScalar0To1::ForceValue ( double  d,
const NoUnit unitless 
)

◆ GetValue() [1/2]

double SEScalar0To1::GetValue ( ) const
inline

◆ GetValue() [2/2]

double SEScalar0To1::GetValue ( const NoUnit unitless) const
inline

◆ SetValue() [1/2]

void SEScalar0To1::SetValue ( double  d)

◆ SetValue() [2/2]

void SEScalar0To1::SetValue ( double  d,
const NoUnit unitless 
)