Celeritas 0.6.0-rc.2.11+develop.8d889499
|
Construct an output to a new file, or stdout if the filename is "-". More...
#include <FileOrConsole.hh>
Public Member Functions | |
FileOrStdout (std::string filename) | |
Construct with filename. | |
operator std::ostream & () | |
Implicitly cast to the opened stream. | |
std::string const & | filename () const |
Get the filename or renamed placeholder. | |
Construct an output to a new file, or stdout if the filename is "-".