forked from loaded02/ICF_Report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunction.h
43 lines (34 loc) · 770 Bytes
/
function.h
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
43
#ifndef FUNCTION_H
#define FUNCTION_H
#include <QString>
/*
* Entity class. Holds attributes of a bodyfunction like
* partizipation, structure etc.
*/
class Function
{
public:
enum Art {function, structure, partizipation, context};
Function();
QString getId() const;
void setId(const QString &value);
QString getDescription() const;
void setDescription(const QString &value);
int getValue() const;
void setValue(int value);
QString getText() const;
void setText(const QString &value);
Art getArt() const {
return art;
}
void setArt(const Art &value) {
art = value;
}
private:
QString id;
QString description;
int value;
QString text;
Art art;
};
#endif // FUNCTION_H