/home/coin/SVN-release/OS-2.0.0/OS/src/OSParsers/OSrLParserData.h

Go to the documentation of this file.
00001 /* $Id: OSrLParserData.h 2852 2009-07-29 05:04:05Z kmartin $ */
00016 #ifndef OSRLPARSERDATA_H
00017 #define OSRLPARSERDATA_H
00018 
00019 #include "OSnLNode.h"
00020 #include "OSDataStructures.h"
00021 
00022 #include <vector> 
00023 #include <sstream>
00024 
00025 
00026 
00031 struct OtherVariableResultStruct{
00035         std::string name;
00036 
00040         std::string description;
00041         
00045         std::string value;
00046         
00050         int numberOfVar;
00051 
00058         std::string *otherVarText;
00059         
00060 
00067         int *otherVarIndex;
00068                 
00069 };
00070 
00071 
00084 class OSrLParserData{
00085 public:
00086         
00088         OSrLParserData( );
00089         
00090         //** the OSrLParserData class destructor */
00091         ~OSrLParserData() ;
00092         
00093         
00095         std::string statusType;
00096         
00098         std::string statusDescription;
00099 
00102         double timeValue;
00103         std::string timeType;
00104         std::string timeCategory;
00105         std::string timeUnit;
00106         std::string timeDescription;
00107 
00110         unsigned int numberOfTimes;
00111 
00113         std::string tmpOtherValue;
00114         std::string tmpOtherName;
00115         std::string tmpOtherDescription;
00116 
00118         std::string itemContent;
00119 
00122         void* scanner;
00123         
00125         unsigned int numberOfSolutions;
00126         
00128         unsigned int numberOfVariables;
00129         
00131         unsigned int numberOfConstraints;
00132         
00134         unsigned int numberOfObjectives;
00135         
00136         
00140         unsigned int numberOfVar;
00141         
00145         unsigned int numberOfCon;
00146         
00150         unsigned int numberOfObj;
00151         
00153         int kounter;
00154 
00156         int iOther;
00157 
00159         unsigned int ivar;
00160 
00162         int idx;
00163 
00165         double tempVal;
00166         
00168         std::ostringstream outStr;
00169         
00173         int numberOfOtherVariableResults;
00174         
00176         unsigned int solutionIdx;
00177 
00181         bool statusTypePresent;
00182         
00186         bool generalStatusTypePresent;
00187         
00191         bool otherNamePresent;
00192         
00193         
00196         struct IndexValuePair *primalValPair;
00197         std::vector<IndexValuePair*> primalVals;
00198         
00199         
00202         struct IndexValuePair *objValPair;
00203         std::vector<IndexValuePair*> objVals;
00204         
00205 
00208         struct IndexValuePair *dualValPair;
00209         std::vector<IndexValuePair*> dualVals;
00210         
00211 
00213         struct OtherVariableResultStruct *otherVarStruct;
00214         
00216         std::vector<OtherVariableResultStruct*> otherVarVec;
00217         
00221         char *errorText;
00222 };
00223 
00224 #endif /*OSRLPARSERDATA_H_*/

Generated on Mon Aug 3 03:02:24 2009 by  doxygen 1.4.7