some minor fixes

This commit is contained in:
j3d1 2016-01-17 01:01:49 +01:00
parent 5b61676236
commit 06351d87d1
8 changed files with 47 additions and 53 deletions

View file

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