File indexing completed on 2024-04-06 12:01:58
0001 #ifndef Cond_Summary_h
0002 #define Cond_Summary_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 #include <string>
0007 #include <iosfwd>
0008
0009 namespace cond {
0010
0011
0012
0013 class Summary {
0014 public:
0015 Summary();
0016 virtual ~Summary();
0017
0018
0019 virtual void shortMessage(std::ostream& os) const = 0;
0020
0021
0022 virtual void longMessage(std::ostream& os) const = 0;
0023
0024 COND_SERIALIZABLE;
0025 };
0026
0027 }
0028
0029 inline std::ostream& operator<<(std::ostream& os, cond::Summary const& s) {
0030 s.shortMessage(os);
0031 return os;
0032 }
0033
0034 #endif