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

Constructor & Destructor Documentation

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

Definition at line 143 of file MessageLogger.h.

References ~LogWarning().

144  : ap(ELwarning,
145  id,
146  false,
147  (MessageDrop::warningAlwaysSuppressed || !MessageDrop::instance()->warningEnabled)) // Change log 21
148  {}
static MessageDrop * instance()
Definition: MessageDrop.cc:59
ELslProxy< ELwarningGen > const ELwarning
static bool warningAlwaysSuppressed
Definition: MessageDrop.h:112
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 169 of file MessageLogger.h.

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

169  {
170  if (ap.valid()) {
171  iF(ap);
172  }
173  return *this;
174  }
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  {
153  if (ap.valid())
154  ap << t;
155  return *this;
156  }
MessageSender ap
LogWarning& edm::LogWarning::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 157 of file MessageLogger.h.

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

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

Definition at line 162 of file MessageLogger.h.

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

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

Member Data Documentation

MessageSender edm::LogWarning::ap
private