47 std::ostringstream
out;
52 std::filesystem::path
const& file_path);
Base class which enables writing an object to string, stringstream or file.
std::ostringstream out
The stream to write to.
virtual bool write()=0
Writes the object to the internal stream. This method must be implemented by a subclass....
std::string writeToString()
Writes the object to a string.
virtual ~Writer()=default
int writeStringToFile(std::string_view content, std::filesystem::path const &file_path)