Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
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 "-".