00001 /* $Id: OSoLParserData.h 2698 2009-06-09 04:14:07Z kmartin $ */ 00016 #ifndef OSOLPARSERDATA_H 00017 #define OSOLPARSERDATA_H 00018 00019 #include "OSnLNode.h" 00020 #include <vector> 00021 00022 00023 00024 00025 00038 class OSoLParserData{ 00039 public: 00041 bool osolgeneralPresent; 00042 bool osolsystemPresent; 00043 bool osolservicePresent; 00044 bool osoljobPresent; 00045 bool osoloptimizationPresent; 00046 00047 00049 bool serviceURIPresent; 00050 bool serviceNamePresent; 00051 bool instanceNamePresent; 00052 bool instanceLocationPresent; 00053 bool instanceLocationTypeattON; 00054 bool jobIDPresent; 00055 bool solverToInvokePresent; 00056 bool licensePresent; 00057 bool usernamePresent; 00058 bool passwordPresent; 00059 bool contactPresent; 00060 bool transportTypeattON; 00061 00062 bool otherGeneralOptionsPresent; 00063 int numberOfOtherGeneralOptions; 00064 00065 00067 bool minDiskSpacePresent; 00068 bool minDiskSpaceUnitPresent; 00069 00070 bool minMemorySizePresent; 00071 bool minMemorySizeUnitPresent; 00072 00073 bool minCPUSpeedPresent; 00074 bool minCPUSpeedUnitPresent; 00075 00076 bool minCPUNumberPresent; 00077 00078 bool otherSystemOptionsPresent; 00079 int numberOfOtherSystemOptions; 00080 00081 00083 bool serviceTypePresent; 00084 00085 bool otherServiceOptionsPresent; 00086 int numberOfOtherServiceOptions; 00087 00088 00090 bool maxTimePresent; 00091 std::string maxTimeUnit; 00092 bool maxTimeUnitPresent; 00093 double maxTimeValue; 00094 00095 bool requestedStartTimePresent; 00096 std::string requestedStartTime; 00097 00098 bool dependenciesPresent; 00099 int numberOfDependencies; 00100 00101 bool requiredDirectoriesPresent; 00102 int numberOfRequiredDirectories; 00103 00104 bool requiredFilesPresent; 00105 int numberOfRequiredFiles; 00106 00107 bool directoriesToMakePresent; 00108 int numberOfDirectoriesToMake; 00109 00110 bool filesToMakePresent; 00111 int numberOfFilesToMake; 00112 00113 bool pathPairFromPresent; 00114 bool pathPairToPresent; 00115 bool pathPairMakeCopyPresent; 00116 00117 bool inputDirectoriesToMovePresent; 00118 int numberOfInputDirectoriesToMove; 00119 00120 bool inputFilesToMovePresent; 00121 int numberOfInputFilesToMove; 00122 00123 bool outputDirectoriesToMovePresent; 00124 int numberOfOutputDirectoriesToMove; 00125 00126 bool outputFilesToMovePresent; 00127 int numberOfOutputFilesToMove; 00128 00129 bool directoriesToDeletePresent; 00130 int numberOfDirectoriesToDelete; 00131 00132 bool filesToDeletePresent; 00133 int numberOfFilesToDelete; 00134 00135 bool processesToKillPresent; 00136 int numberOfProcessesToKill; 00137 00138 bool otherJobOptionsPresent; 00139 int numberOfOtherJobOptions; 00140 00142 int numberOfVariables; 00143 bool numberOfVariablesPresent; 00144 int numberOfObjectives; 00145 bool numberOfObjectivesPresent; 00146 int numberOfConstraints; 00147 bool numberOfConstraintsPresent; 00148 bool variablesPresent; 00149 bool objectivesPresent; 00150 bool constraintsPresent; 00151 bool solverOptionsPresent; 00152 bool idxAttributePresent; 00153 bool valAttributePresent; 00154 bool lbvalAttributePresent; 00155 bool ubvalAttributePresent; 00156 int numberOfOtherVariableOptions; 00157 bool initialVariableValuesPresent; 00158 int numberOfVar; 00159 bool initialVariableValuesStringPresent; 00160 int numberOfVarStr; 00161 bool initialBasisStatusPresent; 00162 int numberOfBasVar; 00163 bool sosIdxAttributePresent; 00164 bool grpWgtAttributePresent; 00165 bool nOfVarAttributePresent; 00166 int numberOfIntWt; 00167 int numberOfSOS; 00168 int numberOfSOSVar; 00169 int numberOfOtherObjectiveOptions; 00170 bool initialObjectiveValuesPresent; 00171 int numberOfObjValues; 00172 bool initialObjectiveBoundsPresent; 00173 int numberOfObjBounds; 00174 int numberOfOtherConstraintOptions; 00175 bool initialConstraintValuesPresent; 00176 int numberOfCon; 00177 bool initialDualVariableValuesPresent; 00178 int numberOfDuals; 00179 int numberOfSolverOptions; 00180 00181 int numberOfObj; 00182 00184 bool otherOptionNumberPresent; 00185 bool otherOptionNamePresent; 00186 bool otherOptionValuePresent; 00187 bool otherOptionSolverPresent; 00188 bool otherOptionCategoryPresent; 00189 bool otherOptionTypePresent; 00190 bool otherOptionDescriptionPresent; 00191 00193 bool solverOptionNamePresent; 00194 bool solverOptionValuePresent; 00195 bool solverOptionSolverPresent; 00196 bool solverOptionCategoryPresent; 00197 bool solverOptionTypePresent; 00198 bool solverOptionDescriptionPresent; 00199 00200 00202 OSoLParserData( ); 00203 00204 //** the OSoLParserData class destructor */ 00205 ~OSoLParserData() ; 00206 00207 00209 std::string statusType; 00210 00212 std::string statusDescription; 00213 00216 void* scanner; 00217 00218 00222 char *errorText; 00223 };//OSoLPArserData 00224 00225 #endif /*OSOLPARSERDATA_H_*/