X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarywriter.h;h=4d18196663d377e9bdf992748a9021e0a845e902;hb=9bd3968eaaabb278d22f182365d022704d2a2cf1;hp=f028f39d96f811775a30a9d9a0fa2b730a3fe9e2;hpb=7df5e45c7f414f6a07681dc4ec2abb63b091a309;p=libs%2Fdatafile.git diff --git a/source/binarywriter.h b/source/binarywriter.h index f028f39..4d18196 100644 --- a/source/binarywriter.h +++ b/source/binarywriter.h @@ -3,6 +3,7 @@ #include #include "binarydict.h" +#include "type.h" #include "writermode.h" namespace Msp { @@ -29,10 +30,10 @@ public: private: void write_(const Statement &st); void collect_keywords(const Statement &st); - void write_int(long long n); - void write_string(const std::string &s); - void write_float(float f); - void write_enum(const std::string &e); + void write_int(IntType::Store n); + void write_string(const StringType::Store &s); + void write_float(FloatType::Store f); + void write_symbol(const SymbolType::Store &s); }; } // namespace DataFile