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

std::auto_ptr< MessageSenderap

Detailed Description

Definition at line 135 of file MessageLogger.h.


Constructor & Destructor Documentation

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

Definition at line 138 of file MessageLogger.h.

    : ap ( (!MessageDrop::warningAlwaysSuppressed               // Change log 21
            && edm::MessageDrop::instance()->warningEnabled) ?
           new MessageSender(ELwarning,id) : 0 )
  { }
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 147 of file MessageLogger.h.

References ap, and matplotRender::t.

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

Definition at line 152 of file MessageLogger.h.

References ap, and f.

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

Definition at line 149 of file MessageLogger.h.

References ap, and f.

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

Member Data Documentation

std::auto_ptr<MessageSender> edm::LogWarning::ap [private]

Definition at line 155 of file MessageLogger.h.

Referenced by operator<<().