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)
 
LogVerbatimoperator<< (std::ios_base &(*f)(std::ios_base &))
 
LogVerbatimoperator<< (std::ostream &(*f)(std::ostream &))
 
template<class T >
LogVerbatimoperator<< (T const &t)
 
 ~LogVerbatim ()
 

Private Member Functions

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

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 297 of file MessageLogger.h.

Constructor & Destructor Documentation

◆ LogVerbatim() [1/2]

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

Definition at line 300 of file MessageLogger.h.

301  : ap(ELinfo,
302  id,
303  true,
304  (MessageDrop::infoAlwaysSuppressed || !MessageDrop::instance()->infoEnabled)) // Change log 21
305  {}

◆ ~LogVerbatim()

edm::LogVerbatim::~LogVerbatim ( )

Definition at line 57 of file MessageLogger.cc.

57 {}

◆ LogVerbatim() [2/2]

edm::LogVerbatim::LogVerbatim ( LogVerbatim const &  )
privatedelete

Member Function Documentation

◆ log()

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

◆ operator<<() [1/3]

LogVerbatim& edm::LogVerbatim::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 320 of file MessageLogger.h.

320  {
321  if (ap.valid())
322  ap << f;
323  return *this;
324  }

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

◆ operator<<() [2/3]

LogVerbatim& edm::LogVerbatim::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 315 of file MessageLogger.h.

315  {
316  if (ap.valid())
317  ap << f;
318  return *this;
319  }

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

◆ operator<<() [3/3]

template<class T >
LogVerbatim& edm::LogVerbatim::operator<< ( T const &  t)
inline

Definition at line 309 of file MessageLogger.h.

309  {
310  if (ap.valid())
311  ap << t;
312  return *this;
313  }

References ap, OrderedSet::t, and edm::MessageSender::valid().

◆ operator=()

LogVerbatim& edm::LogVerbatim::operator= ( LogVerbatim const &  )
privatedelete

Member Data Documentation

◆ ap

MessageSender edm::LogVerbatim::ap
private

Definition at line 335 of file MessageLogger.h.

Referenced by log(), and operator<<().

f
double f[11][100]
Definition: MuScleFitUtils.cc:78
edm::MessageSender::valid
bool valid()
Definition: MessageSender.h:45
edm::MessageDrop::infoAlwaysSuppressed
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:111
OrderedSet.t
t
Definition: OrderedSet.py:90
edm::LogVerbatim::ap
MessageSender ap
Definition: MessageLogger.h:335
edm::MessageDrop::instance
static MessageDrop * instance()
Definition: MessageDrop.cc:60
edm::ELinfo
const ELslProxy< ELinfoGen > ELinfo
Definition: ELseverityLevel.cc:296