diff --git a/DBEngine.h b/DBEngine.h index 32e96c2..e889297 100755 --- a/DBEngine.h +++ b/DBEngine.h @@ -5,21 +5,17 @@ using namespace std; -class DBEngine { - //member variables - //NOT DONE - //vector tables; +class DBEngine { + vector tables; public: DBEngine(); - void createCmd(); - //void openCmd(); - void saveCmd(); - void showCmd(); - void insertQuery(); - void deleteQuery(); - void selectQuery(); - void projectQuery(); - void productQuery(); - bool unionComp(); + + void addRelation(Relation r) { + tables.push_back(r); + } + + vector getRelations() { + return tables; + } };