CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
cscdqm::LogCout Class Reference

Simple logger that prints stuff to std::cout. Use LOG_COUT macros instead, i.e. LOG_COUT << "x = " << x;. More...

#include <CSCDQM_Logger.h>

Inheritance diagram for cscdqm::LogCout:
cscdqm::Logger

Public Member Functions

 LogCout ()
 
template<class T >
LogCoutoperator<< (T const &t)
 
LogCoutoperator<< (std::ostream &(*f)(std::ostream &))
 
LogCoutoperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogCout ()
 

Detailed Description

Simple logger that prints stuff to std::cout. Use LOG_COUT macros instead, i.e. LOG_COUT << "x = " << x;.

Definition at line 127 of file CSCDQM_Logger.h.

Constructor & Destructor Documentation

cscdqm::LogCout::LogCout ( )
inline

Definition at line 130 of file CSCDQM_Logger.h.

130 { }
cscdqm::LogCout::~LogCout ( )
inline

Definition at line 131 of file CSCDQM_Logger.h.

References gather_cfg::cout.

131 { std::cout << std::endl; }
tuple cout
Definition: gather_cfg.py:145

Member Function Documentation

template<class T >
LogCout& cscdqm::LogCout::operator<< ( T const &  t)
inline

Definition at line 134 of file CSCDQM_Logger.h.

References gather_cfg::cout, and lumiQTWidget::t.

134  {
135  std::cout << t;
136  return *this;
137  }
tuple cout
Definition: gather_cfg.py:145
LogCout& cscdqm::LogCout::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 139 of file CSCDQM_Logger.h.

References gather_cfg::cout, and f.

139  {
140  std::cout << f;
141  return *this;
142  }
double f[11][100]
tuple cout
Definition: gather_cfg.py:145
LogCout& cscdqm::LogCout::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 144 of file CSCDQM_Logger.h.

References gather_cfg::cout, and f.

144  {
145  std::cout << f;
146  return *this;
147  }
double f[11][100]
tuple cout
Definition: gather_cfg.py:145