]> git.tdb.fi Git - libs/datafile.git/blob - source/textwriter.h
Recognize floating-point literals with an exponent but no decimal point
[libs/datafile.git] / source / textwriter.h
1 #ifndef MSP_DATAFILE_TEXTWRITER_H_
2 #define MSP_DATAFILE_TEXTWRITER_H_
3
4 #include "writermode.h"
5
6 namespace Msp {
7 namespace DataFile {
8
9 class TextWriter: public WriterMode
10 {
11 public:
12         TextWriter(IO::Base &o);
13
14         virtual void write(const Statement &st);
15 private:
16         void write_(const Statement &st, unsigned);
17 };
18
19 } // namespace DataFile
20 } // namespace Msp
21
22 #endif