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/Relation.h

18 lines
332 B
C
Raw Normal View History

2015-09-15 20:17:52 -05:00
#include <iostream>
#include <vector>
#include "Attribute.h"
2015-09-17 18:30:45 -05:00
class Relation{
string name;
2015-09-15 21:37:11 -05:00
vector<Attribute> att;
2015-09-15 22:20:14 -05:00
int size;
2015-09-15 20:17:52 -05:00
public:
2015-09-17 18:30:45 -05:00
Relation(string n);
Relation(string n, vector<Attribute> a);
string getTableName();
vector<Attribute> getAttributes();
vector<string> getAttributeNames();
int getSize();
void display();
2015-09-17 18:34:03 -05:00
};