CMS 3D CMS Logo

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

#include <MessageLogger.h>

Inheritance diagram for edm::LogInfo:
cscdqm::LogInfo

Public Member Functions

template<typename F >
LogInfolog (F &&iF)
 
 LogInfo (std::string const &id)
 
template<class T >
LogInfooperator<< (T const &t)
 
LogInfooperator<< (std::ostream &(*f)(std::ostream &))
 
LogInfooperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogInfo ()
 

Private Member Functions

 LogInfo (LogInfo const &)=delete
 
LogInfooperator= (LogInfo const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 254 of file MessageLogger.h.

Constructor & Destructor Documentation

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

Definition at line 256 of file MessageLogger.h.

257  : ap(ELinfo,
258  id,
259  false,
260  (MessageDrop::infoAlwaysSuppressed || !MessageDrop::instance()->infoEnabled)) // Change log 21
261  {}
MessageSender ap
static MessageDrop * instance()
Definition: MessageDrop.cc:59
ELslProxy< ELinfoGen > const ELinfo
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:110
edm::LogInfo::~LogInfo ( )

Definition at line 52 of file MessageLogger.cc.

52 {}
edm::LogInfo::LogInfo ( LogInfo const &  )
privatedelete

Member Function Documentation

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

Definition at line 282 of file MessageLogger.h.

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

282  {
283  if (ap.valid()) {
284  iF(ap);
285  }
286  return *this;
287  }
MessageSender ap
template<class T >
LogInfo& edm::LogInfo::operator<< ( T const &  t)
inline

Definition at line 265 of file MessageLogger.h.

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

265  {
266  if (ap.valid())
267  ap << t;
268  return *this;
269  }
MessageSender ap
LogInfo& edm::LogInfo::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 270 of file MessageLogger.h.

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

270  {
271  if (ap.valid())
272  ap << f;
273  return *this;
274  }
MessageSender ap
double f[11][100]
LogInfo& edm::LogInfo::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 275 of file MessageLogger.h.

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

275  {
276  if (ap.valid())
277  ap << f;
278  return *this;
279  }
MessageSender ap
double f[11][100]
LogInfo& edm::LogInfo::operator= ( LogInfo const &  )
privatedelete

Member Data Documentation

MessageSender edm::LogInfo::ap
private

Definition at line 290 of file MessageLogger.h.