token ID added
This commit is contained in:
parent
4c371de8f9
commit
3ef2da7b7a
9 changed files with 575 additions and 573 deletions
11
src/table.h
11
src/table.h
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue