std::basic_string< CepsChar > CepsString
C++ format string.
Base class for other (big) CEPS classes. All classes can get a pointer to this base class and also co...
Enables the writing of files.
void open()
Creates file or cleans previous content.
void reset()
The file stream is placed at the beginning of the file.
CepsString m_fileName
file to write
std::ofstream m_file
corresponding stream
void close()
Close current file.
FileWriter & operator<<(const T &content)
Writing operator.
FileWriter(CepsBool binary=false)
Constructor.
void write(const CepsString &s)
Single line writing.
CepsString getFileName()
Name of parsed file.
CepsBool good()
Tells if file is ok.
CepsBool m_binary
binary output if true
~FileWriter() override
Constructor.