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 
5 
6 #include <string>
7 #include <iosfwd>
8 
9 namespace cond {
10 
13  class Summary {
14  public:
15 
16  Summary();
17  virtual ~Summary();
18 
19  // short message (just content to be used in a table)
20  virtual void shortMessage(std::ostream & os) const=0;
21 
22  // long message (ot be used in pop-up, single views)
23  virtual void longMessage(std::ostream & os) const=0;
24 
25 
26 
28 };
29 
30 }
31 
32 inline std::ostream & operator<<(std::ostream & os, cond::Summary const & s) {
33  s.shortMessage(os); return os;
34 }
35 
36 #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:188
#define COND_SERIALIZABLE
Definition: Serializable.h:37
virtual void longMessage(std::ostream &os) const =0