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 &)
LogPrintoperator= (LogPrint const &)

Private Attributes

MessageSender ap

Detailed Description

Definition at line 267 of file MessageLogger.h.


Constructor & Destructor Documentation

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

Definition at line 270 of file MessageLogger.h.

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

Definition at line 60 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 277 of file MessageLogger.h.

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

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

Definition at line 280 of file MessageLogger.h.

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

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

Definition at line 283 of file MessageLogger.h.

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

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

Member Data Documentation

Definition at line 287 of file MessageLogger.h.

Referenced by operator<<().