CBMC
|
Functions | |
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 list. More... | |
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. More... | |
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 element list (or not Nat) More... | |
void harness_options_parser::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.
Definition at line 34 of file goto_harness_generator.cpp.
std::string harness_options_parser::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 list.
Definition at line 21 of file goto_harness_generator.cpp.
std::size_t harness_options_parser::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 element list (or not Nat)
Definition at line 41 of file goto_harness_generator.cpp.