OpendTect
6.6
|
A parameter that is used by an attribute. More...
Public Member Functions | |
Param (const char *key) | |
Param (const Param &) | |
virtual | ~Param () |
virtual Param * | clone () const =0 |
virtual void | fillDefStr (BufferString &) const =0 |
virtual bool | getCompositeValue (BufferString &) const =0 |
virtual BufferString | getDefaultValue () const |
FixedString | getKey () const |
bool | isEnabled () const |
bool | isGroup () const |
virtual bool | isOK () const =0 |
bool | isRequired () const |
bool | operator!= (const Param &p) const |
bool | operator== (const Param &p) const |
virtual bool | setCompositeValue (const char *) |
void | setEnabled (bool yn=true) |
void | setKey (const char *newkey) |
void | setRequired (bool yn=true) |
virtual bool | setValues (BufferStringSet &) |
Protected Member Functions | |
bool | _isEqual (const Param &p) const |
virtual bool | isEqual (const Param &) const =0 |
Protected Attributes | |
bool | enabled_ |
bool | isgroup_ |
BufferString | key_ |
bool | required_ |
A parameter that is used by an attribute.
Each attribute has a definition string that defines how the attribute is computed. The definition string has the format:
AttribNameWithoutSpaces param1=value1 param2=value2,value3
The parameter thus has a key (e.g. param1) and one or more associated values.
<>
Attrib::Param::Param | ( | const char * | key | ) |
Attrib::Param::Param | ( | const Param & | ) |
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
|
pure virtual |
Implemented in Attrib::ParamGroup< PT >, Attrib::ValParam, and Attrib::EnumParam.
|
pure virtual |
Put all values into one string.
Implemented in Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::ParamGroup< PT >, Attrib::ValParam, Attrib::StringParam, and Attrib::BinIDParam.
|
inlinevirtual |
Reimplemented in Attrib::ValParam, Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, Attrib::EnumParam, Attrib::BoolParam, and Attrib::BinIDParam.
|
inline |
|
inline |
|
protectedpure virtual |
Implemented in Attrib::ParamGroup< PT >, and Attrib::ValParam.
|
inline |
|
pure virtual |
Implemented in Attrib::ParamGroup< PT >, Attrib::ValParam, and Attrib::SeisStorageRefParam.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Set all values from one composite string.
Reimplemented in Attrib::ValParam, Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, Attrib::BoolParam, and Attrib::BinIDParam.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Set all values from multiple strings.
Reimplemented in Attrib::ParamGroup< PT >.
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022