Public Member Functions | Private Attributes | List of all members
OstreamRedirect Class Reference

#include <iostream.h>

Public Member Functions

void enter ()
 
void exit ()
 
 OstreamRedirect (bool do_stdout=true, bool do_stderr=true)
 

Private Attributes

bool do_stderr_
 
bool do_stdout_
 
std::unique_ptr< scoped_estream_redirectredirect_stderr
 
std::unique_ptr< scoped_ostream_redirectredirect_stdout
 

Detailed Description

Definition at line 157 of file iostream.h.

Constructor & Destructor Documentation

OstreamRedirect::OstreamRedirect ( bool  do_stdout = true,
bool  do_stderr = true 
)
inline

Definition at line 164 of file iostream.h.

Member Function Documentation

void OstreamRedirect::enter ( )
inline

Definition at line 167 of file iostream.h.

void OstreamRedirect::exit ( )
inline

Definition at line 174 of file iostream.h.

Member Data Documentation

bool OstreamRedirect::do_stderr_
private

Definition at line 159 of file iostream.h.

bool OstreamRedirect::do_stdout_
private

Definition at line 158 of file iostream.h.

std::unique_ptr<scoped_estream_redirect> OstreamRedirect::redirect_stderr
private

Definition at line 161 of file iostream.h.

std::unique_ptr<scoped_ostream_redirect> OstreamRedirect::redirect_stdout
private

Definition at line 160 of file iostream.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:48