![]() |
OpendTect
6.6
|
Attribute Value Parameter. More...
Public Member Functions | |
| ValParam (const char *key, DataInpSpec *) | |
| ValParam (const ValParam &) | |
| ~ValParam () | |
| virtual ValParam * | clone () const |
| virtual void | fillDefStr (BufferString &) const |
| bool | getBoolValue (int idx=0) const |
| virtual bool | getCompositeValue (BufferString &) const |
| 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 |
| virtual BufferString | getDefaultValue () const |
| virtual double | getDValue (int idx=0) const |
| double | getdValue (int idx=0) const |
| virtual float | getFValue (int idx=0) const |
| float | getfValue (int idx=0) const |
| virtual int | getIntValue (int idx=0) const |
| DataInpSpec * | getSpec () |
| const DataInpSpec * | getSpec () const |
| const char * | getStringValue (int idx=0) const |
| virtual bool | isOK () const |
| int | nrValues () const |
| virtual bool | setCompositeValue (const char *) |
| 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 (double, int idx=0) |
| void | setValue (float, int idx=0) |
| void | setValue (int, int idx=0) |
Public Member Functions inherited from Attrib::Param | |
| Param (const char *key) | |
| Param (const Param &) | |
| virtual | ~Param () |
| FixedString | 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 &) |
Protected Member Functions | |
| virtual bool | isEqual (const Param &) const |
Protected Member Functions inherited from Attrib::Param | |
| bool | _isEqual (const Param &p) const |
Protected Attributes | |
| DataInpSpec * | spec_ |
Protected Attributes inherited from Attrib::Param | |
| bool | enabled_ |
| bool | isgroup_ |
| BufferString | key_ |
| bool | required_ |
Attribute Value Parameter.
<>
| Attrib::ValParam::ValParam | ( | const char * | key, |
| DataInpSpec * | |||
| ) |
| Attrib::ValParam::ValParam | ( | const ValParam & | ) |
| Attrib::ValParam::~ValParam | ( | ) |
|
virtual |
Implements Attrib::Param.
Reimplemented in Attrib::SeisStorageRefParam, Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, Attrib::EnumParam, Attrib::BoolParam, and Attrib::BinIDParam.
|
virtual |
Implements Attrib::Param.
Reimplemented in Attrib::EnumParam.
| bool Attrib::ValParam::getBoolValue | ( | int | idx = 0 | ) | const |
|
virtual |
Put all values into one string.
Implements Attrib::Param.
Reimplemented in Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, and Attrib::BinIDParam.
| bool Attrib::ValParam::getDefaultBoolValue | ( | int | idx = 0 | ) | const |
|
virtual |
|
virtual |
|
virtual |
| const char* Attrib::ValParam::getDefaultStringValue | ( | int | idx = 0 | ) | const |
|
inlinevirtual |
Reimplemented from Attrib::Param.
Reimplemented in Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, Attrib::EnumParam, Attrib::BoolParam, and Attrib::BinIDParam.
|
virtual |
Reimplemented in Attrib::NumParam< T >.
|
inline |
|
virtual |
Reimplemented in Attrib::NumParam< T >.
|
inline |
|
virtual |
Reimplemented in Attrib::NumParam< T >.
|
inline |
|
inline |
| const char* Attrib::ValParam::getStringValue | ( | int | idx = 0 | ) | const |
|
protectedvirtual |
Implements Attrib::Param.
|
virtual |
Implements Attrib::Param.
Reimplemented in Attrib::SeisStorageRefParam.
| int Attrib::ValParam::nrValues | ( | ) | const |
|
virtual |
Set all values from one composite string.
Reimplemented from Attrib::Param.
Reimplemented in Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, Attrib::BoolParam, and Attrib::BinIDParam.
| void Attrib::ValParam::setDefaultValue | ( | bool | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setDefaultValue | ( | const char * | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setDefaultValue | ( | double | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setDefaultValue | ( | float | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setDefaultValue | ( | int | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setValue | ( | bool | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setValue | ( | const char * | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setValue | ( | double | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setValue | ( | float | , |
| int | idx = 0 |
||
| ) |
| void Attrib::ValParam::setValue | ( | int | , |
| int | idx = 0 |
||
| ) |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022