This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
dmspine64backup/DBEngine.h
Rebecca Schofield dce0187660 new framework
2015-09-15 21:33:15 -05:00

38 lines
719 B
C++
Executable file

#include <fstream>
#include <iostream>
#include <vector>
#include "Relation.h"
//still in progress
class DBEngine {
vector<Relation> tables;
int size;
public:
DBEngine(){
size = 0;
}
void createTable(string n, vector<Attribute> a) {
Relation r(n, a);
tables.push_back(r);
}
void createTable(Relation r) {
tables.push_back(r);
}
void showTable() { /*Becca*/ }
void saveToFile() { /*Becca*/ }
void insertTuple() { /*William*/ }
void deleteTuple() { /*William*/ }
void selectTuples() { /*Becca*/ }
void project() { /*Brandon*/ }
void product() { /*Brandon*/ }
void unionComp() { /*William*/ }
vector<Relation> getRelations() {
return tables;
}
};