00001 00015 #ifndef OSRLPARSERDATA_H 00016 #define OSRLPARSERDATA_H 00017 00018 #include "OSnLNode.h" 00019 #include <vector> 00020 00025 struct OtherVariableResultStruct{ 00029 std::string name; 00030 00034 std::string description; 00035 00042 std::string *otherVarText; 00043 }; 00044 00045 00058 class OSrLParserData{ 00059 public: 00060 00062 OSrLParserData( ); 00063 00064 //** the OSrLParserData class destructor */ 00065 ~OSrLParserData() ; 00066 00067 00069 std::string statusType; 00070 00072 std::string statusDescription; 00073 00076 void* scanner; 00077 00079 int numberOfSolutions; 00080 00082 int numberOfVariables; 00083 00085 int numberOfConstraints; 00086 00088 int numberOfObjectives; 00089 00091 int kounter; 00092 00096 int numberOfOtherVariableResult; 00097 00099 int solutionIdx; 00100 00104 bool statusTypePresent; 00105 00109 bool generalStatusTypePresent; 00110 00114 bool otherNamePresent; 00115 00119 int *objectiveIdx; 00120 00124 double **objectiveValues; 00125 00127 double **primalSolution; 00128 00130 double **dualSolution; 00131 00133 struct OtherVariableResultStruct *otherVarStruct; 00134 00136 std::vector<OtherVariableResultStruct*> otherVarVec; 00137 }; 00138 00139 #endif /*OSRLPARSERDATA_H_*/