My Project
OSoLParserData.cpp
Go to the documentation of this file.
1/* $Id$ */
14#include "OSoLParserData.h"
15
17{
18
19}//~OSoLParserData
20
21
23 osolgeneralPresent(false),
24 osolsystemPresent(false),
25 osolservicePresent(false),
26 osoljobPresent(false),
28
29 serviceURIPresent(false),
30 serviceNamePresent(false),
34 jobIDPresent(false),
36 licensePresent(false),
37 usernamePresent(false),
38 passwordPresent(false),
39 contactPresent(false),
40 transportTypeattON(false),
43
46 minMemoryPresent(false),
48 minCPUSpeedPresent(false),
53
54 serviceTypePresent(false),
57
58 maxTimePresent(false),
59 maxTimeUnit(""),
60 maxTimeUnitPresent(false),
61 maxTimeValue(0.0),
72 filesToMakePresent(false),
74 pathPairFrom(""),
75 pathPairTo(""),
77 pathPairToPresent(false),
79 pathPairMakeCopy(false),
97
104 variablesPresent(false),
105 objectivesPresent(false),
106 constraintsPresent(false),
108 idxAttributePresent(false),
109 valAttributePresent(false),
114 numberOfVar(0),
125 numberOfIntWt(0),
126 numberOfSOS(0),
127 currentSOS(0),
128 sosIdx(0),
130 numberOfObj(0),
136 numberOfCon(0),
140 numberOfDuals(0),
142 groupWeight(0.0),
143 lbDualValue(0.0),
144 ubDualValue(0.0),
147
156 numberOfItems(0),
157
164 itemContent(""),
165
169 typeAttribute(""),
179 nameAttribute(""),
181 valueAttribute(""),
189 solverAttribute(""),
191 unitAttribute(""),
192 idxAttribute(0),
193
194 jobDependencies(NULL),
195 paths(NULL),
196 fromPaths(NULL),
197 toPaths(NULL),
198 processesToKill(NULL),
199
200 valueString(NULL),
201 lbValueString(NULL),
202 ubValueString(NULL),
203 itemList(NULL),
204
205 makeCopy(NULL),
206 idxArray(NULL),
207
208 valArray(NULL),
209 lbValArray(NULL),
210 ubValArray(NULL),
211
212 namArray(NULL),
213
214 tempInt(0),
215 numberOf(0),
216 kounter(0),
217 iOther(0),
218 iOption(0),
219 tempVal(0.0),
220 tempStr(""),
221
222 statusType(""),
224 errorText(NULL),
225 parser_errors("")
226{
227
228}//OSoLParserData
229
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
std::string parser_errors
used to accumulate error message so the parser does not die on the first error 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
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
int numberOfRequiredDirectories
bool enumTypeAttributePresent
int numberOfOtherServiceOptions
bool numberOfObjectivesPresent
std::string * itemList
bool initialObjectiveBoundsPresent
std::string ubValueAttribute
bool requiredDirectoriesPresent
~OSoLParserData()
the OSoLParserData class destructor
int numberOfOtherSystemOptions
std::string statusDescription
the status Description of the solution
std::string lbValueAttribute
std::string conTypeAttribute
bool directoriesToDeletePresent
bool solverOptionSolverPresent
bool serviceTypePresent
children of the <service> element
std::string statusType
the status type of the result
std::string itemContent
std::string enumTypeAttribute
bool instanceLocationPresent
bool requestedStartTimePresent
int numberOfOtherVariableOptions
std::string * ubValueString
std::string unitAttribute
bool outputFilesToMovePresent
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
std::string descriptionAttribute
bool numberOfVarAttributePresent
bool solverOptionNamePresent
attributes of <solverOptions> element
bool osoloptimizationPresent
bool solverOptionCategoryPresent
bool otherOptionDescriptionPresent
int numberOfOtherObjectiveOptions
bool otherSystemOptionsPresent
bool categoryAttributePresent
generic attributes
bool solverOptionValuePresent
std::string * fromPaths
std::string * jobDependencies
all arrays are collected here
bool groupWeightAttributePresent
bool numberOfObjAttributePresent
std::string nameAttribute
std::string * paths
OSoLParserData()
the OSoLParserData class constructor
int numberOfOutputDirectoriesToMove
int numberOfOtherConstraintOptions
bool numberOfConstraintsPresent
bool minDiskSpacePresent
children of the <system> element
std::string requestedStartTime
bool initialConstraintValuesPresent
bool solverOptionDescriptionPresent
bool numberOfConAttributePresent
bool descriptionAttributePresent
int numberOfOtherGeneralOptions
std::string * processesToKill
bool maxTimePresent
children of the <job> element