Initial commit
[remote/remote-mci.git] / diku_mcs / Configuration.h
blob7d48fecb032fccf5cc1842620b587654d4af016f
1 #ifndef CONFIGURATION_H_
2 #define CONFIGURATION_H_
4 #include <iostream>
5 #include <fstream>
6 #include <boost/program_options.hpp>
8 namespace remote { namespace diku_mcs {
10 namespace po = boost::program_options;
12 /** This class reads options from a configuration file
13 * and from the command prompt. The Boost Program options
14 * library is used to parse the options.
15 **/
16 class Configuration
18 public:
19 /** Read command line options and options from
20 * configuration file.
21 * \param ac Number of command line arguments
22 * \param av string array of command line arguments
23 **/
24 static void read( int ac, char** av );
25 /** Option variable map keyed by option name **/
26 static po::variables_map vm;
31 #endif /*CONFIGURATION_H_*/