The OSrLParserData Class. More...
#include <OSrLParserData.h>
Public Member Functions | |
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 | |
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 | kounter |
a tempory counter to count variables, number of attributes, etc. | |
int | numberOfOtherVariableResult |
the number of types of variable results other than the value of the variable | |
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 | |
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 | |
struct 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 |
The OSrLParserData Class.
Definition at line 60 of file OSrLParserData.h.
OSrLParserData::OSrLParserData | ( | ) |
the OSrLParserData class constructor
OSrLParserData::~OSrLParserData | ( | ) |
std::string OSrLParserData::statusType |
the status type of the result
Definition at line 71 of file OSrLParserData.h.
std::string OSrLParserData::statusDescription |
the status Description of the solution
Definition at line 74 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 78 of file OSrLParserData.h.
number of result solutions
Definition at line 81 of file OSrLParserData.h.
number of variables in the solution instance
Definition at line 84 of file OSrLParserData.h.
number of constraints in the solution instance
Definition at line 87 of file OSrLParserData.h.
number of Objectives in the solution instance
Definition at line 90 of file OSrLParserData.h.
a tempory counter to count variables, number of attributes, etc.
Definition at line 93 of file OSrLParserData.h.
the number of types of variable results other than the value of the variable
Definition at line 98 of file OSrLParserData.h.
and index on which solution we have found
Definition at line 101 of file OSrLParserData.h.
set statusTypePresent to true if there is a status attribute parsed
Definition at line 106 of file OSrLParserData.h.
set generalStatusTypePresent to true if there is a general status attribute parsed
Definition at line 111 of file OSrLParserData.h.
set otherNamePresent to true if there is a name attribute in anotherVarResult
Definition at line 116 of file OSrLParserData.h.
pointer to the array of objective function indexes in each solution
Definition at line 121 of file OSrLParserData.h.
double** OSrLParserData::objectiveValues |
for each solution we have a pointer to the value of each objective function
Definition at line 126 of file OSrLParserData.h.
double** OSrLParserData::primalSolution |
for each solution we have a pointer to each primal solution
Definition at line 129 of file OSrLParserData.h.
double** OSrLParserData::dualSolution |
for each solution we have a pointer to each dual solution
Definition at line 132 of file OSrLParserData.h.
struct OtherVariableResultStruct* OSrLParserData::otherVarStruct [read] |
a pointer to an OtherVariableResultStruct structure
Definition at line 138 of file OSrLParserData.h.
std::vector<OtherVariableResultStruct*> OSrLParserData::otherVarVec |
store a vector of pointers to otherVarVec structures
Definition at line 141 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 147 of file OSrLParserData.h.