18 lines
No EOL
332 B
C++
Executable file
18 lines
No EOL
332 B
C++
Executable file
#include <iostream>
|
|
#include <vector>
|
|
#include "Attribute.h"
|
|
|
|
class Relation{
|
|
string name;
|
|
vector<Attribute> att;
|
|
int size;
|
|
|
|
public:
|
|
Relation(string n);
|
|
Relation(string n, vector<Attribute> a);
|
|
string getTableName();
|
|
vector<Attribute> getAttributes();
|
|
vector<string> getAttributeNames();
|
|
int getSize();
|
|
void display();
|
|
}; |