#include <math.h>
Public Member Functions |
|
CheckableFloatArray () | |
void | SetState (bool b) |
Sets the associated boolean value. |
|
bool | State (void) const |
Retrieves the associated boolean value.
|
|
float | Value (unsigned int i) const |
void | SetValue (int i, float v) |
void | AddElement (int i, QString sLabel, float fMin, float fMax, float fValue) |
unsigned int | Size () const |
bool | IsComplementary () const |
the return value is true when the second
range is [0, m_aMax[0] - m_aValue[0]]. |
|
void | SetComplementary (bool b) |
bool | operator== (const CheckableFloatArray &) const throw () |
bool | operator!= (const CheckableFloatArray &v) const throw () |
void | Serialize (Stream &s) |
Public Attributes |
|
unsigned int | m_iSize |
QString | m_aLabel [2] |
float | m_aMin [2] |
float | m_aMax [2] |
float | m_aValue [2] |
bool | m_bComplementary |
Static Public Attributes |
|
static bool | s_bActive |
CheckableFloatArray | ( | ) | [inline] |
void SetState | ( | bool | b | ) | [inline] |
bool State | ( | void | ) | const [inline] |
float Value | ( | unsigned int | i | ) | const [inline] |
void SetValue | ( | int | i, |
float | v | ||
) | [inline] |
void AddElement | ( | int | i, |
QString | sLabel, | ||
float | fMin, | ||
float | fMax, | ||
float | fValue | ||
) | [inline] |
Definition at line 1652 of file math.h.
{ m_bComplementary = b; } inline bool operator ==( const CheckableFloatArray & ) const throw() { return false; }; inline bool operator !=( const CheckableFloatArray &v ) const throw() { return !operator ==( v ); }; void Serialize( Stream &s ) { s == s_bActive == m_iSize == m_bComplementary; for (unsigned int i = 0; i < m_iSize; ++i)
unsigned int Size | ( | void | ) | const [inline] |
bool IsComplementary | ( | ) | const [inline] |
void SetComplementary | ( | bool | b | ) | [inline] |
bool operator== | ( | const CheckableFloatArray & | ) | const throw () [inline] |
bool operator!= | ( | const CheckableFloatArray & | v | ) | const throw () [inline] |
void Serialize | ( | Stream & | s | ) | [inline] |
bool
s_bActive [static] |
unsigned int m_iSize |
QString m_aLabel[2] |
float m_aMin[2] |
float m_aMax[2] |
float m_aValue[2] |
bool m_bComplementary |