File indexing completed on 2024-04-06 12:11:26
0001 #ifndef LOOSES_H
0002 #define LOOSES_H
0003
0004
0005 #include <string>
0006 #include <map>
0007 #include <vector>
0008
0009 class Looses {
0010 public:
0011
0012 static Looses* instance();
0013
0014
0015 virtual ~Looses();
0016
0017
0018 void count(const std::string& name, unsigned cut);
0019
0020
0021 void summary();
0022
0023 private:
0024
0025
0026 Looses();
0027
0028
0029 static Looses* myself;
0030
0031
0032 std::map<std::string, std::vector<unsigned> > theLosses;
0033 };
0034 #endif