frameutils/CheckFrame.hh

00001 /* -*- mode: c++; c-basic-offset: 4; -*- */
00002 #ifndef CHECKFRAME_HH
00003 #define CHECKFRAME_HH
00004 
00005 #include "FrameF.hh"
00006 
00007 #define MaxID 32
00008 
00017 class CheckFrame {
00018   public:
00022     CheckFrame(std::istream& in);
00023 
00026     virtual ~CheckFrame(void);
00027 
00034     virtual void ErrorOut(const std::string& error);
00035 
00039     void Check(void) throw(BadFile);
00040 
00043     void    setProcess(int ID);
00044 
00047     void    procSH(void);
00048 
00051     virtual void procID(void);
00052 
00053   private:
00054     FrameF  mFile;
00055     int     mDebug;
00056     bool    mProcID[MaxID];
00057     bool    mDefID[MaxID];
00058     int     mInstCt[MaxID];
00059     int     mEOFrID;
00060     int     mEOFID;
00061 };
00062 
00063 #endif   //  CHECKFRAME_HH
00064 
00065 

Generated on Sun Mar 8 19:20:46 2009 for dmt by  doxygen 1.5.4