/home/coin/SVN-release/OS-2.3.1/OS/v2.0/OSrLParserData.h

Go to the documentation of this file.
00001 
00015 #ifndef OSRLPARSERDATA_H
00016 #define OSRLPARSERDATA_H
00017 
00018 #include "OSnLNode.h"
00019 #include <vector> 
00020 #include <sstream>
00021 
00022 
00023 
00028 struct OtherVariableResultStruct{
00032         std::string name;
00033 
00037         std::string description;
00038         
00042         std::string value;
00043         
00047         int numberOfVar;
00048 
00055         std::string *otherVarText;
00056         
00057 
00064         int *otherVarIndex;
00065                 
00066 };
00067 
00068 
00081 class OSrLParserData{
00082 public:
00083         
00085         OSrLParserData( );
00086         
00087         //** the OSrLParserData class destructor */
00088         ~OSrLParserData() ;
00089         
00090         
00092         std::string statusType;
00093         
00095         std::string statusDescription;
00096 
00099         double timeValue;
00100         std::string timeType;
00101         std::string timeCategory;
00102         std::string timeUnit;
00103         std::string timeDescription;
00104 
00107         int numberOfTimes;
00108 
00110         std::string tmpOtherValue;
00111         std::string tmpOtherName;
00112         std::string tmpOtherDescription;
00113 
00116         void* scanner;
00117         
00119         int numberOfSolutions;
00120         
00122         int numberOfVariables;
00123         
00125         int numberOfConstraints;
00126         
00128         int numberOfObjectives;
00129         
00131         int kounter;
00132 
00134         int iOther;
00135 
00137         int ivar;
00138 
00140         double tempVal;
00141         
00143         std::ostringstream outStr;
00144         
00148         int numberOfOtherVariableResults;
00149         
00151         int solutionIdx;
00152 
00156         bool statusTypePresent;
00157         
00161         bool generalStatusTypePresent;
00162         
00166         bool otherNamePresent;
00167         
00171         int *objectiveIdx;
00172         
00176         double **objectiveValues;
00177         
00179         double **primalSolution;
00180         
00182         double **dualSolution;
00183         
00184         
00185 
00186 
00188         struct OtherVariableResultStruct *otherVarStruct;
00189         
00191         std::vector<OtherVariableResultStruct*> otherVarVec;
00192         
00196         char *errorText;
00197 };
00198 
00199 #endif /*OSRLPARSERDATA_H_*/

Generated on Sun Jan 2 03:04:47 2011 by  doxygen 1.4.7