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

Constructor & Destructor Documentation

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

Definition at line 589 of file MessageLogger.h.

590  : ap(ELwarning,
591  id,
592  false,
593  (MessageDrop::infoAlwaysSuppressed || !MessageDrop::instance()->warningEnabled)) // Change log 22
594  {}
static MessageDrop * instance()
Definition: MessageDrop.cc:59
ELslProxy< ELwarningGen > const ELwarning
static bool infoAlwaysSuppressed
Definition: MessageDrop.h:110
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 614 of file MessageLogger.h.

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

614  {
615  if (ap.valid()) {
616  iF(ap);
617  }
618  return *this;
619  }
template<class T >
LogWarningThatSuppressesLikeLogInfo& edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::operator<< ( T const &  t)
inline

Definition at line 597 of file MessageLogger.h.

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

597  {
598  if (ap.valid())
599  ap << t;
600  return *this;
601  }
LogWarningThatSuppressesLikeLogInfo& edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 602 of file MessageLogger.h.

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

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

Definition at line 607 of file MessageLogger.h.

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

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

Member Data Documentation

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

Definition at line 622 of file MessageLogger.h.