- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/OS-2.3.5/OS/src/OSParsers/OSiLParserData.cpp

Go to the documentation of this file.

    00001 /* $Id: OSiLParserData.cpp 2698 2009-06-09 04:14:07Z kmartin $ */
    00016 #include "OSiLParserData.h"
    00017 #include <iostream>
    00018 using namespace std;
    00019  OSiLParserData::~OSiLParserData(){
    00020         // clear the vectors of pointers
    00021         nlNodeVec.clear();
    00022         //delete nlNodeVec.back();
    00023         sumVec.clear();
    00024         maxVec.clear();
    00025         productVec.clear();
    00026         minVec.clear();
    00027         allDiffVec.clear();
    00028         if (m_miVarStageInfo != NULL)
    00029                 delete []m_miVarStageInfo;
    00030         m_miVarStageInfo = NULL;
    00031         if (m_miConStageInfo != NULL)
    00032                 delete []m_miConStageInfo;
    00033         m_miConStageInfo = NULL;
    00034         if (m_miObjStageInfo != NULL)
    00035                 delete []m_miObjStageInfo;
    00036         m_miObjStageInfo = NULL;
    00037
    00038  }//~OSiLParserData
    00039
    00040
    00041  OSiLParserData::OSiLParserData() :
    00042         osillineno(0),
    00043         qtermcount(0),
    00044         qtermidxOneattON(false),
    00045         qtermidxTwoattON(false),
    00046         qtermidxattON(false),
    00047         qtermidattON(false),
    00048         qtermcoefattON(false),
    00049         nlnodecount(0),
    00050         tmpnlcount(0),
    00051         numbertypeattON(false),
    00052         numbervalueattON(false),
    00053         numberidattON(false),
    00054         variableidxattON(false),
    00055         variablecoefattON(false),
    00056         timeDomainStages(false),
    00057         timeDomainInterval(false),
    00058         stagecount(0),
    00059         stagenameON(false),
    00060         stagename(""),
    00061         stageVariablesON(false),
    00062         stageConstraintsON(false),
    00063         stageObjectivesON(false),
    00064         stageVariablesOrdered(false),
    00065         stageConstraintsOrdered(false),
    00066         stageObjectivesOrdered(false),
    00067         stageVariableStartIdx(0),
    00068         stageConstraintStartIdx(0),
    00069         stageObjectiveStartIdx(0),
    00070         stagevarcount(0),
    00071         stageconcount(0),
    00072         stageobjcount(0),
    00073         nvarcovered(0),
    00074         nconcovered(0),
    00075         intervalhorizonON(false),
    00076         intervalhorizon(0.0),
    00077         intervalstartON(false),
    00078         intervalstart(0.0)
    00079  {
    00080         m_miVarStageInfo = NULL;
    00081         m_miConStageInfo = NULL;
    00082         m_miObjStageInfo = NULL;
    00083
    00084  }//OSiLParserData