MADNESS 0.10.1
|
RAII class to redirect cout to a file. More...
Public Member Functions | |
io_redirect (const long task_number, std::string filename, bool debug=false) | |
~io_redirect () | |
Public Attributes | |
bool | debug =false |
std::ofstream | ofile |
std::streambuf * | stream_buffer_cout |
RAII class to redirect cout to a file.
|
inline |
|
inline |
bool madness::MacroTask< taskT >::io_redirect::debug =false |
std::ofstream madness::MacroTask< taskT >::io_redirect::ofile |
std::streambuf* madness::MacroTask< taskT >::io_redirect::stream_buffer_cout |