| 32 | #include <vector> |
| 33 | |
| 34 | struct Option_def { |
| 35 | std::string name; |
| 36 | bool* is_set; |
| 37 | const char** value; |
| 38 | |
| 39 | Option_def () : is_set(0), value(0) { } |
| 40 | Option_def (const std::string& arg_name, bool* arg_is_set) |
| 41 | : name(arg_name), is_set(arg_is_set), value(0) { } |
| 42 | Option_def (const std::string& arg_name, const char** arg_value) |
| 43 | : name(arg_name), is_set(0), value(arg_value) { } |
| 44 | }; |
| 45 | |
| 46 | typedef std::vector<Option_def> Options_list; |
| 47 |
no outgoing calls
no test coverage detected