CMS 3D CMS Logo

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

#include <MessageLogger.h>

Public Member Functions

template<typename F >
LogWarningThatSuppressesLikeLogInfolog (F &&iF)
 
 LogWarningThatSuppressesLikeLogInfo (std::string const &id)
 
template<class T >
LogWarningThatSuppressesLikeLogInfooperator<< (T const &t)
 
LogWarningThatSuppressesLikeLogInfooperator<< (std::ostream &(*f)(std::ostream &))
 
LogWarningThatSuppressesLikeLogInfooperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogWarningThatSuppressesLikeLogInfo ()
 

Private Member Functions

 LogWarningThatSuppressesLikeLogInfo (LogWarningThatSuppressesLikeLogInfo const &)=delete
 
LogWarningThatSuppressesLikeLogInfooperator= (LogWarningThatSuppressesLikeLogInfo const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 527 of file MessageLogger.h.

Constructor & Destructor Documentation

edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::LogWarningThatSuppressesLikeLogInfo ( std::string const &  id)
inlineexplicit

Definition at line 530 of file MessageLogger.h.

531  : ap ( ELwarning,id,false,(MessageDrop::infoAlwaysSuppressed || !MessageDrop::instance()->warningEnabled) ) // Change log 22
532  { }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
ELslProxy< ELwarningGen > const ELwarning
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:113
edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::~LogWarningThatSuppressesLikeLogInfo ( )

Definition at line 64 of file MessageLogger.cc.

64 {}
edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::LogWarningThatSuppressesLikeLogInfo ( LogWarningThatSuppressesLikeLogInfo const &  )
privatedelete

Member Function Documentation

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

Definition at line 545 of file MessageLogger.h.

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

545  {
546  if(ap.valid()) {
547  iF(ap);
548  }
549  return *this;
550  }
template<class T >
LogWarningThatSuppressesLikeLogInfo& edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::operator<< ( T const &  t)
inline

Definition at line 536 of file MessageLogger.h.

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

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

Definition at line 538 of file MessageLogger.h.

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

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

Definition at line 541 of file MessageLogger.h.

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

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

Member Data Documentation

MessageSender edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::ap
private

Definition at line 553 of file MessageLogger.h.