Celeritas 0.7.0-dev.79+develop.b3dc2e108
|
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 "-".