Functions | |
FILE * | get_standard_stream (const std::ostream &stream) |
bool | is_atty (const std::ostream &stream) |
Since C++ hasn't a way to hide something in the header from the outer access, I have to introduce this namespace which is used for internal purpose and should't be access from the user code.
FILE * ecl::console::get_standard_stream | ( | const std::ostream & | stream | ) | [inline] |
Since C++ hasn't a true way to extract stream handler from the a given `std::ostream` object, I have to write this kind of hack.
Definition at line 428 of file console.hpp.
bool ecl::console::is_atty | ( | const std::ostream & | stream | ) | [inline] |
Test whether a given `std::ostream` object refers to a terminal.
Definition at line 441 of file console.hpp.