12 #ifndef CPROVER_UTIL_OPTIONS_H
13 #define CPROVER_UTIL_OPTIONS_H
28 const std::string
get_option(
const std::string &option)
const;
35 bool is_set(
const std::string &option)
const;
37 void set_option(
const std::string &option,
const bool value);
38 void set_option(
const std::string &option,
const int value);
39 void set_option(
const std::string &option,
const unsigned value);
40 void set_option(
const std::string &option,
const std::string &value);
42 void set_option(
const std::string &option,
const char *value)
63 void output(std::ostream &out)
const;
unsigned int get_unsigned_int_option(const std::string &option) const
void set_option(const std::string &option, const char *value)
bool is_set(const std::string &option) const
N.B. opts.is_set("foo") does not imply opts.get_bool_option("foo")
json_objectt to_json() const
Returns the options as JSON key value pairs.
const value_listt empty_list
void set_option(const std::string &option, const value_listt &values)
bool get_bool_option(const std::string &option) const
optionst & operator=(const optionst &other)
void set_option(const std::string &option, const bool value)
const std::string get_option(const std::string &option) const
xmlt to_xml() const
Returns the options in XML format.
std::map< std::string, value_listt > option_mapt
void output(std::ostream &out) const
Outputs the options to out
signed int get_signed_int_option(const std::string &option) const
const value_listt & get_list_option(const std::string &option) const
std::list< std::string > value_listt