Celeritas 0.6.0-2+develop.96611fab
|
Construct an input from an existing file, or stdin if the filename is "-". More...
#include <FileOrConsole.hh>
Public Member Functions | |
FileOrStdin (std::string filename) | |
Construct with filename. | |
operator std::istream & () | |
Implicitly cast to the opened stream. | |
std::string const & | filename () const |
Get the filename or renamed placeholder. | |
Construct an input from an existing file, or stdin if the filename is "-".