00001 /* $Id: OSiLParserData.h 4120 2011-03-30 06:28:16Z kmartin $ */ 00014 #ifndef OSILPARSERDATA_H 00015 #define OSILPARSERDATA_H 00016 00017 #include "OSnLNode.h" 00018 #include <vector> 00019 00034 class OSiLParserData{ 00035 public: 00037 OSiLParserData( ); 00038 00040 ~OSiLParserData() ; 00041 00044 void* scanner; 00045 00049 int osillineno; 00050 00054 int qtermcount; 00055 00058 bool qtermidxOneattON; 00059 00062 bool qtermidxTwoattON; 00063 00066 bool qtermidxattON; 00067 00069 bool qtermidattON ; 00070 00074 bool qtermcoefattON; 00075 00079 OSnLNode *nlNodePoint; 00080 00082 OSnLNodeVariable *nlNodeVariablePoint; 00083 00085 OSnLNodeNumber *nlNodeNumberPoint; 00086 00088 int nlnodecount; 00089 00093 int tmpnlcount; 00094 00099 bool numbertypeattON ; 00100 00105 bool numbervalueattON; 00106 00111 bool numberidattON; 00112 00117 bool variableidxattON ; 00118 00123 bool variablecoefattON ; 00124 00126 std::vector<OSnLNode*> nlNodeVec; 00127 00132 std::vector<OSnLNode*> sumVec; 00133 00138 std::vector<OSnLNode*> allDiffVec; 00139 00144 std::vector<OSnLNode*> productVec; 00145 00150 std::vector<OSnLNode*> maxVec; 00151 00156 std::vector<OSnLNode*> minVec; 00157 00158 00162 bool timeDomainStages; 00163 bool timeDomainInterval; 00164 00166 int stagecount; 00167 00169 bool stagenameON; 00170 00172 std::string stagename; 00173 00176 bool stageVariablesON; 00177 bool stageConstraintsON; 00178 bool stageObjectivesON; 00179 00182 bool stageVariablesOrdered; 00183 bool stageConstraintsOrdered; 00184 bool stageObjectivesOrdered; 00185 00187 int stageVariableStartIdx; 00188 int stageConstraintStartIdx; 00189 int stageObjectiveStartIdx; 00190 00192 int stagevarcount; 00193 int stageconcount; 00194 int stageobjcount; 00195 00198 int nvarcovered; 00199 int nconcovered; 00200 00204 int *m_miVarStageInfo; 00205 00209 int *m_miConStageInfo; 00210 00214 int *m_miObjStageInfo; 00215 00218 bool intervalhorizonON; 00219 00221 double intervalhorizon; 00222 00225 bool intervalstartON; 00226 00228 double intervalstart; 00229 }; 00230 00231 #endif /*OSILPARSERDATA_H_*/