CondFormats
Common
interface
Summary.h
Go to the documentation of this file.
1
#ifndef Cond_Summary_h
2
#define Cond_Summary_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <string>
7
#include <iosfwd>
8
9
namespace
cond
{
10
13
class
Summary
{
14
public
:
15
Summary
();
16
virtual
~Summary
();
17
18
// short message (just content to be used in a table)
19
virtual
void
shortMessage
(std::ostream& os)
const
= 0;
20
21
// long message (ot be used in pop-up, single views)
22
virtual
void
longMessage
(std::ostream& os)
const
= 0;
23
24
COND_SERIALIZABLE
;
25
};
26
27
}
// namespace cond
28
29
inline
std::ostream&
operator<<
(std::ostream& os,
cond::Summary
const
&
s
) {
30
s
.shortMessage(os);
31
return
os;
32
}
33
34
#endif
cond::Summary::shortMessage
virtual void shortMessage(std::ostream &os) const =0
cond::Summary
Definition:
Summary.h:13
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
cond::Summary::~Summary
virtual ~Summary()
Definition:
Summary.cc:7
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
cond::Summary::Summary
Summary()
Definition:
Summary.cc:5
cond
Definition:
plugin.cc:23
operator<<
std::ostream & operator<<(std::ostream &os, cond::Summary const &s)
Definition:
Summary.h:29
Serializable.h
cond::Summary::longMessage
virtual void longMessage(std::ostream &os) const =0
Generated for CMSSW Reference Manual by
1.8.14