-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAttribute.cpp
More file actions
42 lines (33 loc) · 757 Bytes
/
Copy pathAttribute.cpp
File metadata and controls
42 lines (33 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* File: Attribute.cpp
* Author: Arthur Lisek-Koper
* e-mail: arthur_lisekkoper@student.uml.edu
*
* Created on October 21, 2014, 2:41 PM
* Last modified on October 23, 2014.
*/
#include "Attribute.h"
Attribute::Attribute( ) {
this->name = "{EMPTY}";
this->value = "{EMPTY}";
}
Attribute::Attribute( string attr_name, string attr_value ) {
this->name = attr_name;
this->value = attr_value;
}
Attribute::Attribute( const Attribute& orig ) {
}
Attribute::~Attribute( ) {
}
void Attribute::setValue( string value ) {
this->value = value;
}
string Attribute::getValue( ) const {
return value;
}
void Attribute::setName( string name ) {
this->name = name;
}
string Attribute::getName( ) const {
return name;
}