00001 00015 #ifndef OSRLPARSERDATA_H 00016 #define OSRLPARSERDATA_H 00017 00018 #include "OSnLNode.h" 00019 #include <vector> 00020 00021 00022 00027 struct OtherVariableResultStruct{ 00031 std::string name; 00032 00036 std::string description; 00037 00044 std::string *otherVarText; 00045 }; 00046 00047 00060 class OSrLParserData{ 00061 public: 00062 00064 OSrLParserData( ); 00065 00066 //** the OSrLParserData class destructor */ 00067 ~OSrLParserData() ; 00068 00069 00071 std::string statusType; 00072 00074 std::string statusDescription; 00075 00078 void* scanner; 00079 00081 int numberOfSolutions; 00082 00084 int numberOfVariables; 00085 00087 int numberOfConstraints; 00088 00090 int numberOfObjectives; 00091 00093 int kounter; 00094 00098 int numberOfOtherVariableResult; 00099 00101 int solutionIdx; 00102 00106 bool statusTypePresent; 00107 00111 bool generalStatusTypePresent; 00112 00116 bool otherNamePresent; 00117 00121 int *objectiveIdx; 00122 00126 double **objectiveValues; 00127 00129 double **primalSolution; 00130 00132 double **dualSolution; 00133 00134 00135 00136 00138 struct OtherVariableResultStruct *otherVarStruct; 00139 00141 std::vector<OtherVariableResultStruct*> otherVarVec; 00142 00143 00147 char *errorText; 00148 }; 00149 00150 #endif /*OSRLPARSERDATA_H_*/