#include <File.hpp>
◆ StdoutRedirect() [1/2]
StdoutRedirect::StdoutRedirect |
( |
const String & |
file = "" | ) |
|
◆ ~StdoutRedirect()
StdoutRedirect::~StdoutRedirect |
( |
| ) |
|
◆ StdoutRedirect() [2/2]
◆ operator=()
◆ start()
void StdoutRedirect::start |
( |
const String & |
file | ) |
|
Save current stdout handle and redirect std::cout to a file
- Parameters
-
[in] | file | File path to be written |
◆ stop()
void StdoutRedirect::stop |
( |
| ) |
|
◆ _coutbuf
std::streambuf* StdoutRedirect::_coutbuf |
|
private |
◆ _out
std::ofstream StdoutRedirect::_out |
|
private |
The documentation for this class was generated from the following files: