Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
cout_redirect Struct Reference

Definition at line 17 of file coutCapture.h.

Public Member Functions

 cout_redirect (std::string &_out, size_t bufSize=102 *1024)
 
 ~cout_redirect ()
 

Private Attributes

std::stringstream buffer
 
char * buffer2 = nullptr
 
size_t fBufSize
 
TString filename
 
FILE * fp = nullptr
 
std::streambuf * old
 
std::streambuf * old2
 
FILE * old3 = stdout
 
FILE * old4 = stdout
 
std::string & out
 

#include </home/sftnight/build/workspace/root-makedoc-v630/rootspi/rdoc/src/v6-30-00-patches/roofit/xroofit/src/coutCapture.h>

Constructor & Destructor Documentation

◆ cout_redirect()

cout_redirect::cout_redirect ( std::string &  _out,
size_t  bufSize = 102 * 1024 
)
inline

Definition at line 18 of file coutCapture.h.

◆ ~cout_redirect()

cout_redirect::~cout_redirect ( )
inline

Definition at line 30 of file coutCapture.h.

Member Data Documentation

◆ buffer

std::stringstream cout_redirect::buffer
private

Definition at line 56 of file coutCapture.h.

◆ buffer2

char* cout_redirect::buffer2 = nullptr
private

Definition at line 57 of file coutCapture.h.

◆ fBufSize

size_t cout_redirect::fBufSize
private

Definition at line 63 of file coutCapture.h.

◆ filename

TString cout_redirect::filename
private

Definition at line 62 of file coutCapture.h.

◆ fp

FILE* cout_redirect::fp = nullptr
private

Definition at line 58 of file coutCapture.h.

◆ old

std::streambuf* cout_redirect::old
private

Definition at line 54 of file coutCapture.h.

◆ old2

std::streambuf* cout_redirect::old2
private

Definition at line 55 of file coutCapture.h.

◆ old3

FILE* cout_redirect::old3 = stdout
private

Definition at line 59 of file coutCapture.h.

◆ old4

FILE* cout_redirect::old4 = stdout
private

Definition at line 60 of file coutCapture.h.

◆ out

std::string& cout_redirect::out
private

Definition at line 61 of file coutCapture.h.

Collaboration diagram for cout_redirect:
[legend]

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