Go to the documentation of this file.00001 #ifndef Cond_Summary_h
00002 #define Cond_Summary_h
00003
00004 #include <string>
00005 #include <iosfwd>
00006
00007 namespace cond {
00008
00011 class Summary {
00012 public:
00013
00014 Summary();
00015 virtual ~Summary();
00016
00017
00018 virtual void shortMessage(std::ostream & os) const=0;
00019
00020
00021 virtual void longMessage(std::ostream & os) const=0;
00022
00023
00024 };
00025
00026 }
00027
00028 inline std::ostream & operator<<(std::ostream & os, cond::Summary const & s) {
00029 s.shortMessage(os); return os;
00030 }
00031
00032 #endif