diff --git a/Attribute.h b/Attribute.h new file mode 100644 index 0000000..9d53d4c --- /dev/null +++ b/Attribute.h @@ -0,0 +1,47 @@ +#include +#include + +using namespace std; + +//Funtional, might need more functionality + +//template +class Attribute { + //a named column of a relation + string name; + + bool isKey; + int size; + +public: + + vector values; + + void initializeAttribute(string n, vector a){ + + name = n; + values = a; + } + + string getName(){ + return name; + } + + Attribute(){ } + + void display() + { + cout<<"Atribute name:\t"< getElements(){ + return values; + } + */ +};