CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::LogPrint Class Reference

#include <MessageLogger.h>

List of all members.

Public Member Functions

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

Private Member Functions

 LogPrint (LogPrint const &)

Private Attributes

std::auto_ptr< MessageSenderap

Detailed Description

Definition at line 260 of file MessageLogger.h.


Constructor & Destructor Documentation

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

Definition at line 263 of file MessageLogger.h.

    : ap ( (!MessageDrop::warningAlwaysSuppressed               // Change log 21
            && edm::MessageDrop::instance()->warningEnabled) ?
           new MessageSender(ELwarning,id,true) : 0 ) // true for verbatim
  { }
edm::LogPrint::~LogPrint ( )

Definition at line 57 of file MessageLogger.cc.

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

Member Function Documentation

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

Definition at line 272 of file MessageLogger.h.

References ap, and matplotRender::t.

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

Definition at line 278 of file MessageLogger.h.

References ap, and f.

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

Definition at line 275 of file MessageLogger.h.

References ap, and f.

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

Member Data Documentation

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

Definition at line 282 of file MessageLogger.h.

Referenced by operator<<().