#include <OSrLParserData.h>
Collaboration diagram for OSrLParserData:
Public Member Functions | |
OSrLParserData () | |
the OSrLParserData class constructor | |
~OSrLParserData () | |
OSrLParserData () | |
the OSrLParserData class constructor | |
~OSrLParserData () | |
Public Attributes | |
std::string | statusType |
the status type of the result | |
std::string | statusDescription |
the status Description of the solution | |
double | timeValue |
the next few variables store a time measurement and associated attribute values | |
std::string | timeType |
std::string | timeCategory |
std::string | timeUnit |
std::string | timeDescription |
unsigned int | numberOfTimes |
There could be more than one time measurement; numberOfTimes stores the number of them. | |
std::string | tmpOtherValue |
Provide temporary storage for attribute values associated with an OtherVarResult. | |
std::string | tmpOtherName |
std::string | tmpOtherDescription |
std::string | itemContent |
Provide temporary storage for a single <record> contained in an OtherSolutionResult. | |
void * | scanner |
scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser | |
unsigned int | numberOfSolutions |
number of result solutions | |
unsigned int | numberOfVariables |
total number of variables in the model instance | |
unsigned int | numberOfConstraints |
total number of constraints in the model instance | |
unsigned int | numberOfObjectives |
total number of Objectives in the model instance | |
unsigned int | numberOfVar |
number of variables in the a solution instance, may change from solution to solution | |
unsigned int | numberOfCon |
number of constraints in the a solution instance, may change from solution to solution | |
unsigned int | numberOfObj |
number of Objectives in the a solution instance may change from solution to solution | |
int | kounter |
a temporary counter to count variables, number of attributes, etc. | |
int | iOther |
a temporary counter to count other variable, objective and constraint results | |
unsigned int | ivar |
a temporary counter to count second-level objects | |
int | idx |
a temporary variable to hold an integer index value | |
double | tempVal |
a temporary variable to hold an integer or double value | |
std::ostringstream | outStr |
a temporary variable to hold an output stream value | |
int | numberOfOtherVariableResults |
the number of types of variable results other than the value of the variable | |
unsigned int | solutionIdx |
and index on which solution we have found | |
bool | statusTypePresent |
set statusTypePresent to true if there is a status attribute parsed | |
bool | generalStatusTypePresent |
set generalStatusTypePresent to true if there is a general status attribute parsed | |
bool | otherNamePresent |
set otherNamePresent to true if there is a name attribute in anotherVarResult | |
IndexValuePair * | primalValPair |
for each solution we will build a vector of index-value pairs of primal values | |
std::vector< IndexValuePair * > | primalVals |
IndexValuePair * | objValPair |
for each solution we will build a vector of index-value pairs of objective function values | |
std::vector< IndexValuePair * > | objVals |
IndexValuePair * | dualValPair |
for each solution we will build a vector of index-value pairs of dual values | |
std::vector< IndexValuePair * > | dualVals |
OtherVariableResultStruct * | otherVarStruct |
a pointer to an OtherVariableResultStruct structure | |
std::vector< OtherVariableResultStruct * > | otherVarVec |
store a vector of pointers to otherVarVec structures | |
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. | |
void * | scanner |
scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser | |
int | numberOfSolutions |
number of result solutions | |
int | numberOfVariables |
number of variables in the solution instance | |
int | numberOfConstraints |
number of constraints in the solution instance | |
int | numberOfObjectives |
number of Objectives in the solution instance | |
int | ivar |
a temporary variable to hold an integer index value | |
int | solutionIdx |
and index on which solution we have found | |
int * | objectiveIdx |
pointer to the array of objective function indexes in each solution | |
double ** | objectiveValues |
for each solution we have a pointer to the value of each objective function | |
double ** | primalSolution |
for each solution we have a pointer to each primal solution | |
double ** | dualSolution |
for each solution we have a pointer to each dual solution | |
OtherVariableResultStruct * | otherVarStruct |
a pointer to an OtherVariableResultStruct structure | |
std::vector< OtherVariableResultStruct * > | otherVarVec |
store a vector of pointers to otherVarVec structures | |
char * | errorText |
if the parser finds invalid text it is held here and we delete if the file was not valid |
Definition at line 84 of file OSrLParserData.h.
OSrLParserData::OSrLParserData | ( | ) |
OSrLParserData::~OSrLParserData | ( | ) |
Definition at line 20 of file OSrLParserData.cpp.
OSrLParserData::OSrLParserData | ( | ) |
the OSrLParserData class constructor
OSrLParserData::~OSrLParserData | ( | ) |
std::string OSrLParserData::statusType |
std::string OSrLParserData::statusDescription |
double OSrLParserData::timeValue |
the next few variables store a time measurement and associated attribute values
Definition at line 102 of file OSrLParserData.h.
std::string OSrLParserData::timeType |
Definition at line 103 of file OSrLParserData.h.
std::string OSrLParserData::timeCategory |
Definition at line 104 of file OSrLParserData.h.
std::string OSrLParserData::timeUnit |
Definition at line 105 of file OSrLParserData.h.
std::string OSrLParserData::timeDescription |
Definition at line 106 of file OSrLParserData.h.
unsigned int OSrLParserData::numberOfTimes |
There could be more than one time measurement; numberOfTimes stores the number of them.
Definition at line 110 of file OSrLParserData.h.
std::string OSrLParserData::tmpOtherValue |
Provide temporary storage for attribute values associated with an OtherVarResult.
Definition at line 113 of file OSrLParserData.h.
std::string OSrLParserData::tmpOtherName |
Definition at line 114 of file OSrLParserData.h.
std::string OSrLParserData::tmpOtherDescription |
Definition at line 115 of file OSrLParserData.h.
std::string OSrLParserData::itemContent |
Provide temporary storage for a single <record> contained in an OtherSolutionResult.
Definition at line 118 of file OSrLParserData.h.
void* OSrLParserData::scanner |
scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser
Definition at line 122 of file OSrLParserData.h.
Referenced by OSrLReader::OSrLReader(), and OSrLReader::~OSrLReader().
unsigned int OSrLParserData::numberOfSolutions |
unsigned int OSrLParserData::numberOfVariables |
unsigned int OSrLParserData::numberOfConstraints |
unsigned int OSrLParserData::numberOfObjectives |
unsigned int OSrLParserData::numberOfVar |
number of variables in the a solution instance, may change from solution to solution
Definition at line 140 of file OSrLParserData.h.
unsigned int OSrLParserData::numberOfCon |
number of constraints in the a solution instance, may change from solution to solution
Definition at line 145 of file OSrLParserData.h.
unsigned int OSrLParserData::numberOfObj |
number of Objectives in the a solution instance may change from solution to solution
Definition at line 150 of file OSrLParserData.h.
a temporary counter to count variables, number of attributes, etc.
Definition at line 153 of file OSrLParserData.h.
a temporary counter to count other variable, objective and constraint results
Definition at line 156 of file OSrLParserData.h.
unsigned int OSrLParserData::ivar |
a temporary variable to hold an integer index value
Definition at line 162 of file OSrLParserData.h.
double OSrLParserData::tempVal |
a temporary variable to hold an integer or double value
Definition at line 165 of file OSrLParserData.h.
std::ostringstream OSrLParserData::outStr |
a temporary variable to hold an output stream value
Definition at line 168 of file OSrLParserData.h.
the number of types of variable results other than the value of the variable
Definition at line 173 of file OSrLParserData.h.
unsigned int OSrLParserData::solutionIdx |
set statusTypePresent to true if there is a status attribute parsed
Definition at line 181 of file OSrLParserData.h.
set generalStatusTypePresent to true if there is a general status attribute parsed
Definition at line 186 of file OSrLParserData.h.
set otherNamePresent to true if there is a name attribute in anotherVarResult
Definition at line 191 of file OSrLParserData.h.
for each solution we will build a vector of index-value pairs of primal values
Definition at line 196 of file OSrLParserData.h.
std::vector<IndexValuePair*> OSrLParserData::primalVals |
Definition at line 197 of file OSrLParserData.h.
for each solution we will build a vector of index-value pairs of objective function values
Definition at line 202 of file OSrLParserData.h.
std::vector<IndexValuePair*> OSrLParserData::objVals |
Definition at line 203 of file OSrLParserData.h.
for each solution we will build a vector of index-value pairs of dual values
Definition at line 208 of file OSrLParserData.h.
std::vector<IndexValuePair*> OSrLParserData::dualVals |
Definition at line 209 of file OSrLParserData.h.
a pointer to an OtherVariableResultStruct structure
Definition at line 213 of file OSrLParserData.h.
std::vector<OtherVariableResultStruct*> OSrLParserData::otherVarVec |
store a vector of pointers to otherVarVec structures
Definition at line 216 of file OSrLParserData.h.
if the parser finds invalid text it is held here and we delete if the file was not valid
Definition at line 221 of file OSrLParserData.h.
There could be more than one time measurement; numberOfTimes stores the number of them.
Definition at line 107 of file OSrLParserData.h.
void* OSrLParserData::scanner |
scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser
Definition at line 116 of file OSrLParserData.h.
a temporary variable to hold an integer index value
Definition at line 137 of file OSrLParserData.h.
pointer to the array of objective function indexes in each solution
Definition at line 171 of file OSrLParserData.h.
double** OSrLParserData::objectiveValues |
for each solution we have a pointer to the value of each objective function
Definition at line 176 of file OSrLParserData.h.
double** OSrLParserData::primalSolution |
for each solution we have a pointer to each primal solution
Definition at line 179 of file OSrLParserData.h.
double** OSrLParserData::dualSolution |
for each solution we have a pointer to each dual solution
Definition at line 182 of file OSrLParserData.h.
a pointer to an OtherVariableResultStruct structure
Definition at line 188 of file OSrLParserData.h.
std::vector<OtherVariableResultStruct*> OSrLParserData::otherVarVec |
store a vector of pointers to otherVarVec structures
Definition at line 191 of file OSrLParserData.h.
if the parser finds invalid text it is held here and we delete if the file was not valid
Definition at line 196 of file OSrLParserData.h.