A file name from the command line and the stream to write to;.
More...
#include <mim/plugin.h>
|
| | Out ()=default |
| | Out (std::string name) |
| std::string & | name () |
| | Bound to a fe::Cli option, e.g. --output-mim.
|
| std::ostream * | os () |
| | The stream to write to; nullptr if this output was not requested, std::cout for "-".
|
A file name from the command line and the stream to write to;.
- See also
- arg_value.
Definition at line 99 of file plugin.h.
◆ Out() [1/2]
◆ Out() [2/2]
| mim::Out::Out |
( |
std::string | name | ) |
|
|
inlineexplicit |
◆ name()
| std::string & mim::Out::name |
( |
| ) |
|
|
inline |
Bound to a fe::Cli option, e.g. --output-mim.
Definition at line 105 of file plugin.h.
Referenced by Out().
◆ os()
| std::ostream * mim::Out::os |
( |
| ) |
|
|
inline |
The stream to write to; nullptr if this output was not requested, std::cout for "-".
Opens the file upon first use, so an output no one writes to leaves no file behind.
Definition at line 109 of file plugin.h.
The documentation for this class was generated from the following file: