Public Methods |
| Option (T_OPTION opt) throw (OptionException) |
| constructor compatible with the C API.
|
| Option (const char *name) throw (OptionException) |
| constructor that looks up an option by name. -
Parameters:
-
name |
name of a previously created user option, or of a standard option. |
-
Exceptions:
-
|
virtual | ~Option () throw () |
| destructor.
|
bool | getBool () const throw (OptionException) |
| gets a bool property.
|
void | setBool (bool value) throw (OptionException) |
| sets a bool property.
|
const char * | getEnum () const throw (OptionException) |
| gets a enum property.
|
void | setEnum (const char *value) throw (OptionException) |
| sets a enum property.
|
T_STR_LIST | getEnumList () const throw (OptionException) |
| gets a enum list property.
|
void | setEnumList (T_STR_LIST value) throw (OptionException) |
| sets a enum list property.
|
real8 | getReal8 () const throw (OptionException) |
| gets a numeric property.
|
void | setReal8 (real8 value) throw (OptionException) |
| sets a numeric property.
|
int4 | getInt4 () const throw (OptionException) |
| gets a numeric property.
|
void | setInt4 (int4 value) throw (OptionException) |
| sets a numeric property.
|
const char * | getString () const throw (OptionException) |
| gets a string property.
|
void | setString (const char *value) throw (OptionException) |
| sets a string property.
|
T_STR_LIST | getStringList () const throw (OptionException) |
void | setStringList (T_STR_LIST value) throw (OptionException) |
| sets a string list property.
|
T_OPT_TYPE | getType () const throw (OptionException) |
bool | isKnown () const throw (OptionException) |
| ???is the property known?
|
void | setUnKnown () throw (OptionException) |
| ???sets whether the property is known?
|
bool | getReadOnly () const throw (OptionException) |
| is the property read only?
|
void | setReadOnly (bool is_read_only) throw (OptionException) |
| sets whether the property is read only.
|
bool | getRequired () const throw (OptionException) |
| Determines whether or not a property is required.
|
void | setRequired (bool is_required) throw (OptionException) |
| sets whether the property is required.
|
const char * | getName () throw (OptionException) |
| gets the name of the option.
|
void | legValAdd (const char *value) throw (OptionException) |
| Adds a legal value to enumerated option.
|
CallBack< OptionChangeCallBack > * | optionChangeCbCreate (OptionChangeCallBack *impl, void *arg=NULL) throw (OptionException) |
| creates an option change callback.
|
Static Public Methods |
Option | create (const char *name, T_OPT_TYPE optType) throw (OptionException) |
void | destroyOption (const char *name) throw (OptionException) |
| destroys a property.
|
Static Protected Methods |
void T_ENTRY1 | optionChangeCbDelegator (T_OPTION, T_OPTION_CHANGE_CB_DATA, T_CB_ARG) |
| delegator method called when callback is triggered.
|