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 
275  OSoLParserData( );
276 
278  ~OSoLParserData() ;
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_*/
std::string * fromPaths
bool enumTypeAttributePresent
bool inputDirectoriesToMovePresent
int numberOfInputFilesToMove
bool otherSystemOptionsPresent
bool otherOptionNumberPresent
attributes of &lt;other&gt; options
This file defines the OSnLNode class along with its derived classes.
bool dependenciesPresent
bool valueAttributePresent
bool categoryAttributePresent
generic attributes
int numberOfOtherObjectiveOptions
std::string lbValueAttribute
bool minDiskSpaceUnitPresent
bool numberOfEnumerationsAttributePresent
bool lbValAttributePresent
bool otherOptionCategoryPresent
int numberOfRequiredDirectories
char * errorText
if the parser finds invalid text it is held here and we delete if the file was not valid ...
bool requiredFilesPresent
bool solverOptionDescriptionPresent
bool conTypeAttributePresent
std::string categoryAttribute
bool serviceTypePresent
children of the &lt;service&gt; element
std::string pathPairTo
bool solverOptionNamePresent
attributes of &lt;solverOptions&gt; element
std::string * itemList
std::string typeAttribute
bool initialVariableValuesPresent
int tempInt
some temporary items to facilitate code sharing
int numberOfOtherServiceOptions
int numberOfOutputDirectoriesToMove
bool ignoreDataAfterErrors
two booleans to govern the behavior after an error has been encountered
bool solverOptionCategoryPresent
std::string requestedStartTime
std::string statusDescription
the status Description of the solution
std::string * processesToKill
bool directoriesToDeletePresent
bool groupWeightAttributePresent
std::string objTypeAttribute
int numberOfOtherConstraintOptions
bool numberOfConstraintsPresent
int numberOfVariables
children of the &lt;optimization&gt; element
bool initialObjectiveValuesPresent
bool solverAttributePresent
bool minDiskSpacePresent
children of the &lt;system&gt; element
bool initialBasisStatusPresent
bool initialConstraintValuesPresent
bool solverOptionSolverPresent
bool ubValueAttributePresent
std::string conTypeAttribute
bool numberOfVariablesPresent
std::string maxTimeUnit
bool minMemoryUnitPresent
int numberOfInputDirectoriesToMove
bool numberOfObjAttributePresent
bool minCPUNumberPresent
std::string * toPaths
bool initialObjectiveBoundsPresent
bool requestedStartTimePresent
bool descriptionAttributePresent
std::string enumTypeAttribute
bool serviceURIPresent
children of the &lt;general&gt; element
bool otherOptionNamePresent
std::string nameAttribute
bool varTypeAttributePresent
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSoLParserData object to th...
bool initialVariableValuesStringPresent
bool otherOptionDescriptionPresent
bool solverOptionValuePresent
int numberOfOutputFilesToMove
double * lbValArray
std::string descriptionAttribute
bool instanceLocationPresent
int numberOfOtherGeneralOptions
std::string * namArray
bool requiredDirectoriesPresent
bool processesToKillPresent
bool osoloptimizationPresent
bool osolgeneralPresent
track which child elements are present
~OSoLParserData()
the OSoLParserData class destructor
bool outputFilesToMovePresent
std::string solverAttribute
bool directoriesToMakePresent
bool maxTimePresent
children of the &lt;job&gt; element
bool otherGeneralOptionsPresent
OSoLParserData()
the OSoLParserData class constructor
bool sosIdxAttributePresent
bool instanceLocationTypeattON
bool solverToInvokePresent
std::string statusType
the status type of the result
std::string valueAttribute
bool objTypeAttributePresent
int numberOfOtherSystemOptions
std::string * lbValueString
bool numberOfConAttributePresent
int numberOfDirectoriesToDelete
std::string parser_errors
used to accumulate error message so the parser does not die on the first error encountered ...
bool minCPUSpeedUnitPresent
std::string * valueString
std::string unitAttribute
double * ubValArray
std::string varTypeAttribute
std::string pathPairFrom
bool numberOfObjectivesPresent
bool otherOptionValuePresent
bool otherServiceOptionsPresent
bool suppressFurtherErrorMessages
bool otherOptionSolverPresent
bool inputFilesToMovePresent
bool initialDualVariableValuesPresent
bool otherJobOptionsPresent
std::string ubValueAttribute
bool lbValueAttributePresent
int numberOfOtherVariableOptions
bool ubValAttributePresent
int numberOfDirectoriesToMake
std::string itemContent
bool otherOptionTypePresent
std::string * jobDependencies
all arrays are collected here
The OSoLParserData Class.
std::string * ubValueString
bool numberOfVarAttributePresent
std::string * paths
std::string tempStr
bool outputDirectoriesToMovePresent
bool solverOptionTypePresent
bool pathPairMakeCopyPresent
bool instanceNamePresent