diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-07-15 22:53:30 +0300 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-07-15 22:53:30 +0300 |
| commit | 82c81858c65c80fb667e73ffdcc4ff69007cfa17 (patch) | |
| tree | 455bdf7a85f99c770f97d05d53c8ce340c3f7fa0 /src/configuration.hpp | |
| parent | 3938ba31f633d48bb6f4471a3f49ab696a453aee (diff) | |
Support "-" for input/output files as stdin/stdout.
Support dumping output file to stdout.
Switch logger to stderr, make it multithreaded.
Log input/output files.
Closes #8, closes #10, closes #13.
Diffstat (limited to 'src/configuration.hpp')
| -rw-r--r-- | src/configuration.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configuration.hpp b/src/configuration.hpp index d7627ee..db3be73 100644 --- a/src/configuration.hpp +++ b/src/configuration.hpp @@ -21,6 +21,7 @@ class Configuration { private: std::optional<std::string> input_filename_; std::optional<std::string> output_filename_; + bool dump_to_stdout_; std::size_t block_size_; double rate_; @@ -76,6 +77,7 @@ public: Configuration GetForLive() const; const auto & GetInputFilename() const { return input_filename_; } const auto & GetOutputFilename() const { return output_filename_; } + const auto MustDumpToStdout() const { return dump_to_stdout_; } /* input getters */ auto GetBlockSize() const { return block_size_; } |
