OpendTect
6.6
|
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) |
virtual DataInpSpec * | clone () const |
const EnumDef * | enumDef () const |
virtual int | getDefaultIntValue (int idx=0) const |
virtual double | getDValue (int idx=0) const |
virtual float | getFValue (int idx=0) const |
virtual od_int64 | getInt64Value (int idx=0) const |
virtual int | getIntValue (int idx=0) const |
bool | isSet () const |
virtual bool | isUndef (int idx=0) const |
virtual void | setDefaultValue (bool val, int idx=0) |
virtual void | setDefaultValue (const char *val, int idx=0) |
virtual void | setDefaultValue (double val, int idx=0) |
virtual void | setDefaultValue (float val, int idx=0) |
virtual void | setDefaultValue (int i, int idx=0) |
void | setEnumDef (const EnumDef &) |
EnumDef is assumed to remain in mem. More... | |
void | setItemText (int idx, const uiString &) |
void | setSet (bool yn=true) |
virtual bool | setText (const char *s, int nr) |
virtual void | setValue (bool val, int idx=0) |
virtual void | setValue (double d, int idx=0) |
virtual void | setValue (float f, int idx=0) |
virtual void | setValue (int i, int idx=0) |
virtual void | setValue (od_int64 i, int idx=0) |
const uiStringSet & | strings () const |
virtual const char * | text (int idx=0) const |
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 | ) |
|
virtual |
Implements DataInpSpec.
|
inline |
|
virtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
|
virtual |
Sets the values (with setText())
Reimplemented from DataInpSpec.
|
inline |
|
virtual |
Implements DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
void StringListInpSpec::setItemText | ( | int | idx, |
const uiString & | |||
) |
|
inline |
|
virtual |
Implements DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
|
virtual |
Reimplemented from DataInpSpec.
const uiStringSet& StringListInpSpec::strings | ( | ) | const |
|
virtual |
Implements DataInpSpec.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022