X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Foutput.cpp;fp=source%2Foutput.cpp;h=62886d3d2971191881867092ceb4f371629d4b7c;hb=8e3fad222e174b7c659fd3d994d54314657ed989;hp=0000000000000000000000000000000000000000;hpb=9867e5fdf99d7d6c9d83846c11a1cee6a9919be1;p=libs%2Fdatafile.git diff --git a/source/output.cpp b/source/output.cpp new file mode 100644 index 0000000..62886d3 --- /dev/null +++ b/source/output.cpp @@ -0,0 +1,23 @@ +#include "output.h" + +using namespace std; + +namespace Msp { +namespace DataFile { + +Output::Output(IO::Base &o): + out(&o) +{ } + +unsigned Output::put(char c) +{ + return out->put(c); +} + +unsigned Output::write(const string &s) +{ + return out->write(s); +} + +} // namespace DataFile +} // namespace Msp