CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::LogPrint Class Reference

#include <MessageLogger.h>

Public Member Functions

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

Private Member Functions

 LogPrint (LogPrint const &)
 

Private Attributes

std::auto_ptr< MessageSenderap
 

Detailed Description

Definition at line 264 of file MessageLogger.h.

Constructor & Destructor Documentation

edm::LogPrint::LogPrint ( std::string const &  id)
inlineexplicit

Definition at line 267 of file MessageLogger.h.

268  : ap ( (!MessageDrop::warningAlwaysSuppressed // Change log 21
269  && edm::MessageDrop::instance()->warningEnabled) ?
270  new MessageSender(ELwarning,id,true) : 0 ) // true for verbatim
271  { }
static MessageDrop * instance()
Definition: MessageDrop.cc:65
ELslProxy< ELwarningGen > const ELwarning
std::auto_ptr< MessageSender > ap
static bool warningAlwaysSuppressed
Definition: MessageDrop.h:108
edm::LogPrint::~LogPrint ( )

Definition at line 60 of file MessageLogger.cc.

60 {}
edm::LogPrint::LogPrint ( LogPrint const &  )
private

Member Function Documentation

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

Definition at line 276 of file MessageLogger.h.

References ap, and matplotRender::t.

276 { if(ap.get()) (*ap) << t; return *this; }
std::auto_ptr< MessageSender > ap
LogPrint& edm::LogPrint::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 279 of file MessageLogger.h.

References ap, and f.

280  { if(ap.get()) (*ap) << f; return *this; }
std::auto_ptr< MessageSender > ap
double f[11][100]
LogPrint& edm::LogPrint::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 282 of file MessageLogger.h.

References ap, and f.

283  { if(ap.get()) (*ap) << f; return *this; }
std::auto_ptr< MessageSender > ap
double f[11][100]

Member Data Documentation

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

Definition at line 286 of file MessageLogger.h.

Referenced by operator<<().