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