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 pathPairFromPresent(false),
00075 pathPairToPresent(false),
00076 pathPairMakeCopyPresent(false),
00077 pathPairMakeCopy(false),
00078 inputDirectoriesToMovePresent(false),
00079 numberOfInputDirectoriesToMove(0),
00080 inputFilesToMovePresent(false),
00081 numberOfInputFilesToMove(0),
00082 outputDirectoriesToMovePresent(false),
00083 numberOfOutputDirectoriesToMove(0),
00084 outputFilesToMovePresent(false),
00085 numberOfOutputFilesToMove(0),
00086 directoriesToDeletePresent(false),
00087 numberOfDirectoriesToDelete(0),
00088 filesToDeletePresent(false),
00089 numberOfFilesToDelete(0),
00090 processesToKillPresent(false),
00091 numberOfProcessesToKill(0),
00092 otherJobOptionsPresent(false),
00093 numberOfOtherJobOptions(0),
00094 numberOfPathPairs(0),
00095
00096 numberOfVariables(0),
00097 numberOfVariablesPresent(false),
00098 numberOfObjectives(0),
00099 numberOfObjectivesPresent(false),
00100 numberOfConstraints(0),
00101 numberOfConstraintsPresent(false),
00102 variablesPresent(false),
00103 objectivesPresent(false),
00104 constraintsPresent(false),
00105 solverOptionsPresent(false),
00106 idxAttributePresent(false),
00107 valAttributePresent(false),
00108 lbValAttributePresent(false),
00109 ubValAttributePresent(false),
00110 numberOfOtherVariableOptions(0),
00111 initialVariableValuesPresent(false),
00112 numberOfVar(0),
00113 initialVariableValuesStringPresent(false),
00114 numberOfVarStr(0),
00115 initialBasisStatusPresent(false),
00116 numberOfBasVar(0),
00117 sosIdxAttributePresent(false),
00118 groupWeightAttributePresent(false),
00119 numberOfVarAttributePresent(false),
00120 numberOfObjAttributePresent(false),
00121 numberOfConAttributePresent(false),
00122 numberOfEnumerationsAttributePresent(false),
00123 numberOfIntWt(0),
00124 numberOfSOS(0),
00125 currentSOS(0),
00126 sosIdx(0),
00127 numberOfSOSVar(0),
00128 numberOfObj(0),
00129 numberOfOtherObjectiveOptions(0),
00130 initialObjectiveValuesPresent(false),
00131 numberOfObjValues(0),
00132 initialObjectiveBoundsPresent(false),
00133 numberOfObjBounds(0),
00134 numberOfCon(0),
00135 numberOfOtherConstraintOptions(0),
00136 initialConstraintValuesPresent(false),
00137 initialDualVariableValuesPresent(false),
00138 numberOfDuals(0),
00139 numberOfSolverOptions(0),
00140 groupWeight(0.0),
00141 lbDualValue(0.0),
00142 ubDualValue(0.0),
00143 numberOfEnumerations(0),
00144 otherOptionType(0),
00145
00146 otherOptionNumberPresent(false),
00147 otherOptionNamePresent(false),
00148 otherOptionValuePresent(false),
00149 otherOptionSolverPresent(false),
00150 otherOptionCategoryPresent(false),
00151 otherOptionTypePresent(false),
00152 otherOptionDescriptionPresent(false),
00153 numberOfItemsPresent(false),
00154 numberOfItems(0),
00155
00156 solverOptionNamePresent(false),
00157 solverOptionValuePresent(false),
00158 solverOptionSolverPresent(false),
00159 solverOptionCategoryPresent(false),
00160 solverOptionTypePresent(false),
00161 solverOptionDescriptionPresent(false),
00162 itemContent(""),
00163
00164 categoryAttributePresent(false),
00165 categoryAttribute(""),
00166 typeAttributePresent(false),
00167 typeAttribute(""),
00168 nameAttributePresent(false),
00169 nameAttribute(""),
00170 valueAttributePresent(false),
00171 valueAttribute(""),
00172 lbValueAttributePresent(false),
00173 lbValueAttribute(""),
00174 ubValueAttributePresent(false),
00175 ubValueAttribute(""),
00176 descriptionAttributePresent(false),
00177 descriptionAttribute(""),
00178 solverAttributePresent(false),
00179 solverAttribute(""),
00180 unitAttributePresent(false),
00181 unitAttribute(""),
00182 idxAttribute(0),
00183
00184 jobDependencies(NULL),
00185 paths(NULL),
00186 fromPaths(NULL),
00187 toPaths(NULL),
00188 processesToKill(NULL),
00189
00190 valueString(NULL),
00191 lbValueString(NULL),
00192 ubValueString(NULL),
00193 itemList(NULL),
00194
00195 makeCopy(NULL),
00196 idxArray(NULL),
00197
00198 valArray(NULL),
00199 lbValArray(NULL),
00200 ubValArray(NULL),
00201
00202 namArray(NULL),
00203
00204 tempInt(0),
00205 numberOf(0),
00206 kounter(0),
00207 iOther(0),
00208 iOption(0),
00209 tempVal(0.0),
00210 tempStr(""),
00211
00212 statusType(""),
00213 statusDescription(""),
00214 errorText(NULL)
00215 {
00216
00217 }
00218