+
+public: // Methods
+
+ configuration_manager(string name);
+
+ void add_option_value (const string & shortname,
+ const string & longname,
+ const string & description,
+ int *status,
+ string *target=NULL,
+ const string & placeholder=string("<string>"),
+ const bool & allow_commandline=true,
+ const bool & allow_config_file=true
+ );
+
+ void add_option_switch (const string & shortname,
+ const string & longname,
+ const string & description,
+ int *status,
+ const bool & allow_commandline=true,
+ const bool & allow_config_file=true
+ );
+
+ void add_argument (const string & description,
+ int *status,
+ string *target=NULL,
+ const string & placeholder=string("<string>")
+ );
+
+ vector<string> read_args(int argc, char ** args);
+ vector<string> read_file(string filename);
+
+ void get_help (vector<string> & target);
+ vector<string> get_help();
+
+protected: // members
+ vector<opt_switch_t>option_switches;
+ vector<opt_value_t>option_values;
+ vector<cmd_arg_t>cmd_args;