Numerical parameter that is used by an attribute. For example: IntParam, FloatParam and DoubleParam.
More...
|
| NumParam (const char *key) |
|
| NumParam (const char *key, T defval, bool isreq=true) |
|
| NumParam (const NumParam< T > &) |
|
| ~NumParam () |
|
NumParam< T > * | clone () const override |
|
bool | getCompositeValue (BufferString &res) const override |
|
BufferString | getDefaultValue () const override |
|
double | getDValue (int idx=0) const override |
|
float | getFValue (int idx=0) const override |
|
int | getIntValue (int idx=0) const override |
|
const StepInterval< T > * | limits () const |
|
bool | setCompositeValue (const char *) override |
|
void | setLimits (const Interval< T > &) |
|
void | setLimits (const StepInterval< T > &) |
|
void | setLimits (T start, T stop, T step=1) |
|
| ValParam (const char *key, DataInpSpec *) |
|
| ValParam (const ValParam &) |
|
virtual | ~ValParam () |
|
ValParam * | clone () const override |
|
void | fillDefStr (BufferString &) const override |
|
bool | getBoolValue (int idx=0) const |
|
bool | getCompositeValue (BufferString &) const override |
|
bool | getDefaultBoolValue (int idx=0) const |
|
virtual double | getDefaultdValue (int idx=0) const |
|
virtual float | getDefaultfValue (int idx=0) const |
|
virtual int | getDefaultIntValue (int idx=0) const |
|
const char * | getDefaultStringValue (int idx=0) const |
|
BufferString | getDefaultValue () const override |
|
double | getdValue (int idx=0) const |
|
float | getfValue (int idx=0) const |
|
DataInpSpec * | getSpec () |
|
const DataInpSpec * | getSpec () const |
|
const char * | getStringValue (int idx=0) const |
|
bool | isOK () const override |
|
int | nrValues () const |
|
bool | setCompositeValue (const char *) override |
|
void | setDefaultValue (bool, int idx=0) |
|
void | setDefaultValue (const char *, int idx=0) |
|
void | setDefaultValue (double, int idx=0) |
|
void | setDefaultValue (float, int idx=0) |
|
void | setDefaultValue (int, int idx=0) |
|
void | setValue (bool, int idx=0) |
|
void | setValue (const char *, int idx=0) |
|
void | setValue (const MultiID &, int idx=0) |
|
void | setValue (double, int idx=0) |
|
void | setValue (float, int idx=0) |
|
void | setValue (int, int idx=0) |
|
virtual | ~Param () |
|
StringView | getKey () const |
|
bool | isEnabled () const |
|
bool | isGroup () const |
|
bool | isRequired () const |
|
bool | operator!= (const Param &p) const |
|
bool | operator== (const Param &p) const |
|
void | setEnabled (bool yn=true) |
|
void | setKey (const char *newkey) |
|
void | setRequired (bool yn=true) |
|
virtual bool | setValues (BufferStringSet &) |
|
template<class T>
class Attrib::NumParam< T >
Numerical parameter that is used by an attribute. For example: IntParam, FloatParam and DoubleParam.
<>