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 132 of file CSCDQM_Logger.h.

Constructor & Destructor Documentation

cscdqm::LogCout::LogCout ( )
inline

Definition at line 134 of file CSCDQM_Logger.h.

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

Definition at line 135 of file CSCDQM_Logger.h.

References gather_cfg::cout.

135 { std::cout << std::endl; }

Member Function Documentation

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

Definition at line 138 of file CSCDQM_Logger.h.

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

138  {
139  std::cout << t;
140  return *this;
141  }
LogCout& cscdqm::LogCout::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 143 of file CSCDQM_Logger.h.

References gather_cfg::cout, and f.

143  {
144  std::cout << f;
145  return *this;
146  }
double f[11][100]
LogCout& cscdqm::LogCout::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 148 of file CSCDQM_Logger.h.

References gather_cfg::cout, and f.

148  {
149  std::cout << f;
150  return *this;
151  }
double f[11][100]