-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModuleSet.h
More file actions
25 lines (21 loc) · 756 Bytes
/
ModuleSet.h
File metadata and controls
25 lines (21 loc) · 756 Bytes
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
#ifndef MODULESET_H
#define MODULESET_H
#include "Module.h"
class ModuleSet
{
friend class boost::serialization::access;
friend std::ostream & operator<<(std::ostream &os, const Module &gp);
template<class Archive>
void serialize(Archive & ar, const unsigned int /* file_version */);
public:
std::vector<Module> Modules;
std::string Name;
std::string Filename;
std::string Description;
//std::vector<Module> Scans;
};
void saveModuleSetXML(const ModuleSet &s, const char * filename);
void loadModuleSetXML(ModuleSet &s, const char * filename);
void saveModuleSetBIN(const ModuleSet &s, const char * filename);
void loadModuleSetBIN(ModuleSet &s, const char * filename);
#endif // MODULESET_H