00001 /* $Id: OSoLParserData.h 4562 2013-01-02 12:31:12Z Gassmann $ */ 00014 #ifndef OSOLPARSERDATA_H 00015 #define OSOLPARSERDATA_H 00016 00017 #include "OSnLNode.h" 00018 #include <vector> 00019 00020 00033 class OSoLParserData 00034 { 00035 public: 00037 bool osolgeneralPresent; 00038 bool osolsystemPresent; 00039 bool osolservicePresent; 00040 bool osoljobPresent; 00041 bool osoloptimizationPresent; 00042 00043 00045 bool serviceURIPresent; 00046 bool serviceNamePresent; 00047 bool instanceNamePresent; 00048 bool instanceLocationPresent; 00049 bool instanceLocationTypeattON; 00050 bool jobIDPresent; 00051 bool solverToInvokePresent; 00052 bool licensePresent; 00053 bool usernamePresent; 00054 bool passwordPresent; 00055 bool contactPresent; 00056 bool transportTypeattON; 00057 bool otherGeneralOptionsPresent; 00058 int numberOfOtherGeneralOptions; 00059 00060 00062 bool minDiskSpacePresent; 00063 bool minDiskSpaceUnitPresent; 00064 00065 bool minMemoryPresent; 00066 bool minMemoryUnitPresent; 00067 00068 bool minCPUSpeedPresent; 00069 bool minCPUSpeedUnitPresent; 00070 00071 bool minCPUNumberPresent; 00072 00073 bool otherSystemOptionsPresent; 00074 int numberOfOtherSystemOptions; 00075 00076 00078 bool serviceTypePresent; 00079 00080 bool otherServiceOptionsPresent; 00081 int numberOfOtherServiceOptions; 00082 00083 00085 bool maxTimePresent; 00086 std::string maxTimeUnit; 00087 bool maxTimeUnitPresent; 00088 double maxTimeValue; 00089 00090 bool requestedStartTimePresent; 00091 std::string requestedStartTime; 00092 00093 bool dependenciesPresent; 00094 int numberOfDependencies; 00095 00096 bool requiredDirectoriesPresent; 00097 int numberOfRequiredDirectories; 00098 00099 bool requiredFilesPresent; 00100 int numberOfRequiredFiles; 00101 00102 bool directoriesToMakePresent; 00103 int numberOfDirectoriesToMake; 00104 00105 bool filesToMakePresent; 00106 int numberOfFilesToMake; 00107 00108 std::string pathPairFrom; 00109 std::string pathPairTo; 00110 00111 bool pathPairFromPresent; 00112 bool pathPairToPresent; 00113 bool pathPairMakeCopyPresent; 00114 bool pathPairMakeCopy; 00115 00116 bool inputDirectoriesToMovePresent; 00117 int numberOfInputDirectoriesToMove; 00118 00119 bool inputFilesToMovePresent; 00120 int numberOfInputFilesToMove; 00121 00122 bool outputDirectoriesToMovePresent; 00123 int numberOfOutputDirectoriesToMove; 00124 00125 bool outputFilesToMovePresent; 00126 int numberOfOutputFilesToMove; 00127 00128 bool directoriesToDeletePresent; 00129 int numberOfDirectoriesToDelete; 00130 00131 bool filesToDeletePresent; 00132 int numberOfFilesToDelete; 00133 00134 bool processesToKillPresent; 00135 int numberOfProcessesToKill; 00136 00137 bool otherJobOptionsPresent; 00138 int numberOfOtherJobOptions; 00139 00140 int numberOfPathPairs; 00141 00143 int numberOfVariables; 00144 bool numberOfVariablesPresent; 00145 int numberOfObjectives; 00146 bool numberOfObjectivesPresent; 00147 int numberOfConstraints; 00148 bool numberOfConstraintsPresent; 00149 bool variablesPresent; 00150 bool objectivesPresent; 00151 bool constraintsPresent; 00152 bool solverOptionsPresent; 00153 bool idxAttributePresent; 00154 bool valAttributePresent; 00155 bool lbValAttributePresent; 00156 bool ubValAttributePresent; 00157 int numberOfOtherVariableOptions; 00158 bool initialVariableValuesPresent; 00159 int numberOfVar; 00160 bool initialVariableValuesStringPresent; 00161 int numberOfVarStr; 00162 bool initialBasisStatusPresent; 00163 int numberOfBasVar; 00164 bool sosIdxAttributePresent; 00165 bool groupWeightAttributePresent; 00166 bool numberOfVarAttributePresent; 00167 bool numberOfObjAttributePresent; 00168 bool numberOfConAttributePresent; 00169 bool numberOfEnumerationsAttributePresent; 00170 int numberOfIntWt; 00171 int numberOfSOS; 00172 int currentSOS; 00173 int sosIdx; 00174 int numberOfSOSVar; 00175 int numberOfObj; 00176 int numberOfOtherObjectiveOptions; 00177 bool initialObjectiveValuesPresent; 00178 int numberOfObjValues; 00179 bool initialObjectiveBoundsPresent; 00180 int numberOfObjBounds; 00181 int numberOfCon; 00182 int numberOfOtherConstraintOptions; 00183 bool initialConstraintValuesPresent; 00184 bool initialDualVariableValuesPresent; 00185 int numberOfDuals; 00186 int numberOfSolverOptions; 00187 double groupWeight; 00188 double lbDualValue; 00189 double ubDualValue; 00190 int numberOfEnumerations; 00191 int otherOptionType; 00192 00194 bool otherOptionNumberPresent; 00195 bool otherOptionNamePresent; 00196 bool otherOptionValuePresent; 00197 bool otherOptionSolverPresent; 00198 bool otherOptionCategoryPresent; 00199 bool otherOptionTypePresent; 00200 bool otherOptionDescriptionPresent; 00201 bool numberOfItemsPresent; 00202 int numberOfItems; 00203 00205 bool solverOptionNamePresent; 00206 bool solverOptionValuePresent; 00207 bool solverOptionSolverPresent; 00208 bool solverOptionCategoryPresent; 00209 bool solverOptionTypePresent; 00210 bool solverOptionDescriptionPresent; 00211 std::string itemContent; 00212 00213 00215 bool categoryAttributePresent; 00216 std::string categoryAttribute; 00217 bool typeAttributePresent; 00218 std::string typeAttribute; 00219 bool varTypeAttributePresent; 00220 std::string varTypeAttribute; 00221 bool objTypeAttributePresent; 00222 std::string objTypeAttribute; 00223 bool conTypeAttributePresent; 00224 std::string conTypeAttribute; 00225 bool enumTypeAttributePresent; 00226 std::string enumTypeAttribute; 00227 bool nameAttributePresent; 00228 std::string nameAttribute; 00229 bool valueAttributePresent; 00230 std::string valueAttribute; 00231 bool lbValueAttributePresent; 00232 std::string lbValueAttribute; 00233 bool ubValueAttributePresent; 00234 std::string ubValueAttribute; 00235 bool descriptionAttributePresent; 00236 std::string descriptionAttribute; 00237 bool solverAttributePresent; 00238 std::string solverAttribute; 00239 bool unitAttributePresent; 00240 std::string unitAttribute; 00241 int idxAttribute; 00242 00243 00245 std::string* jobDependencies; 00246 std::string* paths; 00247 std::string* fromPaths; 00248 std::string* toPaths; 00249 std::string* processesToKill; 00250 00251 std::string* valueString; 00252 std::string* lbValueString; 00253 std::string* ubValueString; 00254 std::string* itemList; 00255 00256 bool* makeCopy; 00257 int* idxArray; 00258 00259 double* valArray; 00260 double* lbValArray; 00261 double* ubValArray; 00262 00263 std::string* namArray; 00264 00266 int tempInt; 00267 int numberOf; 00268 int kounter; 00269 int iOther; 00270 int iOption; 00271 double tempVal; 00272 std::string tempStr; 00273 00275 OSoLParserData( ); 00276 00278 ~OSoLParserData() ; 00279 00280 00282 std::string statusType; 00283 00285 std::string statusDescription; 00286 00290 void* scanner; 00291 00292 00296 char *errorText; 00297 };//OSoLParserData 00298 00299 #endif /*OSOLPARSERDATA_H_*/