CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::LogVerbatim Class Reference

#include <MessageLogger.h>

Public Member Functions

template<typename F >
LogVerbatimlog (F &&iF)
 
 LogVerbatim (std::string const &id)
 
template<class T >
LogVerbatimoperator<< (T const &t)
 
LogVerbatimoperator<< (std::ostream &(*f)(std::ostream &))
 
LogVerbatimoperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogVerbatim ()
 

Private Member Functions

 LogVerbatim (LogVerbatim const &)=delete
 
LogVerbatimoperator= (LogVerbatim const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 271 of file MessageLogger.h.

Constructor & Destructor Documentation

edm::LogVerbatim::LogVerbatim ( std::string const &  id)
inlineexplicit

Definition at line 274 of file MessageLogger.h.

275  : ap ( ELinfo,id,true,(MessageDrop::infoAlwaysSuppressed || !MessageDrop::instance()->infoEnabled) ) // Change log 21
276  { }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
ELslProxy< ELinfoGen > const ELinfo
MessageSender ap
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:113
edm::LogVerbatim::~LogVerbatim ( )

Definition at line 57 of file MessageLogger.cc.

57 {}
edm::LogVerbatim::LogVerbatim ( LogVerbatim const &  )
privatedelete

Member Function Documentation

template<typename F >
LogVerbatim& edm::LogVerbatim::log ( F &&  iF)
inline

Definition at line 291 of file MessageLogger.h.

References edm::LogWarning::ap, and edm::MessageSender::valid().

291  {
292  if(ap.valid()) {
293  iF(ap);
294  }
295  return *this;
296  }
MessageSender ap
template<class T >
LogVerbatim& edm::LogVerbatim::operator<< ( T const &  t)
inline

Definition at line 281 of file MessageLogger.h.

References edm::LogWarning::ap, and edm::MessageSender::valid().

281 { if(ap.valid()) ap << t; return *this; }
MessageSender ap
LogVerbatim& edm::LogVerbatim::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 284 of file MessageLogger.h.

References edm::LogWarning::ap, f, and edm::MessageSender::valid().

285  { if(ap.valid()) ap << f; return *this; }
double f[11][100]
MessageSender ap
LogVerbatim& edm::LogVerbatim::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 287 of file MessageLogger.h.

References edm::LogWarning::ap, f, and edm::MessageSender::valid().

288  { if(ap.valid()) ap << f; return *this; }
double f[11][100]
MessageSender ap
LogVerbatim& edm::LogVerbatim::operator= ( LogVerbatim const &  )
privatedelete

Member Data Documentation

MessageSender edm::LogVerbatim::ap
private

Definition at line 299 of file MessageLogger.h.