Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Level1.h

Go to the documentation of this file.
00001 // Level1.h: interface for the Level1 class.
00002 //
00003 // Author: T. Burnett, tburnett@u.washington.edu
00004 // $Id: Level1.h,v 1.1.1.1 1999/12/20 22:29:13 burnett Exp $
00006 
00007 #if !defined(AFX_LEVEL1_H__FDC684B1_2BDF_11D3_842C_006008B7A02D__INCLUDED_)
00008 #define AFX_LEVEL1_H__FDC684B1_2BDF_11D3_842C_006008B7A02D__INCLUDED_
00009 
00010 #if _MSC_VER > 1000
00011 #pragma once
00012 #pragma warning(disable:4786)
00013 #endif // _MSC_VER > 1000
00014 
00015 #include "Analyze.h"
00016 #include <map>
00017 
00018 class Level1 : public Analyze {
00019 public:
00020     explicit Level1(const Tuple&t, bool useACD=false);
00021     // constructor, needs a tuple, can specify to use ACD
00022 
00023     void report(std::ostream& out);
00024 
00025     void clear(){m_track=m_cal=m_both=m_hi_cal=0; Analyze::clear();}
00026 private:
00027     virtual bool apply (); 
00028 
00029     int m_track;
00030     int m_cal;
00031     int m_hi_cal;
00032     int m_both;
00033     std::map<int,int> m_counts; //map of values for each bit pattern
00034     bool m_useACD;
00035 };
00036 
00037 #endif // !defined(AFX_LEVEL1_H__FDC684B1_2BDF_11D3_842C_006008B7A02D__INCLUDED_)

Generated at Wed Nov 21 12:20:39 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000