OptionInfo holds mutable information related to a ModelOptionDef. More...
Public Member Functions | |
OptionInfo (const ModelOptionDef *d) | |
Public Attributes | |
int | sortid |
used to sort OptionInfo's in creation order | |
string | val |
current value in string representation | |
ParamList | params |
the components that requested this option | |
Static Public Attributes | |
static int | nextid = 0 |
next available value for sortid |
OptionInfo holds mutable information related to a ModelOptionDef.
We associate one OptionInfo with each ModelOptionDef that ModelManager hears about. Each OptionInfo keeps track of the current value of that option in the current program run, as well as the list of params who are listening for that option's value.
Definition at line 88 of file CmdlineOptionManager.C.
next available value for sortid
Definition at line 97 of file CmdlineOptionManager.C.
the components that requested this option
Definition at line 101 of file CmdlineOptionManager.C.
Referenced by CmdlineOptionManager::requestOption(), CmdlineOptionManager::requestOptionAlias(), CmdlineOptionManager::setOptionValString(), and CmdlineOptionManager::unRequestOption().
used to sort OptionInfo's in creation order
Definition at line 99 of file CmdlineOptionManager.C.
current value in string representation
Definition at line 100 of file CmdlineOptionManager.C.
Referenced by CmdlineOptionManager::getOptionValString(), and CmdlineOptionManager::setOptionValString().