5 #ifndef VOLK_VOLK_OPTION_HELPERS_H 6 #define VOLK_VOLK_OPTION_HELPERS_H 31 std::string shortform,
35 std::string shortform,
39 std::string shortform,
43 std::string shortform,
47 std::string shortform,
63 bool present(std::string option_name);
67 void parse(
int argc,
char** argv);
72 std::string program_name;
73 std::vector<option_t> internal_list;
74 std::map<std::string, int> present_options;
78 #endif // VOLK_VOLK_OPTION_HELPERS_H Definition: volk_option_helpers.h:19
option_t(std::string longform, std::string shortform, std::string msg, void(*callback)())
Definition: volk_option_helpers.cc:17
void(* callback)()
Definition: volk_option_helpers.h:56
std::string msg
Definition: volk_option_helpers.h:53
Definition: volk_option_helpers.h:20
std::string longform
Definition: volk_option_helpers.h:51
Definition: volk_option_helpers.h:59
Definition: volk_option_helpers.h:15
std::string shortform
Definition: volk_option_helpers.h:52
VOLK_API void
Call into a specific implementation given by name.
VOLK_OPTYPE
Definition: volk_option_helpers.h:14
Definition: volk_option_helpers.h:23
std::string printval
Definition: volk_option_helpers.h:55
VOLK_OPTYPE option_type
Definition: volk_option_helpers.h:54
Definition: volk_option_helpers.h:16
Definition: volk_option_helpers.h:17
Definition: volk_option_helpers.h:18