-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataDictionary.cpp
More file actions
83 lines (79 loc) · 3.46 KB
/
Copy pathDataDictionary.cpp
File metadata and controls
83 lines (79 loc) · 3.46 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#include "DataDictionary.h"
DataDictionary::DataDictionary(char *_town, unsigned int _storeId,
char *_managerName,
unsigned int _staffNumbers,
unsigned int _space,
bool _carParking,
unsigned int _demographicScore,
// Location _location,
Population *_populations,
unsigned int _storeAge,
unsigned int _clearenceSpace,
unsigned int _competitionNum,
unsigned int _competitionScore,
bool _performance)
{
town = _town;
storeId = _storeId;
managerName = _managerName;
staffNumbers = _staffNumbers;
space = _space;
carParking = _carParking;
demographicScore = _demographicScore;
// location = _location;
populations = _populations;
storeAge = _storeAge;
clearenceSpace = _clearenceSpace;
competitionNum = _competitionNum;
competitionScore = _competitionScore;
performance = _performance;
}
DataDictionary::~DataDictionary()
{
}
void DataDictionary::setData(char *_town, unsigned int _storeId,
char *_managerName,
unsigned int _staffNumbers,
unsigned int _space,
bool _carParking,
unsigned int _demographicScore,
// Location _location,
Population *_populations,
unsigned int _storeAge,
unsigned int _clearenceSpace,
unsigned int _competitionNum,
unsigned int _competitionScore,
bool _performance)
{
town = _town;
storeId = _storeId;
managerName = _managerName;
staffNumbers = _staffNumbers;
space = _space;
carParking = _carParking;
demographicScore = _demographicScore;
// location = _location;
populations = _populations;
storeAge = _storeAge;
clearenceSpace = _clearenceSpace;
competitionNum = _competitionNum;
competitionScore = _competitionScore;
performance = _performance;
}
char *DataDictionary::GetTown() { return town; }
unsigned int DataDictionary::GetStoreID() { return storeId; }
char *DataDictionary::GetManagerName() { return managerName; }
unsigned int DataDictionary::GetStaffNumbers() { return staffNumbers; }
unsigned int DataDictionary::GetSpace() { return space; }
bool DataDictionary::GetCarParking() { return carParking; }
unsigned int DataDictionary::GetDemographicScore() { return demographicScore; }
// Location DataDictionary::GetLocation() { return location; }
unsigned int DataDictionary::GetStoreAge() { return storeAge; }
unsigned int DataDictionary::ClearenceSpace() { return clearenceSpace; }
unsigned int DataDictionary::CompetitionNumber() { return competitionNum; }
unsigned int DataDictionary::CompetitionScore() { return competitionScore; }
bool DataDictionary::GetPerformance() { return performance; }
Population DataDictionary::Population_40() { return populations[0]; }
Population DataDictionary::Population_30() { return populations[1]; }
Population DataDictionary::Population_20() { return populations[2]; }
Population DataDictionary::Population_10() { return populations[3]; }