#ifndef MSP_DATAFILE_TEXTWRITER_H_
#define MSP_DATAFILE_TEXTWRITER_H_
+#include <msp/strings/fmt.h>
#include "writermode.h"
namespace Msp {
class TextWriter: public WriterMode
{
+private:
+ Fmt float_format;
+
public:
- TextWriter(IO::Base &o);
+ TextWriter(Output &o);
- 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);
};