-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTarget.hpp
43 lines (38 loc) · 879 Bytes
/
Target.hpp
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 TARGET_H
#define TARGET_H
#include "dataStructures.hpp"
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/serialization/access.hpp>
#include <boost/serialization/list.hpp>
#include <boost/serialization/string.hpp>
#include <boost/serialization/version.hpp>
#include <boost/serialization/split_member.hpp>
class Target
{
private:
friend class boost::serialization::access;
int testVal;
Address home;
Address work;
//Date_Time birthday;
Name name;
PassInfo pinfo; //Password Information
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
ar & home;
ar & work;
//ar & birthday;
ar & name;
ar & pinfo;
ar & testVal;
}
public:
Target();
void generateList();
void enterData();
void parseFile();
int getTestVal() { return testVal; }
};
#endif