#include <genesis/utils/io/file_output_target.hpp>
Inherits BaseOutputTarget.
Output target for writing data to a file.
The output file name is provided via the constructor.
Definition at line 53 of file file_output_target.hpp.
Public Member Functions | |
| FileOutputTarget (FileOutputTarget &&)=default | |
| FileOutputTarget (FileOutputTarget const &)=delete | |
| FileOutputTarget (std::string const &file_name, std::ios_base::openmode mode=std::ios_base::out) | |
| Construct the output target from a file with the given file name. More... | |
| ~FileOutputTarget () override=default | |
| FileOutputTarget & | operator= (FileOutputTarget &&)=default |
| FileOutputTarget & | operator= (FileOutputTarget const &)=delete |
Public Member Functions inherited from BaseOutputTarget | |
| BaseOutputTarget ()=default | |
| BaseOutputTarget (BaseOutputTarget &&)=default | |
| BaseOutputTarget (BaseOutputTarget const &)=default | |
| virtual | ~BaseOutputTarget () |
| std::ostream & | flush () |
| Flush output stream buffer. More... | |
| template<typename T > | |
| BaseOutputTarget & | operator<< (T const &content) |
| Output stream operator template that simply forwards to the underlying ostream() object. More... | |
| BaseOutputTarget & | operator= (BaseOutputTarget &&)=default |
| BaseOutputTarget & | operator= (BaseOutputTarget const &)=default |
| std::ostream & | ostream () |
| Get the underlying output stream that is used for writing. More... | |
| std::string | target_name () const |
| Get a name of the output target. This is intended for user output. More... | |
| std::string | target_string () const |
| Get a string representing the output target. More... | |
|
inlineexplicit |
Construct the output target from a file with the given file name.
Definition at line 64 of file file_output_target.hpp.
|
delete |
|
default |
|
overridedefault |
|
default |
|
delete |