X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinaryparser.h;h=f9b8e542865fac10550c8a5c5105d40819efcd69;hb=818ead7b6ccef1e4d2435cc959bc07f910fcde46;hp=2cdfbbeaba296e919ff68abb92015eb2647fbf38;hpb=35d0da96bad97214376f18d15078e6d731e6f219;p=libs%2Fdatafile.git diff --git a/source/binaryparser.h b/source/binaryparser.h index 2cdfbbe..f9b8e54 100644 --- a/source/binaryparser.h +++ b/source/binaryparser.h @@ -4,6 +4,7 @@ #include #include "binarydict.h" #include "parsermode.h" +#include "type.h" namespace Msp { namespace DataFile { @@ -27,11 +28,11 @@ public: virtual Statement parse(); private: Statement parse_statement(); - long long parse_int(); - float parse_float(); - std::string parse_string(); - bool parse_bool(); - std::string parse_enum(); + IntType::Store parse_int(); + FloatType::Store parse_float(); + StringType::Store parse_string(); + BoolType::Store parse_bool(); + SymbolType::Store parse_symbol(); }; } // namespace DataFile