X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinaryparser.h;h=26fa380e4e290b67c4172449a009cc47991b5efc;hb=d84673be1c2fe8bd32ddaa7877529855cad6daa0;hp=f1d51b236edc8b192c3644574905775c7cf9b9da;hpb=505042fcda16151f5ace243c243d34af3efcf677;p=libs%2Fdatafile.git diff --git a/source/binaryparser.h b/source/binaryparser.h index f1d51b2..26fa380 100644 --- a/source/binaryparser.h +++ b/source/binaryparser.h @@ -22,10 +22,10 @@ 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: @@ -38,6 +38,7 @@ private: std::string parse_string(); bool parse_bool(); std::string parse_enum(); + const std::string &lookup_string(unsigned) const; }; } // namespace DataFile