CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cond::persistency::EchoedLogStream< EdmLogger > Class Template Reference

#include <Logger.h>

Public Member Functions

 EchoedLogStream ()=delete
 
 EchoedLogStream (const std::string &jobName, std::stringstream &buffer)
 
template<typename T >
EchoedLogStreamoperator<< (const T &t)
 
EchoedLogStreamoperator<< (std::ios_base &(*f)(std::ios_base &))
 
EchoedLogStreamoperator<< (std::ostream &(*f)(std::ostream &))
 
virtual ~EchoedLogStream ()
 

Private Attributes

std::stringstream * m_buffer
 
EdmLogger m_edmLogger
 

Detailed Description

template<typename EdmLogger>
class cond::persistency::EchoedLogStream< EdmLogger >

Definition at line 26 of file Logger.h.

Constructor & Destructor Documentation

◆ EchoedLogStream() [1/2]

template<typename EdmLogger>
cond::persistency::EchoedLogStream< EdmLogger >::EchoedLogStream ( )
delete

◆ EchoedLogStream() [2/2]

template<typename EdmLogger>
cond::persistency::EchoedLogStream< EdmLogger >::EchoedLogStream ( const std::string &  jobName,
std::stringstream &  buffer 
)
inlineexplicit

Definition at line 29 of file Logger.h.

◆ ~EchoedLogStream()

template<typename EdmLogger>
virtual cond::persistency::EchoedLogStream< EdmLogger >::~EchoedLogStream ( )
inlinevirtual

Definition at line 31 of file Logger.h.

31 {}

Member Function Documentation

◆ operator<<() [1/3]

template<typename EdmLogger>
template<typename T >
EchoedLogStream& cond::persistency::EchoedLogStream< EdmLogger >::operator<< ( const T t)
inline

Definition at line 33 of file Logger.h.

33  {
34  *m_buffer << t;
35  m_edmLogger << t;
36  return *this;
37  }

References cond::persistency::EchoedLogStream< EdmLogger >::m_buffer, cond::persistency::EchoedLogStream< EdmLogger >::m_edmLogger, and OrderedSet::t.

◆ operator<<() [2/3]

template<typename EdmLogger>
EchoedLogStream& cond::persistency::EchoedLogStream< EdmLogger >::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 43 of file Logger.h.

43  {
44  *m_buffer << f;
45  m_edmLogger << f;
46  return *this;
47  }

References f, cond::persistency::EchoedLogStream< EdmLogger >::m_buffer, and cond::persistency::EchoedLogStream< EdmLogger >::m_edmLogger.

◆ operator<<() [3/3]

template<typename EdmLogger>
EchoedLogStream& cond::persistency::EchoedLogStream< EdmLogger >::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 38 of file Logger.h.

38  {
39  *m_buffer << f;
40  m_edmLogger << f;
41  return *this;
42  }

References f, cond::persistency::EchoedLogStream< EdmLogger >::m_buffer, and cond::persistency::EchoedLogStream< EdmLogger >::m_edmLogger.

Member Data Documentation

◆ m_buffer

template<typename EdmLogger>
std::stringstream* cond::persistency::EchoedLogStream< EdmLogger >::m_buffer
private

◆ m_edmLogger

template<typename EdmLogger>
EdmLogger cond::persistency::EchoedLogStream< EdmLogger >::m_edmLogger
private
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
beam_dqm_sourceclient-live_cfg.jobName
jobName
Definition: beam_dqm_sourceclient-live_cfg.py:372
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
OrderedSet.t
t
Definition: OrderedSet.py:90
cond::persistency::EchoedLogStream::m_buffer
std::stringstream * m_buffer
Definition: Logger.h:51
cond::persistency::EchoedLogStream::m_edmLogger
EdmLogger m_edmLogger
Definition: Logger.h:50