-
Notifications
You must be signed in to change notification settings - Fork 1
/
member.cpp
57 lines (48 loc) · 1.46 KB
/
member.cpp
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* file: member.cpp
Copyright (C) 2008 Ville-Petteri Makinen
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the
Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
CITATION (if not provided by software website)
Makinen V-P, software name, URL:http://www.iki.fi/~vpmakine/
CONTACT (if not provided by citation)
Ville-Petteri Makinen
Folkhalsan Research Center
Biomedicum Helsinki P.O.Box 63
Haartmaninkatu 8 00014, Helsinki, Finland
Tel: +358 9 191 25462
Fax: +358 9 191 25452
WWW: http://www.iki.fi/~vpmakine
*/
#include "member.h"
/*
*
*/
Member::Member(const string& s) {
m_name = s;
is_original = false;
gender = '\0';
father = -1;
mother = -1;
child = -1;
sibling = -1;
parent = -1;
tree = -1;
vertex = -1;
x = 0.0;
y = 0.0;
age = 0.0;
width = 1.0;
height = 1.0;
up_attach = 0.0;
bonds = vector<int>(0);
}