00001
00014 #include "OSoLParserData.h"
00015
00016 OSoLParserData::~OSoLParserData()
00017 {
00018
00019 }
00020
00021
00022 OSoLParserData::OSoLParserData() :
00023 osolgeneralPresent(false),
00024 osolsystemPresent(false),
00025 osolservicePresent(false),
00026 osoljobPresent(false),
00027 osoloptimizationPresent(false),
00028
00029 serviceURIPresent(false),
00030 serviceNamePresent(false),
00031 instanceNamePresent(false),
00032 instanceLocationPresent(false),
00033 instanceLocationTypeattON(false),
00034 jobIDPresent(false),
00035 solverToInvokePresent(false),
00036 licensePresent(false),
00037 usernamePresent(false),
00038 passwordPresent(false),
00039 contactPresent(false),
00040 transportTypeattON(false),
00041 otherGeneralOptionsPresent(false),
00042 numberOfOtherGeneralOptions(0),
00043
00044 minDiskSpacePresent(false),
00045 minDiskSpaceUnitPresent(false),
00046 minMemoryPresent(false),
00047 minMemoryUnitPresent(false),
00048 minCPUSpeedPresent(false),
00049 minCPUSpeedUnitPresent(false),
00050 minCPUNumberPresent(false),
00051 otherSystemOptionsPresent(false),
00052 numberOfOtherSystemOptions(0),
00053
00054 serviceTypePresent(false),
00055 otherServiceOptionsPresent(false),
00056 numberOfOtherServiceOptions(0),
00057
00058 maxTimePresent(false),
00059 maxTimeUnit(""),
00060 maxTimeUnitPresent(false),
00061 maxTimeValue(0.0),
00062 requestedStartTimePresent(false),
00063 requestedStartTime(""),
00064 dependenciesPresent(false),
00065 numberOfDependencies(0),
00066 requiredDirectoriesPresent(false),
00067 numberOfRequiredDirectories(0),
00068 requiredFilesPresent(false),
00069 numberOfRequiredFiles(0),
00070 directoriesToMakePresent(false),
00071 numberOfDirectoriesToMake(0),
00072 filesToMakePresent(false),
00073 numberOfFilesToMake(0),
00074 pathPairFrom(""),
00075 pathPairTo(""),
00076 pathPairFromPresent(false),
00077 pathPairToPresent(false),
00078 pathPairMakeCopyPresent(false),
00079 pathPairMakeCopy(false),
00080 inputDirectoriesToMovePresent(false),
00081 numberOfInputDirectoriesToMove(0),
00082 inputFilesToMovePresent(false),
00083 numberOfInputFilesToMove(0),
00084 outputDirectoriesToMovePresent(false),
00085 numberOfOutputDirectoriesToMove(0),
00086 outputFilesToMovePresent(false),
00087 numberOfOutputFilesToMove(0),
00088 directoriesToDeletePresent(false),
00089 numberOfDirectoriesToDelete(0),
00090 filesToDeletePresent(false),
00091 numberOfFilesToDelete(0),
00092 processesToKillPresent(false),
00093 numberOfProcessesToKill(0),
00094 otherJobOptionsPresent(false),
00095 numberOfOtherJobOptions(0),
00096 numberOfPathPairs(0),
00097
00098 numberOfVariables(0),
00099 numberOfVariablesPresent(false),
00100 numberOfObjectives(0),
00101 numberOfObjectivesPresent(false),
00102 numberOfConstraints(0),
00103 numberOfConstraintsPresent(false),
00104 variablesPresent(false),
00105 objectivesPresent(false),
00106 constraintsPresent(false),
00107 solverOptionsPresent(false),
00108 idxAttributePresent(false),
00109 valAttributePresent(false),
00110 lbValAttributePresent(false),
00111 ubValAttributePresent(false),
00112 numberOfOtherVariableOptions(0),
00113 initialVariableValuesPresent(false),
00114 numberOfVar(0),
00115 initialVariableValuesStringPresent(false),
00116 numberOfVarStr(0),
00117 initialBasisStatusPresent(false),
00118 numberOfBasVar(0),
00119 sosIdxAttributePresent(false),
00120 groupWeightAttributePresent(false),
00121 numberOfVarAttributePresent(false),
00122 numberOfObjAttributePresent(false),
00123 numberOfConAttributePresent(false),
00124 numberOfEnumerationsAttributePresent(false),
00125 numberOfIntWt(0),
00126 numberOfSOS(0),
00127 currentSOS(0),
00128 sosIdx(0),
00129 numberOfSOSVar(0),
00130 numberOfObj(0),
00131 numberOfOtherObjectiveOptions(0),
00132 initialObjectiveValuesPresent(false),
00133 numberOfObjValues(0),
00134 initialObjectiveBoundsPresent(false),
00135 numberOfObjBounds(0),
00136 numberOfCon(0),
00137 numberOfOtherConstraintOptions(0),
00138 initialConstraintValuesPresent(false),
00139 initialDualVariableValuesPresent(false),
00140 numberOfDuals(0),
00141 numberOfSolverOptions(0),
00142 groupWeight(0.0),
00143 lbDualValue(0.0),
00144 ubDualValue(0.0),
00145 numberOfEnumerations(0),
00146 otherOptionType(0),
00147
00148 otherOptionNumberPresent(false),
00149 otherOptionNamePresent(false),
00150 otherOptionValuePresent(false),
00151 otherOptionSolverPresent(false),
00152 otherOptionCategoryPresent(false),
00153 otherOptionTypePresent(false),
00154 otherOptionDescriptionPresent(false),
00155 numberOfItemsPresent(false),
00156 numberOfItems(0),
00157
00158 solverOptionNamePresent(false),
00159 solverOptionValuePresent(false),
00160 solverOptionSolverPresent(false),
00161 solverOptionCategoryPresent(false),
00162 solverOptionTypePresent(false),
00163 solverOptionDescriptionPresent(false),
00164 itemContent(""),
00165
00166 categoryAttributePresent(false),
00167 categoryAttribute(""),
00168 typeAttributePresent(false),
00169 typeAttribute(""),
00170 nameAttributePresent(false),
00171 nameAttribute(""),
00172 valueAttributePresent(false),
00173 valueAttribute(""),
00174 lbValueAttributePresent(false),
00175 lbValueAttribute(""),
00176 ubValueAttributePresent(false),
00177 ubValueAttribute(""),
00178 descriptionAttributePresent(false),
00179 descriptionAttribute(""),
00180 solverAttributePresent(false),
00181 solverAttribute(""),
00182 unitAttributePresent(false),
00183 unitAttribute(""),
00184 idxAttribute(0),
00185
00186 jobDependencies(NULL),
00187 paths(NULL),
00188 fromPaths(NULL),
00189 toPaths(NULL),
00190 processesToKill(NULL),
00191
00192 valueString(NULL),
00193 lbValueString(NULL),
00194 ubValueString(NULL),
00195 itemList(NULL),
00196
00197 makeCopy(NULL),
00198 idxArray(NULL),
00199
00200 valArray(NULL),
00201 lbValArray(NULL),
00202 ubValArray(NULL),
00203
00204 namArray(NULL),
00205
00206 tempInt(0),
00207 numberOf(0),
00208 kounter(0),
00209 iOther(0),
00210 iOption(0),
00211 tempVal(0.0),
00212 tempStr(""),
00213
00214 statusType(""),
00215 statusDescription(""),
00216 errorText(NULL)
00217 {
00218
00219 }
00220