37 cmdline.
args.push_back(value);
39 cmdline.
set(name, value);
41 else if(
xml.
name ==
"flagOption")
49 if(cmdline.
isset(
"xml-interface"))
64 cmdline.
set(
"xml-ui");
virtual bool isset(char option) const
virtual void set(const std::string &option, bool value=true)
Set option option to value, or true if the value is omitted.
Thrown when users pass incorrect command line arguments, for example passing no files to analysis or ...
std::string what() const override
A human readable description of what went wrong.
Class that provides messages with a built-in verbosity 'level'.
std::string get_attribute(const std::string &attribute) const
xmlt xml(const irep_idt &property_id, const property_infot &property_info)
void xml_interface(cmdlinet &cmdline, message_handlert &message_handler)
Parse XML-formatted commandline options from stdin.
static void get_xml_options(const xmlt &xml, cmdlinet &cmdline)
Parse commandline options from xml into cmdline.
bool parse_xml(std::istream &in, const std::string &filename, message_handlert &message_handler, xmlt &dest)