X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Ftextwriter.h;h=e265d2fbb50d80c71352183928f8ae136fe2824a;hp=de6de457af516e36757ae14f16de3085e79d06a2;hb=8e3fad222e174b7c659fd3d994d54314657ed989;hpb=6dd94a7fe90c6467024685fbac769067ddb74688 diff --git a/source/textwriter.h b/source/textwriter.h index de6de45..e265d2f 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); + TextWriter(Output &o); + + virtual void set_float_precision(unsigned); + virtual void write(const Statement &st); private: void write_(const Statement &st, unsigned); };