15 #ifndef OSRLPARSERDATA_H
16 #define OSRLPARSERDATA_H
143 std::ostringstream
outStr;
191 std::vector<OtherVariableResultStruct*>
otherVarVec;
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
std::string value
value holds the text of the value attribute of the OtherVariableResult element
This file defines the OSnLNode class along with its derived classes.
int numberOfConstraints
total number of constraints in the model instance
bool generalStatusTypePresent
set generalStatusTypePresent to true if there is a general status attribute parsed ...
std::vector< OtherVariableResultStruct * > otherVarVec
store a vector of pointers to otherVarVec structures
int iOther
a temporary counter to count other variable, objective and constraint results
double timeValue
the next few variables store a time measurement and associated attribute values
std::string tmpOtherValue
Provide temporary storage for attribute values associated with an OtherVarResult. ...
OSrLParserData()
the OSrLParserData class constructor
int numberOfObjectives
total number of Objectives in the model instance
std::string statusType
the status type of the result
std::string name
name holds the text of the name attribute of the OtherVariableResult element
int * objectiveIdx
pointer to the array of objective function indexes in each solution
std::ostringstream outStr
a temporary variable to hold an output stream value
std::string tmpOtherDescription
std::string description
description holds the text of the description attribute of the OtherVariableResult element ...
bool otherNamePresent
set otherNamePresent to true if there is a name attribute in anotherVarResult
char * errorText
if the parser finds invalid text it is held here and we delete if the file was not valid ...
int numberOfTimes
There could be more than one time measurement; numberOfTimes stores the number of them...
int * otherVarIndex
otherVarIndex is a pointer to an array with number of elements equal to the number of variables...
int numberOfSolutions
number of result solutions
std::string timeDescription
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to th...
double ** objectiveValues
for each solution we have a pointer to the value of each objective function
int ivar
a temporary counter to count second-level objects
int solutionIdx
and index on which solution we have found
std::string * otherVarText
otherVarText is a pointer to an array with number of elements equal to the number of variables...
bool statusTypePresent
set statusTypePresent to true if there is a status attribute parsed
int kounter
a temporary counter to count variables, number of attributes, etc.
A structure to information about an OtherVariableResult element.
int numberOfVariables
total number of variables in the model instance
struct OtherVariableResultStruct * otherVarStruct
a pointer to an OtherVariableResultStruct structure
double tempVal
a temporary variable to hold an integer or double value
The OSrLParserData Class.
int numberOfVar
numberOfVar holds the number of variables in the array of the OtherVariableResult element ...
double ** dualSolution
for each solution we have a pointer to each dual solution
double ** primalSolution
for each solution we have a pointer to each primal solution
std::string statusDescription
the status Description of the solution