SEScalar0To1 Class Reference

#include <SEScalar0To1.h>

Inherits SEScalar.

Public Member Functions

 SEScalar0To1 ()
 
virtual ~SEScalar0To1 ()
 
double GetValue () const
 
double GetValue (const NoUnit &) 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 Invalidate ()
 
virtual void ForceInvalidate ()
 
bool Set (const SEScalar &s)
 
bool Force (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)
 
double ForceIncrementValue (double d)
 
double Multiply (const SEScalar &s)
 
double MultiplyValue (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)
 
- Protected Attributes inherited from SEScalar
double m_value
 
bool m_isnan =true
 
bool m_isinf =false
 
bool m_readOnly =false
 

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 ) const
inline

◆ SetValue() [1/2]

void SEScalar0To1::SetValue ( double  d)

◆ SetValue() [2/2]

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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.