00001 /* $Id: OSiLParserData.h 4292 2011-09-21 05:47:18Z kmartin $ */ 00014 #ifndef OSILPARSERDATA_H 00015 #define OSILPARSERDATA_H 00016 00017 #include "OSnLNode.h" 00018 #include <vector> 00019 00034 class OSiLParserData 00035 { 00036 public: 00038 OSiLParserData( ); 00039 00041 ~OSiLParserData() ; 00042 00045 void* scanner; 00046 00050 int osillineno; 00051 00055 int qtermcount; 00056 00059 bool qtermidxOneattON; 00060 00063 bool qtermidxTwoattON; 00064 00067 bool qtermidxattON; 00068 00070 bool qtermidattON ; 00071 00075 bool qtermcoefattON; 00076 00080 OSnLNode *nlNodePoint; 00081 00083 OSnLNodeVariable *nlNodeVariablePoint; 00084 00086 OSnLNodeNumber *nlNodeNumberPoint; 00087 00089 int nlnodecount; 00090 00094 int tmpnlcount; 00095 00100 bool numbertypeattON ; 00101 00106 bool numbervalueattON; 00107 00112 bool numberidattON; 00113 00118 bool variableidxattON ; 00119 00124 bool variablecoefattON ; 00125 00127 std::vector<OSnLNode*> nlNodeVec; 00128 00133 std::vector<OSnLNode*> sumVec; 00134 00139 std::vector<OSnLNode*> allDiffVec; 00140 00145 std::vector<OSnLNode*> productVec; 00146 00151 std::vector<OSnLNode*> maxVec; 00152 00157 std::vector<OSnLNode*> minVec; 00158 00159 00163 bool timeDomainStages; 00164 bool timeDomainInterval; 00165 00167 int stagecount; 00168 00170 bool stagenameON; 00171 00173 std::string stagename; 00174 00177 bool stageVariablesON; 00178 bool stageConstraintsON; 00179 bool stageObjectivesON; 00180 00183 bool stageVariablesOrdered; 00184 bool stageConstraintsOrdered; 00185 bool stageObjectivesOrdered; 00186 00188 int stageVariableStartIdx; 00189 int stageConstraintStartIdx; 00190 int stageObjectiveStartIdx; 00191 00193 int stagevarcount; 00194 int stageconcount; 00195 int stageobjcount; 00196 00199 int nvarcovered; 00200 int nconcovered; 00201 00205 int *m_miVarStageInfo; 00206 00210 int *m_miConStageInfo; 00211 00215 int *m_miObjStageInfo; 00216 00219 bool intervalhorizonON; 00220 00222 double intervalhorizon; 00223 00226 bool intervalstartON; 00227 00229 double intervalstart; 00230 }; 00231 00232 #endif /*OSILPARSERDATA_H_*/