X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextwriter.h;h=74a67671b5e68ec732f5fd0ae24e86b9be9928e0;hb=f3279c1ff5f745905b0e4f282c10e2cac26227ce;hp=a0ed1b79888e882a86b083d0a037c6126887ba78;hpb=19179a622c1de88de5ed7047643eec79f285bf2a;p=libs%2Fdatafile.git diff --git a/source/textwriter.h b/source/textwriter.h index a0ed1b7..74a6767 100644 --- a/source/textwriter.h +++ b/source/textwriter.h @@ -1,6 +1,7 @@ #ifndef MSP_DATAFILE_TEXTWRITER_H_ #define MSP_DATAFILE_TEXTWRITER_H_ +#include #include "writermode.h" namespace Msp { @@ -9,10 +10,10 @@ 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);