#include <genesis/utils/io/base_output_target.hpp>
Inherited by FileOutputTarget, GzipBlockOutputTarget, GzipOutputTarget, StreamOutputTarget, and StringOutputTarget.
Abstract base class for writing data to an output target.
Definition at line 48 of file base_output_target.hpp.
◆ BaseOutputTarget() [1/3]
◆ BaseOutputTarget() [2/3]
◆ BaseOutputTarget() [3/3]
◆ ~BaseOutputTarget()
◆ operator<<()
Output stream operator template that simply forwards to the underlying ostream() object.
This is the main function used to write output. This way, nothing has to be changed in code that wants to write some output, comared to standard write-to-stream functions. The only change necessary is the initial setup of the output object: Instead of an std::ostream, one has to initialize this class. From then on, usage is identical.
Definition at line 80 of file base_output_target.hpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ostream()
std::ostream& ostream |
( |
| ) |
|
|
inline |
◆ target_name()
std::string target_name |
( |
| ) |
const |
|
inline |
Get a name of the output target. This is intended for user output.
Definition at line 98 of file base_output_target.hpp.
◆ target_string()
std::string target_string |
( |
| ) |
const |
|
inline |
Get a string representing the output target. This is intended for the writer classes, which for example might want to examine the output file name.
Definition at line 108 of file base_output_target.hpp.
The documentation for this class was generated from the following file: