00001 /* $Id: OSoLParserData.h 4292 2011-09-21 05:47:18Z kmartin $ */ 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 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 nameAttributePresent; 00220 std::string nameAttribute; 00221 bool valueAttributePresent; 00222 std::string valueAttribute; 00223 bool lbValueAttributePresent; 00224 std::string lbValueAttribute; 00225 bool ubValueAttributePresent; 00226 std::string ubValueAttribute; 00227 bool descriptionAttributePresent; 00228 std::string descriptionAttribute; 00229 bool solverAttributePresent; 00230 std::string solverAttribute; 00231 bool unitAttributePresent; 00232 std::string unitAttribute; 00233 int idxAttribute; 00234 00235 00237 std::string* jobDependencies; 00238 std::string* paths; 00239 std::string* fromPaths; 00240 std::string* toPaths; 00241 std::string* processesToKill; 00242 00243 std::string* valueString; 00244 std::string* lbValueString; 00245 std::string* ubValueString; 00246 std::string* itemList; 00247 00248 bool* makeCopy; 00249 int* idxArray; 00250 00251 double* valArray; 00252 double* lbValArray; 00253 double* ubValArray; 00254 00255 std::string* namArray; 00256 00258 int tempInt; 00259 int numberOf; 00260 int kounter; 00261 int iOther; 00262 int iOption; 00263 double tempVal; 00264 std::string tempStr; 00265 00267 OSoLParserData( ); 00268 00270 ~OSoLParserData() ; 00271 00272 00274 std::string statusType; 00275 00277 std::string statusDescription; 00278 00282 void* scanner; 00283 00284 00288 char *errorText; 00289 };//OSoLParserData 00290 00291 #endif /*OSOLPARSERDATA_H_*/