Project
Perf.h
Go to the documentation of this file.
1 #ifndef PERF_H
2 #define PERF_H
3 
10 #include <iostream>
11 #include <string>
12 
22 class Perf {
23 public:
31  Perf(std::string name, std::string criterion, float value);
32 
39  Perf(std::string name, std::string criterion);
40 
46  Perf(const Perf &perf);
47 
48  ~Perf();
49 
50  friend std::ostream &operator<<(std::ostream &out, const Perf &p);
51 
57  bool operator==(const Perf &perf2) const;
58 
59  std::string crit_;
60  float value_;
61  std::string name_;
62 };
63 
64 #endif
Perf (single performance) data structure.
Definition: Perf.h:22
Perf(std::string name, std::string criterion)
Perf(std::string name, std::string criterion, float value)
Perf(const Perf &perf)
bool operator==(const Perf &perf2) const