]> git.tdb.fi Git - libs/datafile.git/blob - source/textwriter.h
Add missing includes
[libs/datafile.git] / source / textwriter.h
1 #ifndef MSP_DATAFILE_TEXTWRITER_H_
2 #define MSP_DATAFILE_TEXTWRITER_H_
3
4 #include <msp/strings/fmt.h>
5 #include "writermode.h"
6
7 namespace Msp {
8 namespace DataFile {
9
10 class TextWriter: public WriterMode
11 {
12 private:
13         Fmt float_format;
14
15 public:
16         TextWriter(Output &o);
17
18         virtual void set_float_precision(unsigned);
19         virtual void write(const Statement &st);
20 private:
21         void write_(const Statement &st, unsigned);
22 };
23
24 } // namespace DataFile
25 } // namespace Msp
26
27 #endif