CMS 3D CMS Logo

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

#include <MessageLogger.h>

Inheritance diagram for edm::LogWarning:
cscdqm::LogWarn

Public Member Functions

template<typename F >
LogWarninglog (F &&iF)
 
 LogWarning (std::string const &id)
 
template<class T >
LogWarningoperator<< (T const &t)
 
LogWarningoperator<< (std::ostream &(*f)(std::ostream &))
 
LogWarningoperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogWarning ()
 

Private Member Functions

 LogWarning (LogWarning const &)=delete
 
LogWarningoperator= (LogWarning const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 142 of file MessageLogger.h.

Constructor & Destructor Documentation

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

Definition at line 145 of file MessageLogger.h.

References ~LogWarning().

146  : ap ( ELwarning,id,false,(MessageDrop::warningAlwaysSuppressed || !MessageDrop::instance()->warningEnabled)) // Change log 21
147  { }
static MessageDrop * instance()
Definition: MessageDrop.cc:60
ELslProxy< ELwarningGen > const ELwarning
static bool warningAlwaysSuppressed
Definition: MessageDrop.h:114
MessageSender ap
edm::LogWarning::~LogWarning ( )

Definition at line 53 of file MessageLogger.cc.

Referenced by LogWarning().

53 {}
edm::LogWarning::LogWarning ( LogWarning const &  )
privatedelete

Member Function Documentation

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

Definition at line 161 of file MessageLogger.h.

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

161  {
162  if(ap.valid()) {
163  iF(ap);
164  }
165  return *this;
166  }
MessageSender ap
template<class T >
LogWarning& edm::LogWarning::operator<< ( T const &  t)
inline

Definition at line 152 of file MessageLogger.h.

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

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

Definition at line 154 of file MessageLogger.h.

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

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

Definition at line 157 of file MessageLogger.h.

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

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

Member Data Documentation

MessageSender edm::LogWarning::ap
private