- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/OS-2.3.5/OS/src/OSParsers/OSoLParserData.h

Go to the documentation of this file.

    00001 /* $Id: OSoLParserData.h 4120 2011-03-30 06:28:16Z 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 public:
    00039         bool osolgeneralPresent;
    00040         bool osolsystemPresent;
    00041         bool osolservicePresent;
    00042         bool osoljobPresent;
    00043         bool osoloptimizationPresent;
    00044
    00045
    00047         bool serviceURIPresent;
    00048         bool serviceNamePresent;
    00049         bool instanceNamePresent;
    00050         bool instanceLocationPresent;
    00051         bool instanceLocationTypeattON;
    00052         bool jobIDPresent;
    00053         bool solverToInvokePresent;
    00054         bool licensePresent;
    00055         bool usernamePresent;
    00056         bool passwordPresent;
    00057         bool contactPresent;
    00058         bool transportTypeattON;
    00059         bool otherGeneralOptionsPresent;
    00060         int  numberOfOtherGeneralOptions;
    00061
    00062
    00064         bool minDiskSpacePresent;
    00065         bool minDiskSpaceUnitPresent;
    00066
    00067         bool minMemoryPresent;
    00068         bool minMemoryUnitPresent;
    00069
    00070         bool minCPUSpeedPresent;
    00071         bool minCPUSpeedUnitPresent;
    00072
    00073         bool minCPUNumberPresent;
    00074
    00075         bool otherSystemOptionsPresent;
    00076         int  numberOfOtherSystemOptions;
    00077
    00078
    00080         bool serviceTypePresent;
    00081
    00082         bool otherServiceOptionsPresent;
    00083         int  numberOfOtherServiceOptions;
    00084
    00085
    00087         bool maxTimePresent;
    00088         std::string maxTimeUnit;
    00089         bool maxTimeUnitPresent;
    00090         double maxTimeValue;
    00091
    00092         bool requestedStartTimePresent;
    00093         std::string requestedStartTime;
    00094
    00095         bool dependenciesPresent;
    00096         int  numberOfDependencies;
    00097
    00098         bool requiredDirectoriesPresent;
    00099         int  numberOfRequiredDirectories;
    00100
    00101         bool requiredFilesPresent;
    00102         int  numberOfRequiredFiles;
    00103
    00104         bool directoriesToMakePresent;
    00105         int  numberOfDirectoriesToMake;
    00106
    00107         bool filesToMakePresent;
    00108         int  numberOfFilesToMake;
    00109
    00110         bool pathPairFromPresent;
    00111         bool pathPairToPresent;
    00112         bool pathPairMakeCopyPresent;
    00113         bool pathPairMakeCopy;
    00114
    00115         bool inputDirectoriesToMovePresent;
    00116         int  numberOfInputDirectoriesToMove;
    00117
    00118         bool inputFilesToMovePresent;
    00119         int  numberOfInputFilesToMove;
    00120
    00121         bool outputDirectoriesToMovePresent;
    00122         int  numberOfOutputDirectoriesToMove;
    00123
    00124         bool outputFilesToMovePresent;
    00125         int  numberOfOutputFilesToMove;
    00126
    00127         bool directoriesToDeletePresent;
    00128         int  numberOfDirectoriesToDelete;
    00129
    00130         bool filesToDeletePresent;
    00131         int  numberOfFilesToDelete;
    00132
    00133         bool processesToKillPresent;
    00134         int  numberOfProcessesToKill;
    00135
    00136         bool otherJobOptionsPresent;
    00137         int  numberOfOtherJobOptions;
    00138
    00139         int  numberOfPathPairs;
    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 groupWeightAttributePresent;
    00165         bool numberOfVarAttributePresent;
    00166         bool numberOfObjAttributePresent;
    00167         bool numberOfConAttributePresent;
    00168         bool numberOfEnumerationsAttributePresent;
    00169         int  numberOfIntWt;
    00170         int  numberOfSOS;
    00171         int  currentSOS;
    00172         int  sosIdx;
    00173         int  numberOfSOSVar;
    00174         int  numberOfObj;
    00175         int  numberOfOtherObjectiveOptions;
    00176         bool initialObjectiveValuesPresent;
    00177         int  numberOfObjValues;
    00178         bool initialObjectiveBoundsPresent;
    00179         int  numberOfObjBounds;
    00180         int  numberOfCon;
    00181         int  numberOfOtherConstraintOptions;
    00182         bool initialConstraintValuesPresent;
    00183         bool initialDualVariableValuesPresent;
    00184         int  numberOfDuals;
    00185         int  numberOfSolverOptions;
    00186         double groupWeight;
    00187         double lbDualValue;
    00188         double ubDualValue;
    00189         int numberOfEnumerations;
    00190         int otherOptionType;
    00191
    00193         bool otherOptionNumberPresent;
    00194         bool otherOptionNamePresent;
    00195         bool otherOptionValuePresent;
    00196         bool otherOptionSolverPresent;
    00197         bool otherOptionCategoryPresent;
    00198         bool otherOptionTypePresent;
    00199         bool otherOptionDescriptionPresent;
    00200         bool numberOfItemsPresent;
    00201         int  numberOfItems;
    00202
    00204         bool solverOptionNamePresent;
    00205         bool solverOptionValuePresent;
    00206         bool solverOptionSolverPresent;
    00207         bool solverOptionCategoryPresent;
    00208         bool solverOptionTypePresent;
    00209         bool solverOptionDescriptionPresent;
    00210         std::string itemContent;
    00211
    00212
    00214         bool categoryAttributePresent;
    00215         std::string categoryAttribute;
    00216         bool typeAttributePresent;
    00217         std::string typeAttribute;
    00218         bool nameAttributePresent;
    00219         std::string nameAttribute;
    00220         bool valueAttributePresent;
    00221         std::string valueAttribute;
    00222         bool lbValueAttributePresent;
    00223         std::string lbValueAttribute;
    00224         bool ubValueAttributePresent;
    00225         std::string ubValueAttribute;
    00226         bool descriptionAttributePresent;
    00227         std::string descriptionAttribute;
    00228         bool solverAttributePresent;
    00229         std::string solverAttribute;
    00230         bool unitAttributePresent;
    00231         std::string unitAttribute;
    00232         int  idxAttribute;
    00233
    00234
    00236         std::string* jobDependencies;
    00237         std::string* paths;
    00238         std::string* fromPaths;
    00239         std::string* toPaths;
    00240         std::string* processesToKill;
    00241
    00242         std::string* valueString;
    00243         std::string* lbValueString;
    00244         std::string* ubValueString;
    00245         std::string* itemList;
    00246
    00247         bool* makeCopy;
    00248         int*  idxArray;
    00249
    00250         double* valArray;
    00251         double* lbValArray;
    00252         double* ubValArray;
    00253
    00254
    00256         int tempInt;
    00257         int numberOf;
    00258         int kounter;
    00259         int iOther;
    00260         int iOption;
    00261         double tempVal;
    00262         std::string tempStr;
    00263
    00265         OSoLParserData( );
    00266
    00268         ~OSoLParserData() ;
    00269
    00270
    00272         std::string statusType;
    00273
    00275         std::string statusDescription;
    00276
    00280         void* scanner;
    00281
    00282
    00286         char *errorText;
    00287 };//OSoLParserData
    00288
    00289 #endif /*OSOLPARSERDATA_H_*/