X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextwriter.h;fp=source%2Ftextwriter.h;h=5c83b7a59fa9386e389c4e527989fe6e1c1f746b;hb=27630d44298cb67e075c166f4421288cc8ca117e;hp=0000000000000000000000000000000000000000;hpb=c4930d8d15a5a248ca921e0ed3f9bca8aa18b322;p=libs%2Fdatafile.git diff --git a/source/textwriter.h b/source/textwriter.h new file mode 100644 index 0000000..5c83b7a --- /dev/null +++ b/source/textwriter.h @@ -0,0 +1,28 @@ +/* $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_ + +#include "writermode.h" + +namespace Msp { +namespace DataFile { + +class TextWriter: public WriterMode +{ +public: + TextWriter(std::ostream &o); + void write(const Statement &st); +private: + void write_(const Statement &st, unsigned); +}; + +} // namespace DataFile +} // namespace Msp + +#endif