Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
capture_stdout Struct Reference

#include <JETSCAPE/blob/main/external_packages/trento/test/util.h>

+ Collaboration diagram for capture_stdout:

Public Member Functions

 capture_stdout ()
 
 ~capture_stdout ()
 

Public Attributes

std::streambuf * cout_orig
 
std::stringstream stream
 

Detailed Description

Definition at line 22 of file util.h.

View newest version in sPHENIX GitHub at line 22 of file util.h

Constructor & Destructor Documentation

capture_stdout::capture_stdout ( )
inline

Definition at line 23 of file util.h.

View newest version in sPHENIX GitHub at line 23 of file util.h

References cout_orig, and stream.

capture_stdout::~capture_stdout ( )
inline

Definition at line 28 of file util.h.

View newest version in sPHENIX GitHub at line 28 of file util.h

References cout_orig.

Member Data Documentation

std::streambuf* capture_stdout::cout_orig

Definition at line 33 of file util.h.

View newest version in sPHENIX GitHub at line 33 of file util.h

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

std::stringstream capture_stdout::stream

Definition at line 34 of file util.h.

View newest version in sPHENIX GitHub at line 34 of file util.h

Referenced by capture_stdout(), and TEST_CASE().


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