OS  2.10.2
OSoLParserData.h
Go to the documentation of this file.
1 /* $Id: OSoLParserData.h 5284 2017-12-08 13:52:50Z stefan $ */
14 #ifndef OSOLPARSERDATA_H
15 #define OSOLPARSERDATA_H
16 
17 #include "OSnLNode.h"
18 #include <vector>
19 
20 
34 {
35 public:
42 
43 
59 
60 
64 
67 
70 
72 
75 
76 
79 
82 
83 
86  std::string maxTimeUnit;
88  double maxTimeValue;
89 
91  std::string requestedStartTime;
92 
95 
98 
101 
104 
107 
108  std::string pathPairFrom;
109  std::string pathPairTo;
110 
115 
118 
121 
124 
127 
130 
133 
136 
139 
141 
173  int sosIdx;
187  double groupWeight;
188  double lbDualValue;
189  double ubDualValue;
192 
203 
211  std::string itemContent;
212 
213 
216  std::string categoryAttribute;
218  std::string typeAttribute;
220  std::string varTypeAttribute;
222  std::string objTypeAttribute;
224  std::string conTypeAttribute;
226  std::string enumTypeAttribute;
228  std::string nameAttribute;
230  std::string valueAttribute;
232  std::string lbValueAttribute;
234  std::string ubValueAttribute;
236  std::string descriptionAttribute;
238  std::string solverAttribute;
240  std::string unitAttribute;
242 
243 
245  std::string* jobDependencies;
246  std::string* paths;
247  std::string* fromPaths;
248  std::string* toPaths;
249  std::string* processesToKill;
250 
251  std::string* valueString;
252  std::string* lbValueString;
253  std::string* ubValueString;
254  std::string* itemList;
255 
256  bool* makeCopy;
257  int* idxArray;
258 
259  double* valArray;
260  double* lbValArray;
261  double* ubValArray;
262 
263  std::string* namArray;
264 
266  int tempInt;
267  int numberOf;
268  int kounter;
269  int iOther;
270  int iOption;
271  double tempVal;
272  std::string tempStr;
273 
276 
279 
281  std::string statusType;
282 
284  std::string statusDescription;
285 
289  void* scanner;
290 
294  char *errorText;
295 
299  std::string parser_errors;
300 
304 };//OSoLParserData
305 
306 #endif /*OSOLPARSERDATA_H_*/
This file defines the OSnLNode class along with its derived classes.
The OSoLParserData Class.
std::string pathPairFrom
bool outputDirectoriesToMovePresent
bool directoriesToMakePresent
std::string solverAttribute
bool instanceLocationTypeattON
std::string categoryAttribute
bool initialVariableValuesStringPresent
bool otherOptionCategoryPresent
bool minDiskSpaceUnitPresent
bool otherGeneralOptionsPresent
int numberOfInputDirectoriesToMove
bool valueAttributePresent
std::string parser_errors
used to accumulate error message so the parser does not die on the first error encountered
bool ignoreDataAfterErrors
two booleans to govern the behavior after an error has been encountered
std::string maxTimeUnit
int numberOfVariables
children of the <optimization> element
std::string varTypeAttribute
std::string * valueString
std::string * toPaths
int tempInt
some temporary items to facilitate code sharing
bool inputDirectoriesToMovePresent
bool initialVariableValuesPresent
bool serviceURIPresent
children of the <general> element
bool minCPUSpeedUnitPresent
bool osolgeneralPresent
track which child elements are present
std::string valueAttribute
bool initialDualVariableValuesPresent
bool requiredFilesPresent
std::string * lbValueString
char * errorText
if the parser finds invalid text it is held here and we delete if the file was not valid
std::string * namArray
bool otherServiceOptionsPresent
bool numberOfVariablesPresent
bool dependenciesPresent
bool otherOptionTypePresent
int numberOfRequiredDirectories
bool enumTypeAttributePresent
bool conTypeAttributePresent
int numberOfOtherServiceOptions
double * lbValArray
bool processesToKillPresent
int numberOfDirectoriesToMake
bool numberOfObjectivesPresent
bool minCPUNumberPresent
std::string * itemList
bool initialObjectiveBoundsPresent
std::string ubValueAttribute
bool requiredDirectoriesPresent
~OSoLParserData()
the OSoLParserData class destructor
int numberOfOtherSystemOptions
bool objTypeAttributePresent
bool solverToInvokePresent
std::string statusDescription
the status Description of the solution
std::string lbValueAttribute
bool otherJobOptionsPresent
std::string conTypeAttribute
bool directoriesToDeletePresent
bool solverOptionSolverPresent
bool ubValAttributePresent
bool serviceTypePresent
children of the <service> element
std::string statusType
the status type of the result
std::string itemContent
bool inputFilesToMovePresent
std::string enumTypeAttribute
bool instanceLocationPresent
bool requestedStartTimePresent
bool minMemoryUnitPresent
int numberOfOtherVariableOptions
std::string * ubValueString
std::string unitAttribute
bool solverOptionTypePresent
bool outputFilesToMovePresent
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSoLParserData object to th...
std::string objTypeAttribute
bool otherOptionSolverPresent
bool initialBasisStatusPresent
bool numberOfEnumerationsAttributePresent
bool otherOptionNumberPresent
attributes of <other> options
bool initialObjectiveValuesPresent
std::string pathPairTo
std::string typeAttribute
int numberOfDirectoriesToDelete
std::string tempStr
bool lbValAttributePresent
std::string descriptionAttribute
bool numberOfVarAttributePresent
bool solverOptionNamePresent
attributes of <solverOptions> element
bool osoloptimizationPresent
bool varTypeAttributePresent
bool pathPairMakeCopyPresent
bool otherOptionValuePresent
bool sosIdxAttributePresent
bool solverAttributePresent
bool solverOptionCategoryPresent
bool otherOptionDescriptionPresent
int numberOfOtherObjectiveOptions
bool lbValueAttributePresent
bool instanceNamePresent
bool suppressFurtherErrorMessages
bool ubValueAttributePresent
bool otherSystemOptionsPresent
bool categoryAttributePresent
generic attributes
bool solverOptionValuePresent
std::string * fromPaths
int numberOfInputFilesToMove
std::string * jobDependencies
all arrays are collected here
bool groupWeightAttributePresent
bool numberOfObjAttributePresent
std::string nameAttribute
int numberOfOutputFilesToMove
std::string * paths
OSoLParserData()
the OSoLParserData class constructor
int numberOfOutputDirectoriesToMove
bool otherOptionNamePresent
int numberOfOtherConstraintOptions
bool numberOfConstraintsPresent
bool minDiskSpacePresent
children of the <system> element
std::string requestedStartTime
bool initialConstraintValuesPresent
bool solverOptionDescriptionPresent
bool numberOfConAttributePresent
double * ubValArray
bool descriptionAttributePresent
int numberOfOtherGeneralOptions
std::string * processesToKill
bool maxTimePresent
children of the <job> element