3 #include <filems/write/comps/SingleSyncFileWriter.h>
4 #include <MathConverter.h>
12 namespace helios {
namespace filems{
22 template <
typename ... WriteArgs>
41 const std::string&
path,
42 std::ios_base::openmode om = std::ios_base::app
49 std::ios_base::eofbit |
50 std::ios_base::failbit |
Abstract specialization of SingleSyncFileWriter to write output directly to a file.
Definition: SimpleSyncFileWriter.h:23
void finish() override
SimpleSyncFileWriter finish method assures that output file will be closed if it is open.
Definition: SimpleSyncFileWriter.h:62
std::ofstream ofs
Output file stream to be used by the simple synchronous file writer.
Definition: SimpleSyncFileWriter.h:31
SimpleSyncFileWriter(const std::string &path, std::ios_base::openmode om=std::ios_base::app)
Simple synchronous file writer constructor.
Definition: SimpleSyncFileWriter.h:40
Abstract class defining common behavior for all synchronous writers that work with a single file at a...
Definition: SingleSyncFileWriter.h:21
std::string path
Path to file to be written.
Definition: SingleSyncFileWriter.h:28