]> git.tdb.fi Git - libs/datafile.git/blob - source/textwriter.h
Add binary data format
[libs/datafile.git] / source / textwriter.h
1 /* $Id$
2
3 This file is part of libmspdatafile
4 Copyright © 2006  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_DATAFILE_TEXTWRITER_H_
9 #define MSP_DATAFILE_TEXTWRITER_H_
10
11 #include "writermode.h"
12
13 namespace Msp {
14 namespace DataFile {
15
16 class TextWriter: public WriterMode
17 {
18 public:
19         TextWriter(std::ostream &o);
20         void write(const Statement &st);
21 private:
22         void write_(const Statement &st, unsigned);
23 };
24
25 } // namespace DataFile
26 } // namespace Msp
27
28 #endif