OpendTect
7.0
|
Specifications for list of character string inputs. More...
Public Member Functions | |
StringListInpSpec (const BufferStringSet &) | |
StringListInpSpec (const char **sl=0) | |
StringListInpSpec (const EnumDef &) | |
EnumDef is assumed to remain in mem. More... | |
StringListInpSpec (const StringListInpSpec &) | |
StringListInpSpec (const uiString *) | |
StringListInpSpec (const uiStringSet &) | |
~StringListInpSpec () | |
void | addString (const uiString &txt) |
DataInpSpec * | clone () const override |
const EnumDef * | enumDef () const |
int | getDefaultIntValue (int idx=0) const override |
double | getDValue (int idx=0) const override |
float | getFValue (int idx=0) const override |
od_int64 | getInt64Value (int idx=0) const override |
int | getIntValue (int idx=0) const override |
bool | isSet () const |
bool | isUndef (int idx=0) const override |
void | setDefaultValue (bool val, int idx=0) override |
void | setDefaultValue (const char *val, int idx=0) override |
void | setDefaultValue (double val, int idx=0) override |
void | setDefaultValue (float val, int idx=0) override |
void | setDefaultValue (int i, int idx=0) override |
void | setEnumDef (const EnumDef &) |
EnumDef is assumed to remain in mem. More... | |
void | setItemText (int idx, const uiString &) |
void | setSet (bool yn=true) |
bool | setText (const char *s, int nr) override |
void | setValue (bool val, int idx=0) override |
void | setValue (double d, int idx=0) override |
void | setValue (float f, int idx=0) override |
void | setValue (int i, int idx=0) override |
void | setValue (od_int64 i, int idx=0) override |
const uiStringSet & | strings () const |
const char * | text (int idx=0) const override |
Public Member Functions inherited from DataInpSpec | |
DataInpSpec (const DataInpSpec &) | |
DataInpSpec (DataType) | |
virtual | ~DataInpSpec () |
void | fillPar (IOPar &) const |
virtual bool | getBoolValue (int idx=0) const |
virtual bool | getDefaultBoolValue (int idx=0) const |
virtual float | getDefaultfValue (int idx=0) const |
virtual const char * | getDefaultStringValue (int idx=0) const |
virtual double | getDefaultValue (int idx=0) const |
double | getdValue (int idx=0) const |
float | getfValue (int idx=0) const |
virtual bool | hasLimits () const |
virtual bool | isInsideLimits (int idx=0) const |
virtual const char * | name (int idx=0) const |
virtual int | nElems () const |
virtual DataInpSpec & | setName (const char *, int idx=0) |
DataType | type () const |
bool | usePar (const IOPar &) |
Protected Attributes | |
int | cur_ |
int | defaultval_ |
const EnumDef * | enumdef_ |
bool | isset_ |
uiStringSet | strings_ |
Protected Attributes inherited from DataInpSpec | |
TypeSet< int > | nameidxs_ |
BufferStringSet | names_ |
bool | prefempty_ |
DataType | tp_ |
Additional Inherited Members | |
Protected Member Functions inherited from DataInpSpec | |
void | setType (DataType t) |
Specifications for list of character string inputs.
<>
StringListInpSpec::StringListInpSpec | ( | const BufferStringSet & | ) |
StringListInpSpec::StringListInpSpec | ( | const uiStringSet & | ) |
StringListInpSpec::StringListInpSpec | ( | const char ** | sl = 0 | ) |
StringListInpSpec::StringListInpSpec | ( | const uiString * | ) |
Similar to const char** Adds strings until an empty string is found.
StringListInpSpec::StringListInpSpec | ( | const StringListInpSpec & | ) |
StringListInpSpec::~StringListInpSpec | ( | ) |
void StringListInpSpec::addString | ( | const uiString & | txt | ) |
|
overridevirtual |
Implements DataInpSpec.
|
inline |
|
overridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Sets the values (with setText())
Reimplemented from DataInpSpec.
|
inline |
|
overridevirtual |
Implements DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
void StringListInpSpec::setItemText | ( | int | idx, |
const uiString & | |||
) |
|
inline |
|
overridevirtual |
Implements DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
|
overridevirtual |
Reimplemented from DataInpSpec.
const uiStringSet& StringListInpSpec::strings | ( | ) | const |
|
overridevirtual |
Implements DataInpSpec.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024