CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::LogSystem Class Reference

#include <MessageLogger.h>

Public Member Functions

template<typename F >
LogSystemlog (F &&iF)
 
 LogSystem (std::string const &id)
 
template<class T >
LogSystemoperator<< (T const &t)
 
LogSystemoperator<< (std::ostream &(*f)(std::ostream &))
 
LogSystemoperator<< (std::ios_base &(*f)(std::ios_base &))
 
 ~LogSystem ()
 

Private Member Functions

 LogSystem (LogSystem const &)=delete
 
LogSystemoperator= (LogSystem const &)=delete
 

Private Attributes

MessageSender ap
 

Detailed Description

Definition at line 222 of file MessageLogger.h.

Constructor & Destructor Documentation

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

Definition at line 224 of file MessageLogger.h.

224 : ap(ELsevere, id) {}
MessageSender ap
ELslProxy< ELsevereGen > const ELsevere
edm::LogSystem::~LogSystem ( )

Definition at line 56 of file MessageLogger.cc.

56 {}
edm::LogSystem::LogSystem ( LogSystem const &  )
privatedelete

Member Function Documentation

template<typename F >
LogSystem& edm::LogSystem::log ( F &&  iF)
inline

Definition at line 242 of file MessageLogger.h.

References edm::LogWarning::ap.

242  {
243  iF(ap);
244  return *this;
245  }
MessageSender ap
template<class T >
LogSystem& edm::LogSystem::operator<< ( T const &  t)
inline

Definition at line 228 of file MessageLogger.h.

References edm::LogWarning::ap, and protons_cff::t.

228  {
229  ap << t;
230  return *this;
231  }
MessageSender ap
LogSystem& edm::LogSystem::operator<< ( std::ostream &(*)(std::ostream &)  f)
inline

Definition at line 232 of file MessageLogger.h.

References edm::LogWarning::ap, and f.

232  {
233  ap << f;
234  return *this;
235  }
double f[11][100]
MessageSender ap
LogSystem& edm::LogSystem::operator<< ( std::ios_base &(*)(std::ios_base &)  f)
inline

Definition at line 236 of file MessageLogger.h.

References edm::LogWarning::ap, and f.

236  {
237  ap << f;
238  return *this;
239  }
double f[11][100]
MessageSender ap
LogSystem& edm::LogSystem::operator= ( LogSystem const &  )
privatedelete

Member Data Documentation

MessageSender edm::LogSystem::ap
private

Definition at line 248 of file MessageLogger.h.