Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Jetscape::LogStreamer Class Reference

#include <JETSCAPE/blob/main/src/framework/JetScapeLogger.h>

+ Collaboration diagram for Jetscape::LogStreamer:

Public Member Functions

 LogStreamer (std::ostream &dest)
 
 ~LogStreamer ()
 
template<typename T >
LogStreameroperator<< (T const &value)
 

Private Attributes

shared_ptr< std::ostringstream > m_collector
 
std::ostream * m_dest
 

Detailed Description

Definition at line 140 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 140 of file JetScapeLogger.h

Constructor & Destructor Documentation

Jetscape::LogStreamer::LogStreamer ( std::ostream &  dest)
inline

Definition at line 146 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 146 of file JetScapeLogger.h

References upload::dest, m_collector, and m_dest.

Jetscape::LogStreamer::~LogStreamer ( )
inline

Definition at line 151 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 151 of file JetScapeLogger.h

References m_collector, m_dest, and RESET.

Member Function Documentation

template<typename T >
LogStreamer& Jetscape::LogStreamer::operator<< ( T const &  value)
inline

Definition at line 158 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 158 of file JetScapeLogger.h

References m_collector, and value.

Member Data Documentation

shared_ptr<std::ostringstream> Jetscape::LogStreamer::m_collector
private

Definition at line 142 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 142 of file JetScapeLogger.h

Referenced by LogStreamer(), operator<<(), and ~LogStreamer().

std::ostream* Jetscape::LogStreamer::m_dest
private

Definition at line 143 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 143 of file JetScapeLogger.h

Referenced by LogStreamer(), and ~LogStreamer().


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