00001 00015 #ifndef OSILPARSERDATA_H 00016 #define OSILPARSERDATA_H 00017 00018 #include "OSnLNode.h" 00019 #include <vector> 00020 00035 class OSiLParserData{ 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 00189 int stageVariableStartIdx; 00190 int stageConstraintStartIdx; 00191 int stageObjectiveStartIdx; 00192 00194 int stagevarcount; 00195 int stageconcount; 00196 int stageobjcount; 00197 00200 int nvarcovered; 00201 int nconcovered; 00202 00206 int *m_miVarStageInfo; 00207 00211 int *m_miConStageInfo; 00212 00216 int *m_miObjStageInfo; 00217 00220 bool intervalhorizonON; 00221 00223 double intervalhorizon; 00224 00227 bool intervalstartON; 00228 00230 double intervalstart; 00231 }; 00232 00233 #endif /*OSILPARSERDATA_H_*/