X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinaryparser.h;h=2cdfbbeaba296e919ff68abb92015eb2647fbf38;hb=35d0da96bad97214376f18d15078e6d731e6f219;hp=f1d51b236edc8b192c3644574905775c7cf9b9da;hpb=505042fcda16151f5ace243c243d34af3efcf677;p=libs%2Fdatafile.git diff --git a/source/binaryparser.h b/source/binaryparser.h index f1d51b2..2cdfbbe 100644 --- a/source/binaryparser.h +++ b/source/binaryparser.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_BINARYPARSER_H_ #define MSP_DATAFILE_BINARYPARSER_H_ @@ -22,15 +15,16 @@ class BinaryParser: public ParserMode { private: typedef std::map Dictionary; - typedef std::map EnumMap; + typedef std::map StringMap; Dictionary dict; - EnumMap enums; + StringMap strings; bool first; public: BinaryParser(Input &i, const std::string &s); - Statement parse(); + + virtual Statement parse(); private: Statement parse_statement(); long long parse_int();