]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/binarywriter.h
Use the metadata for type.h in binary write/parse functions
[libs/datafile.git] / source / binarywriter.h
index 6ad290451b4502c3566a68668a476a40c7595b82..4d18196663d377e9bdf992748a9021e0a845e902 100644 (file)
@@ -30,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_symbol(const Symbol &s);
+       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