caosdb/file_transmission/file_writer.h

namespace caosdb::transaction

Creation and execution of transactions.

Author

Timm Fitschen

Date

2021-08-05

class FileWriter

Public Functions

FileWriter(boost::filesystem::path filename)
~FileWriter() = default
FileWriter(const FileWriter&) = delete
FileWriter &operator=(const FileWriter&) = delete
FileWriter(FileWriter&&) = default
FileWriter &operator=(FileWriter&&) = default
void write(const std::string &buffer)

Private Functions

void openFile()

Private Members

std::ofstream stream_
boost::filesystem::path filename_