SEScalarUnsigned Class Reference

#include <SEScalarUnsigned.h>

Inherits SEScalar.

Public Member Functions

 SEScalarUnsigned ()
 
virtual ~SEScalarUnsigned ()
 
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 ()
 
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 Attributes inherited from SEScalar
double m_value
 
bool m_isnan =true
 
bool m_isinf =false
 
bool m_readOnly =false
 

Constructor & Destructor Documentation

◆ SEScalarUnsigned()

SEScalarUnsigned::SEScalarUnsigned ( )

◆ ~SEScalarUnsigned()

virtual SEScalarUnsigned::~SEScalarUnsigned ( )
inlinevirtual

Member Function Documentation

◆ ForceValue() [1/2]

void SEScalarUnsigned::ForceValue ( double  d)

◆ ForceValue() [2/2]

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

◆ GetValue() [1/2]

double SEScalarUnsigned::GetValue ( ) const
inline

◆ GetValue() [2/2]

double SEScalarUnsigned::GetValue ( const NoUnit ) const
inline

◆ SetValue() [1/2]

void SEScalarUnsigned::SetValue ( double  d)

◆ SetValue() [2/2]

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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.