Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::FileOrStdin Class Reference

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 constfilename () const
 Get the filename or renamed placeholder.
 

Detailed Description

Construct an input from an existing file, or stdin if the filename is "-".


The documentation for this class was generated from the following file: