8class cmdlinearguments {
15 std::map<std::string, struct argmap_val> argmap;
17 std::vector<std::string> read_arg_vector(
const char *flag);
18 std::vector<std::string> parse_help(std::string);
19 void quit_with_help();
24 void initialise_args(
int argc0,
char **argv0);
25 std::vector<std::string> values(std::string);
26 void add_flag(std::string flag, std::string help_text);
28 int flag_set(
const char *flag);
29 bool flag_present(
const char *flag);
30 long get_int(
const char *flag,
int i = 0);
31 double get_double(
const char *flag,
int i = 0);
32 std::string get_string(
const char *flag,
int i = 0);
37extern cmdlinearguments cmdline;
Implement hila::swap for gauge fields.