00001
00002
00003
00004
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
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;
00034 bool m_useACD;
00035 };
00036
00037 #endif // !defined(AFX_LEVEL1_H__FDC684B1_2BDF_11D3_842C_006008B7A02D__INCLUDED_)