X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Ftextwriter.h;h=a0ed1b79888e882a86b083d0a037c6126887ba78;hp=de6de457af516e36757ae14f16de3085e79d06a2;hb=19179a622c1de88de5ed7047643eec79f285bf2a;hpb=6dd94a7fe90c6467024685fbac769067ddb74688 diff --git a/source/textwriter.h b/source/textwriter.h index de6de45..a0ed1b7 100644 --- a/source/textwriter.h +++ b/source/textwriter.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_TEXTWRITER_H_ #define MSP_DATAFILE_TEXTWRITER_H_ @@ -15,9 +8,14 @@ namespace DataFile { class TextWriter: public WriterMode { +private: + std::string float_format; + public: TextWriter(IO::Base &o); - void write(const Statement &st); + + virtual void set_float_precision(unsigned); + virtual void write(const Statement &st); private: void write_(const Statement &st, unsigned); };