]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/textwriter.h
Cosmetic changes
[libs/datafile.git] / source / textwriter.h
index a0ed1b79888e882a86b083d0a037c6126887ba78..641fc2e2e01e0e7d9f9839a59e3d7e3801eeddbb 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_DATAFILE_TEXTWRITER_H_
 #define MSP_DATAFILE_TEXTWRITER_H_
 
+#include <msp/strings/fmt.h>
 #include "writermode.h"
 
 namespace Msp {
@@ -9,13 +10,13 @@ namespace DataFile {
 class TextWriter: public WriterMode
 {
 private:
-       std::string float_format;
+       Fmt float_format;
 
 public:
-       TextWriter(IO::Base &o);
+       TextWriter(Output &o);
 
-       virtual void set_float_precision(unsigned);
-       virtual void write(const Statement &st);
+       void set_float_precision(unsigned) override;
+       void write(const Statement &st) override;
 private:
        void write_(const Statement &st, unsigned);
 };