CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::LogWarning Class Reference

#include <MessageLogger.h>

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

List of all members.

Public Member Functions

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

Private Member Functions

 LogWarning (LogWarning const &)

Private Attributes

MessageSender ap

Detailed Description

Definition at line 140 of file MessageLogger.h.


Constructor & Destructor Documentation

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

Definition at line 143 of file MessageLogger.h.

    : ap ( ELwarning,id,false,(MessageDrop::warningAlwaysSuppressed || !MessageDrop::instance()->warningEnabled)) // Change log 21
  { }
edm::LogWarning::~LogWarning ( )

Definition at line 53 of file MessageLogger.cc.

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

Member Function Documentation

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

Definition at line 150 of file MessageLogger.h.

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

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

Definition at line 155 of file MessageLogger.h.

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

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

Definition at line 152 of file MessageLogger.h.

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

                                      { if(ap.valid()) ap << f; return *this; }

Member Data Documentation

Definition at line 158 of file MessageLogger.h.

Referenced by operator<<().