X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinaryparser.h;h=6a46639cbbca7667873f5c5a68d30f8151e62dfa;hb=29fafaa2c570b0cf92f41eeb534cfb65a841a892;hp=b4fec6b4c9e681f6f635a7e348868d65097eddeb;hpb=19179a622c1de88de5ed7047643eec79f285bf2a;p=libs%2Fdatafile.git diff --git a/source/binaryparser.h b/source/binaryparser.h index b4fec6b..6a46639 100644 --- a/source/binaryparser.h +++ b/source/binaryparser.h @@ -2,7 +2,6 @@ #define MSP_DATAFILE_BINARYPARSER_H_ #include -#include "binarydict.h" #include "parsermode.h" #include "type.h" @@ -15,7 +14,7 @@ Parses data in binary format. class BinaryParser: public ParserMode { private: - typedef std::map Dictionary; + typedef std::map Dictionary; typedef std::map StringMap; Dictionary dict; @@ -27,8 +26,8 @@ public: BinaryParser(Input &i, const std::string &s); virtual Statement parse(); + virtual void process_control_statement(const Statement &); private: - Statement parse_statement(); IntType::Store parse_int(); FloatType::Store parse_float(); StringType::Store parse_string();