-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathProgramOptions.hpp
More file actions
38 lines (35 loc) · 794 Bytes
/
Copy pathProgramOptions.hpp
File metadata and controls
38 lines (35 loc) · 794 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
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef PROGRAMOPTIONS_H_
#define PROGRAMOPTIONS_H_
#include <boost/program_options.hpp>
class ProgramOptions {
boost::program_options::options_description desc;
public:
boost::program_options::variables_map vm;
std::string server;
std::string user;
std::string password;
bool proceed;
bool preventGui;
int port;
/**
* Default Constructor - deleted
*/
ProgramOptions()=delete;
/**
* Copy Constructor - deleted
* @param argc
* @param argv
*/
ProgramOptions(const ProgramOptions &val) = delete;
/**
* Constructor based on command line parameters
* @param argc number of parameters
* @param argv array of parameters
*/
ProgramOptions(const int argc, const char *argv[]);
/**
* Destructor
*/
~ProgramOptions();
};
#endif /* PROGRAMOPTIONS_H_ */