OpendTect-6_4
6.4
|
Attrib::Param that contains many (a set) Attrib::Param of one kind. More...
Public Member Functions | |
ParamGroup (int startsz, const char *prefix, const PT &templ) | |
ParamGroup (const ParamGroup &) | |
~ParamGroup () | |
ParamGroup< PT > * | clone () const |
bool | isOK () const |
const char * | errMsg () const |
bool | setValues (BufferStringSet &) |
bool | getCompositeValue (BufferString &) const |
void | fillDefStr (BufferString &) const |
Param & | operator[] (int idx) |
const Param & | operator[] (int idx) const |
void | setSize (int) |
int | size () const |
int | isEmpty () const |
const char * | getPrefix () const |
Public Member Functions inherited from Attrib::Param | |
Param (const char *key) | |
Param (const Param &) | |
virtual | ~Param () |
bool | operator== (const Param &p) const |
bool | operator!= (const Param &p) const |
bool | isEnabled () const |
void | setEnabled (bool yn=true) |
bool | isRequired () const |
void | setRequired (bool yn=true) |
bool | isGroup () const |
FixedString | getKey () const |
virtual bool | setCompositeValue (const char *) |
virtual BufferString | getDefaultValue () const |
void | setKey (const char *newkey) |
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 | |
int | sz_ |
const BufferString | prefix_ |
PT | templ_ |
ObjectSet< PT > | params_ |
BufferString | errmsg_ |
Protected Attributes inherited from Attrib::Param | |
BufferString | key_ |
bool | isgroup_ |
bool | enabled_ |
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. 2019