Loading [MathJax]/extensions/tex2jax.js
Celeritas 0.6.0-rc.2.11+develop.8d889499
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
celeritas::FileOrStdout Class Reference

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

Detailed Description

Construct an output to a new file, or stdout if the filename is "-".


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