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