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::LogWarning Class Reference

#include <MessageLogger.h>

Inheritance diagram for edm::LogWarning:
cscdqm::LogWarn

Public Member Functions

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

Private Member Functions

 LogWarning (LogWarning const &)
 

Private Attributes

std::auto_ptr< MessageSenderap
 

Detailed Description

Definition at line 132 of file MessageLogger.h.

Constructor & Destructor Documentation

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

Definition at line 135 of file MessageLogger.h.

136  : ap ( (!MessageDrop::warningAlwaysSuppressed // Change log 21
137  && edm::MessageDrop::instance()->warningEnabled) ?
138  new MessageSender(ELwarning,id) : 0 )
139  { }
static MessageDrop * instance()
Definition: MessageDrop.cc:61
ELslProxy< ELwarningGen > const ELwarning
static bool warningAlwaysSuppressed
Definition: MessageDrop.h:104
std::auto_ptr< MessageSender > ap
edm::LogWarning::~LogWarning ( )

Definition at line 50 of file MessageLogger.cc.

50 {}
edm::LogWarning::LogWarning ( LogWarning const &  )
private

Member Function Documentation

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

Definition at line 144 of file MessageLogger.h.

References ap, and matplotRender::t.

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

Definition at line 146 of file MessageLogger.h.

References ap, and f.

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

Definition at line 149 of file MessageLogger.h.

References ap, and f.

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

Member Data Documentation

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

Definition at line 152 of file MessageLogger.h.

Referenced by operator<<().