OpendTect
6.6
|
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 |
const char * | errMsg () const |
void | fillDefStr (BufferString &) const |
bool | getCompositeValue (BufferString &) const |
const char * | getPrefix () const |
int | isEmpty () const |
bool | isOK () const |
Param & | operator[] (int idx) |
const Param & | operator[] (int idx) const |
void | setSize (int) |
bool | setValues (BufferStringSet &) |
int | size () const |
Public Member Functions inherited from Attrib::Param | |
Param (const char *key) | |
Param (const Param &) | |
virtual | ~Param () |
virtual BufferString | getDefaultValue () const |
FixedString | 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 |
Protected Member Functions inherited from Attrib::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 |
|
inlinevirtual |
Implements Attrib::Param.
|
inline |
|
inlinevirtual |
Implements Attrib::Param.
|
inlinevirtual |
Put all values into one string.
Implements Attrib::Param.
|
inline |
|
inlineprotected |
|
inline |
|
inlineprotectedvirtual |
Implements Attrib::Param.
|
inlinevirtual |
Implements Attrib::Param.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
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-2022