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 238 of file MessageLogger.h.

Constructor & Destructor Documentation

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

Definition at line 241 of file MessageLogger.h.

242  : ap ( ELinfo,id,false,(MessageDrop::infoAlwaysSuppressed || !MessageDrop::instance()->infoEnabled) ) // Change log 21
243  { }
MessageSender ap
static MessageDrop * instance()
Definition: MessageDrop.cc:60
ELslProxy< ELinfoGen > const ELinfo
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:113
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 257 of file MessageLogger.h.

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

257  {
258  if(ap.valid()) {
259  iF(ap);
260  }
261  return *this;
262  }
MessageSender ap
template<class T >
LogInfo& edm::LogInfo::operator<< ( T const &  t)
inline

Definition at line 248 of file MessageLogger.h.

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

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

Definition at line 250 of file MessageLogger.h.

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

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

Definition at line 253 of file MessageLogger.h.

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

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

Member Data Documentation

MessageSender edm::LogInfo::ap
private

Definition at line 264 of file MessageLogger.h.