CMS 3D CMS Logo

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; }

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 protons_cff::t.

134  {
135  std::cout << t;
136  return *this;
137  }
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]
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]