SEScalarEnum< Enum > Class Template Reference
#include <SEScalar.h>
Inherits SEScalar.
Public Member Functions | |
SEScalarEnum () | |
virtual | ~SEScalarEnum () |
virtual void | Invalidate () override |
virtual void | ForceInvalidate () override |
void | Set (const SEScalarEnum< Enum > &s) |
void | Copy (const SEScalarEnum< Enum > &s) |
Enum | GetEnum () const |
void | operator= (const Enum &e) |
bool | operator== (const Enum &e) |
bool | operator!= (const Enum &e) |
![]() | |
SEScalar () | |
virtual | ~SEScalar () |
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 | 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 |
![]() | |
SEProperty () | |
virtual | ~SEProperty () |
Protected Attributes | |
Enum | m_enum |
![]() | |
double | m_value |
bool | m_isnan =true |
bool | m_isinf =false |
bool | m_readOnly =false |
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
◆ SEScalarEnum()
template<typename Enum>
|
inline |
◆ ~SEScalarEnum()
template<typename Enum>
|
inlinevirtual |
Member Function Documentation
◆ Copy()
template<typename Enum>
|
inline |
◆ ForceInvalidate()
template<typename Enum>
|
inlineoverridevirtual |
Reimplemented from SEScalar.
◆ GetEnum()
template<typename Enum>
|
inline |
◆ Invalidate()
template<typename Enum>
|
inlineoverridevirtual |
Sets the value to NaN and removes the unit Note that this does not affect bounds
Reimplemented from SEScalar.
◆ operator!=()
template<typename Enum>
|
inline |
◆ operator=()
template<typename Enum>
|
inline |
◆ operator==()
template<typename Enum>
|
inline |
◆ Set()
template<typename Enum>
|
inline |
Member Data Documentation
◆ m_enum
template<typename Enum>
|
protected |