9 #ifndef CPROVER_GOTO_HARNESS_GOTO_HARNESS_GENERATOR_H
10 #define CPROVER_GOTO_HARNESS_GOTO_HARNESS_GENERATOR_H
25 const std::string &option,
26 const std::list<std::string> &values);
30 const std::string &option,
31 const std::list<std::string> &values);
36 const std::string &option,
37 const std::list<std::string> &values);
56 const std::string &option,
57 const std::list<std::string> &values) = 0;
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
helper to select harness type by name.
virtual void handle_option(const std::string &option, const std::list< std::string > &values)=0
Handle a command line argument.
virtual void validate_options(const goto_modelt &goto_model)=0
Check if options are in a sane state, throw otherwise.
virtual void generate(goto_modelt &goto_model, const irep_idt &harness_function_name)=0
Generate a harness according to the set options.
virtual ~goto_harness_generatort()=default
std::string require_exactly_one_value(const std::string &option, const std::list< std::string > &values)
Returns the only value of a single element list, throws an exception if not passed a single element l...
void assert_no_values(const std::string &option, const std::list< std::string > &values)
Asserts that the list of values to an option passed is empty.
std::size_t require_one_size_value(const std::string &option, const std::list< std::string > &values)
Returns the only Nat value of a single element list, throws an exception if not passed a single eleme...