8 namespace helios {
namespace filems{
17 template <
typename ... WriteArgs>
33 virtual void write(WriteArgs ... writeArgs) = 0;
51 virtual std::string
getPath(
size_t const idx)
const = 0;
Abstract class defining common behavior for all synchronous file writers.
Definition: SyncFileWriter.h:18
virtual std::string getPath(size_t const idx) const =0
Obtain the path to the file corresponding to the idx-th writing stream.
SyncFileWriter()=default
Default constructor for synchronous file writer.
virtual void finish()
Finish the writing so all writing operations are performed and all buffers are closed.
Definition: SyncFileWriter.h:41
virtual void write(WriteArgs ... writeArgs)=0
Handle synchronous write operations.
std::string getPath()
Non index version of the SyncFileWriter::getPath(size_t const) function.
Definition: SyncFileWriter.h:57