OpendTect
7.0
|
Attrib::Param that contains many (a set) Attrib::Param of one kind. More...
Public Member Functions | |
ParamGroup (const ParamGroup &) | |
ParamGroup (int startsz, const char *prefix, const PT &templ) | |
~ParamGroup () | |
ParamGroup< PT > * | clone () const override |
const char * | errMsg () const |
void | fillDefStr (BufferString &) const override |
bool | getCompositeValue (BufferString &) const override |
const char * | getPrefix () const |
int | isEmpty () const |
bool | isOK () const override |
Param & | operator[] (int idx) |
const Param & | operator[] (int idx) const |
void | setSize (int) |
bool | setValues (BufferStringSet &) override |
int | size () const |
Public Member Functions inherited from Attrib::Param | |
virtual | ~Param () |
virtual BufferString | getDefaultValue () const |
StringView | getKey () const |
bool | isEnabled () const |
bool | isGroup () const |
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) |
Protected Member Functions | |
int | getSize () const |
bool | isEqual (const Param &) const override |
Protected Member Functions inherited from Attrib::Param | |
Param (const char *key) | |
Param (const Param &) | |
bool | _isEqual (const Param &p) const |
Protected Attributes | |
BufferString | errmsg_ |
ObjectSet< PT > | params_ |
const BufferString | prefix_ |
int | sz_ |
PT | templ_ |
Protected Attributes inherited from Attrib::Param | |
bool | enabled_ |
bool | isgroup_ |
BufferString | key_ |
bool | required_ |
Attrib::Param that contains many (a set) Attrib::Param of one kind.
It's made for parameters where you don't know how many are required. An example can be positions, where the number of positions are unknown at the beginning of parsing.
The Attrib::ParamGroup have a prefix and constructs parameter names on the form prefix + figure:
pos0, pos1, ..., posN.
The Attrib::ParamGroup is constructed by: Attrib::ParamGroup( int startsz, const char* prefix, const PT& templ ),
where startsz is the number of instances at the beginning, templ is a a template for the parameters that should be constructed.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements Attrib::Param.
|
inline |
|
inlineoverridevirtual |
Implements Attrib::Param.
|
inlineoverridevirtual |
Put all values into one string.
Implements Attrib::Param.
|
inline |
|
inlineprotected |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements Attrib::Param.
|
inlineoverridevirtual |
Implements Attrib::Param.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Set all values from multiple strings.
Reimplemented from Attrib::Param.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024