#include <OSOption.h>
Collaboration diagram for InitVariableValues:

Public Member Functions | |
| InitVariableValues () | |
| Default constructor. | |
| ~InitVariableValues () | |
| Class destructor. | |
| bool | IsEqual (InitVariableValues *that) |
| A function to check for the equality of two objects. | |
| bool | setVar (int numberOfVar, InitVarValue **var) |
| A function to set an array of elements. | |
| bool | addVar (int idx, double value) |
| A function to add a element. | |
Public Attributes | |
| int | numberOfVar |
| number of children | |
| InitVarValue ** | var |
| initial value for each variable | |
Definition at line 890 of file OSOption.h.
| InitVariableValues::InitVariableValues | ( | ) |
| InitVariableValues::~InitVariableValues | ( | ) |
| bool InitVariableValues::IsEqual | ( | InitVariableValues * | that | ) |
A function to check for the equality of two objects.
Definition at line 7528 of file OSOption.cpp.
References numberOfVar, and var.
| bool InitVariableValues::setVar | ( | int | numberOfVar, | |
| InitVarValue ** | var | |||
| ) |
A function to set an array of elements.
| numberOfVar,: | number of elements to be set | |
| var,: | the array of elements that are to be set |
Definition at line 3985 of file OSOption.cpp.
References ErrorClass::errormsg, and var.
Referenced by OSOption::setInitVarValuesSparse().
| bool InitVariableValues::addVar | ( | int | idx, | |
| double | value | |||
| ) |
A function to add a element.
| idx,: | the index of the variable to be given an initial value | |
| value,: | the initial variable value to be added |
Definition at line 4018 of file OSOption.cpp.
References ErrorClass::errormsg, InitVarValue::idx, numberOfVar, InitVarValue::value, and var.
Referenced by OSOption::setAnotherInitVarValue().
number of children
Definition at line 894 of file OSOption.h.
Referenced by addVar(), OSOption::getNumberOfInitVarValues(), IsEqual(), OSOption::setInitVarValuesSparse(), and ~InitVariableValues().
initial value for each variable
Definition at line 897 of file OSOption.h.
Referenced by addVar(), OSOption::getInitVarValuesSparse(), InitVariableValues(), IsEqual(), OSOption::setInitVarValuesDense(), setVar(), and ~InitVariableValues().
1.4.7