Public Member Functions | Protected Attributes | List of all members
dlardaq::LogStream Class Reference

#include <LogMsg.h>

Public Member Functions

 LogStream (std::ostream &_out, std::string &_msg)
 
template<typename T >
std::ostream & operator<< (const T &v)
 

Protected Attributes

std::ostream & out
 
std::string msg
 

Detailed Description

Definition at line 9 of file LogMsg.h.

Constructor & Destructor Documentation

dlardaq::LogStream::LogStream ( std::ostream &  _out,
std::string _msg 
)
inline

Definition at line 12 of file LogMsg.h.

12 : out(_out), msg(_msg){;}
std::string msg
Definition: LogMsg.h:18
std::ostream & out
Definition: LogMsg.h:17

Member Function Documentation

template<typename T >
std::ostream& dlardaq::LogStream::operator<< ( const T &  v)
inline

Definition at line 14 of file LogMsg.h.

15  {out<<msg<<v; return out; }
std::string msg
Definition: LogMsg.h:18
std::ostream & out
Definition: LogMsg.h:17

Member Data Documentation

std::string dlardaq::LogStream::msg
protected

Definition at line 18 of file LogMsg.h.

std::ostream& dlardaq::LogStream::out
protected

Definition at line 17 of file LogMsg.h.


The documentation for this class was generated from the following file: