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 27 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 30 of file Logger.h.

◆ ~EchoedLogStream()

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

Definition at line 32 of file Logger.h.

32 {}

Member Function Documentation

◆ operator<<() [1/3]

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

◆ operator<<() [2/3]

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

Definition at line 44 of file Logger.h.

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

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 39 of file Logger.h.

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

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
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
submitPVValidationJobs.jobName
list jobName
Initialize all the variables.
Definition: submitPVValidationJobs.py:657
cond::persistency::EchoedLogStream::m_buffer
std::stringstream * m_buffer
Definition: Logger.h:52
cond::persistency::EchoedLogStream::m_edmLogger
EdmLogger m_edmLogger
Definition: Logger.h:51
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644