-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCountryMap.h
35 lines (29 loc) · 875 Bytes
/
CountryMap.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
#ifndef COUNTRYMAP_H
#define COUNTRYMAP_H
#include "Country.h"
#include <string>
#include <map>
#include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
class CountryMap {
private:
map<string, Country> Map;
unsigned MAX_DAYS = 90;
//unsigned entryDate;
//unsigned exitDate;
public:
CountryMap();
CountryMap( const CountryMap& copy);
~CountryMap();
void showMap() const;
bool inSchengen(const string& name) const;
unsigned getUsedDays() const;
unsigned getCountryDays(const string& name) const;
void setUsedDays(unsigned newDayCount);
unsigned getMaxDays() const;
unsigned getMapSize() const;
void setCountryDays(const string& name, unsigned days);
};
#endif