CMS 3D CMS Logo

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

#include <MessageLogger.h>

Public Member Functions

template<typename F >
LogImportantlog (F &&iF)
 
 LogImportant (std::string const &id)
 
template<class T >
LogImportantoperator<< (T const &t)
 
LogImportantoperator<< (std::ostream &(*f)(std::ostream &))
 
LogImportantoperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogImportant ()
 

Private Member Functions

 LogImportant (LogImportant const &)=delete
 
LogImportantoperator= (LogImportant const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 376 of file MessageLogger.h.

Constructor & Destructor Documentation

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

Definition at line 379 of file MessageLogger.h.

380  : ap ( ELerror,id,true,!MessageDrop::instance()->errorEnabled ) // Change log 24
381  { }
MessageSender ap
static MessageDrop * instance()
Definition: MessageDrop.cc:60
ELslProxy< ELerrorGen > const ELerror
edm::LogImportant::~LogImportant ( )

Definition at line 62 of file MessageLogger.cc.

62 {}
edm::LogImportant::LogImportant ( LogImportant const &  )
privatedelete

Member Function Documentation

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

Definition at line 395 of file MessageLogger.h.

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

395  {
396  if(ap.valid()) {
397  iF(ap);
398  }
399  return *this;
400  }
MessageSender ap
template<class T >
LogImportant& edm::LogImportant::operator<< ( T const &  t)
inline

Definition at line 386 of file MessageLogger.h.

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

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

Definition at line 388 of file MessageLogger.h.

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

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

Definition at line 391 of file MessageLogger.h.

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

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

Member Data Documentation

MessageSender edm::LogImportant::ap
private

Definition at line 403 of file MessageLogger.h.