CMS 3D CMS Logo

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

#include <MessageLogger.h>

Inheritance diagram for edm::LogError:
cscdqm::LogError

Public Member Functions

template<typename F >
LogErrorlog (F &&iF)
 
 LogError (std::string const &id)
 
template<class T >
LogErroroperator<< (T const &t)
 
LogErroroperator<< (std::ostream &(*f)(std::ostream &))
 
LogErroroperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogError ()
 

Private Member Functions

 LogError (LogError const &)=delete
 
LogErroroperator= (LogError const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 174 of file MessageLogger.h.

Constructor & Destructor Documentation

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

Definition at line 177 of file MessageLogger.h.

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

Definition at line 54 of file MessageLogger.cc.

54 {}
edm::LogError::LogError ( LogError const &  )
privatedelete

Member Function Documentation

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

Definition at line 193 of file MessageLogger.h.

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

193  {
194  if(ap.valid()) {
195  iF(ap);
196  }
197  return *this;
198  }
MessageSender ap
template<class T >
LogError& edm::LogError::operator<< ( T const &  t)
inline

Definition at line 184 of file MessageLogger.h.

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

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

Definition at line 186 of file MessageLogger.h.

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

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

Definition at line 189 of file MessageLogger.h.

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

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

Member Data Documentation

MessageSender edm::LogError::ap
private

Definition at line 201 of file MessageLogger.h.