|
ROOT
ROOT project
|
Mother class for all the Printers which print in a file. More...
#include <writer_def.hpp>


Public Member Functions | |
| PrinterFile (const std::string &fname, bool ow_mode) | |
| The constructor for PrinterFile class. | |
Public Member Functions inherited from PrinterBase< V > | |
| PrinterBase ()=default | |
| Default constructor for the PrinterBase class. | |
| virtual | ~PrinterBase ()=default |
| Virtual destructor for the PrinterBase class. | |
| virtual void | write_values (const V &value)=0 |
| Pure virtual method to write a given value. | |
Protected Attributes | |
| std::string | filename |
| The name of output file, without the extension. | |
| bool | append |
| std::ofstream | file |
| The actual file, saved in order not to access it at each printing iteration. | |
Mother class for all the Printers which print in a file.
| PrinterFile< V >::PrinterFile | ( | const std::string & | fname, |
| bool | ow_mode | ||
| ) |
The constructor for PrinterFile class.
| fname | Name of the file to write on |
| ow_mode | Option to overwrite or append to the file |
|
protected |
Boolean which defines whether at a new Writing process the output file (if already existent), has to be overwritten or not
|
protected |
The actual file, saved in order not to access it at each printing iteration.
|
protected |
The name of output file, without the extension.