clean up
This commit is contained in:
parent
4543473821
commit
299490ca5f
20 changed files with 638 additions and 429 deletions
19
src/table.h
19
src/table.h
|
|
@ -17,14 +17,21 @@ public:
|
|||
struct set {
|
||||
short type;
|
||||
F format;
|
||||
std::string name;
|
||||
std::string name;
|
||||
std::string id;
|
||||
};
|
||||
table(std::initializer_list<set> l);
|
||||
set operator[](short);
|
||||
bool exists(short);
|
||||
std::string name(short);
|
||||
table(std::initializer_list<set> l);
|
||||
const table::set operator[](std::string);
|
||||
const table::set operator[](short);
|
||||
bool exists(std::string);
|
||||
bool exists(short);
|
||||
short type(std::string);
|
||||
std::string id(short);
|
||||
std::string name(short);
|
||||
private:
|
||||
std::map<short, set> left;
|
||||
std::vector<set> data;
|
||||
std::map<short, set*> left;
|
||||
std::map<std::string, set*> right;
|
||||
};
|
||||
|
||||
#endif /* LOOKUPTABLE_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue