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 Attributes
edm::LogTrace_ Class Reference

#include <MessageLogger.h>

Public Member Functions

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

Private Attributes

std::auto_ptr< MessageSenderap
 
bool debugEnabled
 

Detailed Description

Definition at line 413 of file MessageLogger.h.

Constructor & Destructor Documentation

edm::LogTrace_::LogTrace_ ( std::string const &  id)
explicit

Definition at line 137 of file MessageLogger.cc.

138  : ap( new MessageSender(ELsuccess,id,true) )
140  { }
ELslProxy< ELsuccessGen > const ELsuccess
static bool debugAlwaysSuppressed
Definition: MessageDrop.h:106
std::auto_ptr< MessageSender > ap
edm::LogTrace_::LogTrace_ ( )
inlineexplicit

Definition at line 417 of file MessageLogger.h.

417 : ap(), debugEnabled(false) {} // Change log 8
std::auto_ptr< MessageSender > ap
edm::LogTrace_::~LogTrace_ ( )

Definition at line 59 of file MessageLogger.cc.

59 {}

Member Function Documentation

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

Definition at line 422 of file MessageLogger.h.

References ap, debugEnabled, edm::errors::LogicError, matplotRender::t, and edm::Exception::throwThis().

423  { if (!debugEnabled) return *this; // Change log 8
424  if (ap.get()) (*ap) << t;
426  (edm::errors::LogicError,"operator << to stale copied LogTrace_ object");
427  return *this; }
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
Definition: EDMException.cc:81
std::auto_ptr< MessageSender > ap
LogTrace_& edm::LogTrace_::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 429 of file MessageLogger.h.

References ap, debugEnabled, f, edm::errors::LogicError, and edm::Exception::throwThis().

430  { if (!debugEnabled) return *this; // Change log 8
431  if (ap.get()) (*ap) << f;
433  (edm::errors::LogicError,"operator << to stale copied LogTrace_ object");
434  return *this; }
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
Definition: EDMException.cc:81
double f[11][100]
std::auto_ptr< MessageSender > ap
LogTrace_& edm::LogTrace_::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 436 of file MessageLogger.h.

References ap, debugEnabled, f, edm::errors::LogicError, and edm::Exception::throwThis().

437  { if (!debugEnabled) return *this; // Change log 8
438  if (ap.get()) (*ap) << f;
440  (edm::errors::LogicError,"operator << to stale copied LogTrace_ object");
441  return *this; }
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
Definition: EDMException.cc:81
double f[11][100]
std::auto_ptr< MessageSender > ap

Member Data Documentation

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

Definition at line 445 of file MessageLogger.h.

Referenced by operator<<().

bool edm::LogTrace_::debugEnabled
private

Definition at line 446 of file MessageLogger.h.

Referenced by operator<<().