token ID added

This commit is contained in:
j3d1 2016-01-21 04:58:21 +01:00
parent 4c371de8f9
commit 3ef2da7b7a
9 changed files with 575 additions and 573 deletions

View file

@ -20,16 +20,11 @@ public:
std::string name;
};
table(std::initializer_list<set> l);
short operator[](std::string);
std::string operator[](short);
bool exists(std::string);
set operator[](short);
bool exists(short);
const set* get(std::string);
const set* get(short);
std::string name(short);
private:
std::vector<set> data;
std::map<short, set*> left;
std::map<std::string, set*> right;
std::map<short, set> left;
};
#endif /* LOOKUPTABLE_H_ */