16 lines
321 B
C
16 lines
321 B
C
![]() |
#include <iostream>
|
||
|
#include <vector>
|
||
|
#include "Attribute.h"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
//NOT DONE
|
||
|
class Relation {
|
||
|
//a table with rows and columns
|
||
|
string name;
|
||
|
vector< Attribute<T> > att;
|
||
|
public:
|
||
|
Relation();
|
||
|
Relation(vector< Attribute<T> > a) { att = a; }
|
||
|
void addTuple(vector< Attribute<T> > tuple);
|
||
|
};
|