Update Attribute.h
This commit is contained in:
parent
0dba891839
commit
f748c986fa
1 changed files with 6 additions and 1 deletions
|
@ -29,13 +29,18 @@ public:
|
|||
|
||||
void display()
|
||||
{
|
||||
cout<<"Atribute name:\t"<<name<<"\n";
|
||||
cout<<"\nAtribute name:\t"<<name<<"\n";
|
||||
cout<<"Elements: ";
|
||||
for (int i = 0; i < values.size(); ++i)
|
||||
{
|
||||
cout<<values[i]<<" ";
|
||||
}
|
||||
}
|
||||
|
||||
int getSize()
|
||||
{
|
||||
return values.size();
|
||||
}
|
||||
/*
|
||||
Attribute(vector<string> v){
|
||||
this.values = v;
|
||||
|
|
Reference in a new issue