CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Summary.h
Go to the documentation of this file.
1 #ifndef Cond_Summary_h
2 #define Cond_Summary_h
3 
4 #include <string>
5 #include <iosfwd>
6 
7 namespace cond {
8 
11  class Summary {
12  public:
13 
14  Summary();
15  virtual ~Summary();
16 
17  // short message (just content to be used in a table)
18  virtual void shortMessage(std::ostream & os) const=0;
19 
20  // long message (ot be used in pop-up, single views)
21  virtual void longMessage(std::ostream & os) const=0;
22 
23 
24  };
25 
26 }
27 
28 inline std::ostream & operator<<(std::ostream & os, cond::Summary const & s) {
29  s.shortMessage(os); return os;
30 }
31 
32 #endif
virtual void shortMessage(std::ostream &os) const =0
virtual ~Summary()
Definition: Summary.cc:7
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
virtual void longMessage(std::ostream &os) const =0