28 out.precision(std::numeric_limits<double>::max_digits10);
42 return std::string(
"");
46 std::filesystem::path
const& file_path)
52 std::ofstream fileStream;
53 fileStream.open(file_path.c_str());
58 ERR(
"Could not open file '{:s}'!", file_path.string());
62 fileStream << content;
void ERR(fmt::format_string< Args... > fmt, Args &&... args)
Definition of the Writer class.
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.
int writeStringToFile(std::string_view content, std::filesystem::path const &file_path)