00001 /* $Id: OSiLParserData.h 2698 2009-06-09 04:14:07Z kmartin $ */ 00016 #ifndef OSILPARSERDATA_H 00017 #define OSILPARSERDATA_H 00018 00019 #include "OSnLNode.h" 00020 #include <vector> 00021 00036 class OSiLParserData{ 00037 public: 00039 OSiLParserData( ); 00040 00042 ~OSiLParserData() ; 00043 00046 void* scanner; 00047 00051 int osillineno; 00052 00056 int qtermcount; 00057 00060 bool qtermidxOneattON; 00061 00064 bool qtermidxTwoattON; 00065 00068 bool qtermidxattON; 00069 00071 bool qtermidattON ; 00072 00076 bool qtermcoefattON; 00077 00081 OSnLNode *nlNodePoint; 00082 00084 OSnLNodeVariable *nlNodeVariablePoint; 00085 00087 OSnLNodeNumber *nlNodeNumberPoint; 00088 00090 int nlnodecount; 00091 00095 int tmpnlcount; 00096 00101 bool numbertypeattON ; 00102 00107 bool numbervalueattON; 00108 00113 bool numberidattON; 00114 00119 bool variableidxattON ; 00120 00125 bool variablecoefattON ; 00126 00128 std::vector<OSnLNode*> nlNodeVec; 00129 00134 std::vector<OSnLNode*> sumVec; 00135 00140 std::vector<OSnLNode*> allDiffVec; 00141 00146 std::vector<OSnLNode*> productVec; 00147 00152 std::vector<OSnLNode*> maxVec; 00153 00158 std::vector<OSnLNode*> minVec; 00159 00160 00164 bool timeDomainStages; 00165 bool timeDomainInterval; 00166 00168 int stagecount; 00169 00171 bool stagenameON; 00172 00174 std::string stagename; 00175 00178 bool stageVariablesON; 00179 bool stageConstraintsON; 00180 bool stageObjectivesON; 00181 00184 bool stageVariablesOrdered; 00185 bool stageConstraintsOrdered; 00186 bool stageObjectivesOrdered; 00187 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_*/