Public Member Functions |
Protected Attributes |
Private Member Functions |
Static Private Member Functions |
List of all members
SEScalarEnum< Enum > Class Template Reference
#include <SEScalar.h>
Inheritance diagram for SEScalarEnum< Enum >:
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) |
Public Member Functions inherited from SEScalar | |
| SEScalar () | |
| virtual | ~SEScalar () |
| 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 () |
Protected Attributes | |
| Enum | m_enum |
Protected Attributes inherited from SEScalar | |
| double | m_value |
| bool | m_isnan =true |
| bool | m_isinf =false |
| bool | m_readOnly =false |
Private Member Functions | |
| bool | IsInfinity () const |
| bool | IsPositive () const |
| bool | IsNegative () const |
| bool | IsZero (double limit=ZERO_APPROX) 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) |
Static Private Member Functions | |
| static bool | IsZero (double value, double limit) |
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) |
Constructor & Destructor Documentation
◆ SEScalarEnum()
template<typename Enum >
|
inline |
◆ ~SEScalarEnum()
template<typename Enum >
|
inlinevirtual |
Member Function Documentation
◆ Average()
template<typename Enum >
|
private |
◆ Copy()
template<typename Enum >
|
inline |
◆ ForceIncrement()
template<typename Enum >
|
private |
◆ ForceInvalidate()
template<typename Enum >
|
inlineoverridevirtual |
Reimplemented from SEScalar.
◆ ForceValue()
template<typename Enum >
|
private |
◆ GetEnum()
template<typename Enum >
|
inline |
◆ Increment() [1/2]
template<typename Enum >
|
private |
◆ Increment() [2/2]
template<typename Enum >
|
private |
◆ Invalidate()
template<typename Enum >
|
inlineoverridevirtual |
Sets the value to NaN and removes the unit Note that this does not affect bounds
Reimplemented from SEScalar.
◆ IsInfinity()
template<typename Enum >
|
inlineprivate |
◆ IsNegative()
template<typename Enum >
|
private |
◆ IsPositive()
template<typename Enum >
|
private |
◆ IsZero() [1/2]
template<typename Enum >
|
private |
◆ IsZero() [2/2]
template<typename Enum >
|
staticprivate |
◆ Multiply()
template<typename Enum >
|
private |
◆ operator!=()
template<typename Enum >
|
inline |
◆ operator=()
template<typename Enum >
|
inline |
◆ operator==()
template<typename Enum >
|
inline |
◆ Set()
template<typename Enum >
|
inline |
◆ SetValue()
template<typename Enum >
|
private |
Member Data Documentation
◆ m_enum
template<typename Enum >
|
protected |

Public Member Functions inherited from