Specifications for list of character string inputs. More...
Public Member Functions | |
| StringListInpSpec (const BufferStringSet &) | |
| StringListInpSpec (const char **sl=0) | |
| StringListInpSpec (const StringListInpSpec &) | |
| ~StringListInpSpec () | |
| virtual bool | isUndef (int idx=0) const |
| virtual DataInpSpec * | clone () const |
| const BufferStringSet & | strings () const |
| void | addString (const char *txt) |
| virtual const char * | text (int idx=0) const |
| void | setItemText (int idx, const char *s) |
| virtual bool | setText (const char *s, int nr) |
| virtual int | getIntValue (int idx=0) const |
| virtual double | getdValue (int idx=0) const |
| virtual float | getfValue (int idx=0) const |
| virtual void | setValue (int i, int idx=0) |
| virtual void | setValue (double d, int idx=0) |
| virtual void | setValue (float f, int idx=0) |
| virtual void | setDefaultValue (int i, int idx=0) |
| virtual int | getDefaultIntValue (int idx=0) const |
| bool | isSet () const |
| void | setSet (bool yn=true) |
Protected Attributes | |
| BufferStringSet | strings_ |
| int | cur_ |
| int | defaultval_ |
| bool | isset_ |
Specifications for list of character string inputs.
| StringListInpSpec::StringListInpSpec | ( | const BufferStringSet & | ) |
| StringListInpSpec::StringListInpSpec | ( | const char ** | sl = 0 |
) |
| StringListInpSpec::StringListInpSpec | ( | const StringListInpSpec & | ) |
| StringListInpSpec::~StringListInpSpec | ( | ) |
| void StringListInpSpec::addString | ( | const char * | txt | ) |
| virtual DataInpSpec* StringListInpSpec::clone | ( | ) | const [virtual] |
Implements DataInpSpec.
| virtual int StringListInpSpec::getDefaultIntValue | ( | int | idx = 0 |
) | const [virtual] |
Reimplemented from DataInpSpec.
| virtual double StringListInpSpec::getdValue | ( | int | idx = 0 |
) | const [virtual] |
Reimplemented from DataInpSpec.
| virtual float StringListInpSpec::getfValue | ( | int | idx = 0 |
) | const [virtual] |
Reimplemented from DataInpSpec.
| virtual int StringListInpSpec::getIntValue | ( | int | idx = 0 |
) | const [virtual] |
Sets the _values_ (with setText())
Reimplemented from DataInpSpec.
| bool StringListInpSpec::isSet | ( | ) | const [inline] |
| virtual bool StringListInpSpec::isUndef | ( | int | idx = 0 |
) | const [virtual] |
Implements DataInpSpec.
| virtual void StringListInpSpec::setDefaultValue | ( | int | i, | |
| int | idx = 0 | |||
| ) | [virtual] |
Reimplemented from DataInpSpec.
| void StringListInpSpec::setItemText | ( | int | idx, | |
| const char * | s | |||
| ) |
| void StringListInpSpec::setSet | ( | bool | yn = true |
) | [inline] |
| virtual bool StringListInpSpec::setText | ( | const char * | s, | |
| int | nr | |||
| ) | [virtual] |
Implements DataInpSpec.
| virtual void StringListInpSpec::setValue | ( | float | f, | |
| int | idx = 0 | |||
| ) | [virtual] |
Reimplemented from DataInpSpec.
| virtual void StringListInpSpec::setValue | ( | int | i, | |
| int | idx = 0 | |||
| ) | [virtual] |
Reimplemented from DataInpSpec.
| virtual void StringListInpSpec::setValue | ( | double | d, | |
| int | idx = 0 | |||
| ) | [virtual] |
Reimplemented from DataInpSpec.
| const BufferStringSet& StringListInpSpec::strings | ( | ) | const |
| virtual const char* StringListInpSpec::text | ( | int | idx = 0 |
) | const [virtual] |
Implements DataInpSpec.
int StringListInpSpec::cur_ [protected] |
int StringListInpSpec::defaultval_ [protected] |
bool StringListInpSpec::isset_ [protected] |
BufferStringSet StringListInpSpec::strings_ [protected] |
1.7.1