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