CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::LogError Class Reference

#include <MessageLogger.h>

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

List of all members.

Public Member Functions

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

Private Member Functions

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

Private Attributes

MessageSender ap

Detailed Description

Definition at line 164 of file MessageLogger.h.


Constructor & Destructor Documentation

edm::LogError::LogError ( std::string const &  id) [inline, explicit]

Definition at line 167 of file MessageLogger.h.

    : ap ( ELerror,id,false,!MessageDrop::instance()->errorEnabled )        // Change log 24
  { }
edm::LogError::~LogError ( )

Definition at line 54 of file MessageLogger.cc.

{}
edm::LogError::LogError ( LogError const &  ) [private]

Member Function Documentation

template<class T >
LogError& edm::LogError::operator<< ( T const &  t) [inline]

Definition at line 174 of file MessageLogger.h.

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

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

Definition at line 176 of file MessageLogger.h.

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

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

Definition at line 179 of file MessageLogger.h.

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

                                      { if(ap.valid()) ap << f; return *this; }     
LogError& edm::LogError::operator= ( LogError const &  ) [private]

Member Data Documentation

Definition at line 183 of file MessageLogger.h.

Referenced by operator<<().