CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::LogProblem Class Reference

#include <MessageLogger.h>

List of all members.

Public Member Functions

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

Private Member Functions

 LogProblem (LogProblem const &)
LogProblemoperator= (LogProblem const &)

Private Attributes

MessageSender ap

Detailed Description

Definition at line 295 of file MessageLogger.h.


Constructor & Destructor Documentation

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

Definition at line 298 of file MessageLogger.h.

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

Definition at line 61 of file MessageLogger.cc.

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

Member Function Documentation

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

Definition at line 305 of file MessageLogger.h.

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

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

Definition at line 307 of file MessageLogger.h.

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

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

Definition at line 310 of file MessageLogger.h.

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

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

Member Data Documentation

Definition at line 314 of file MessageLogger.h.

Referenced by operator<<().