cprover
clobber_parse_optionst Class Reference

#include <clobber_parse_options.h>

Inheritance diagram for clobber_parse_optionst:
[legend]
Collaboration diagram for clobber_parse_optionst:
[legend]

Public Member Functions

virtual int doit ()
 invoke main modules More...
 
virtual void help ()
 display command line help More...
 
 clobber_parse_optionst (int argc, const char **argv)
 
 clobber_parse_optionst (int argc, const char **argv, const std::string &extra_options)
 
- Public Member Functions inherited from parse_options_baset
 parse_options_baset (const std::string &optstring, int argc, const char **argv)
 
virtual void usage_error ()
 
virtual int main ()
 
virtual ~parse_options_baset ()
 
- Public Member Functions inherited from language_uit
 language_uit (const cmdlinet &cmdline, ui_message_handlert &ui_message_handler)
 Constructor. More...
 
virtual ~language_uit ()
 Destructor. More...
 
virtual bool parse ()
 
virtual bool parse (const std::string &filename)
 
virtual bool typecheck ()
 
virtual bool final ()
 
virtual void clear_parse ()
 
virtual void show_symbol_table (bool brief=false)
 
virtual void show_symbol_table_plain (std::ostream &out, bool brief)
 
virtual void show_symbol_table_xml_ui (bool brief)
 
uit get_ui ()
 
- Public Member Functions inherited from messaget
virtual void set_message_handler (message_handlert &_message_handler)
 
message_handlertget_message_handler ()
 
 messaget ()
 
 messaget (const messaget &other)
 
messagetoperator= (const messaget &other)
 
 messaget (message_handlert &_message_handler)
 
virtual ~messaget ()
 
mstreamtget_mstream (unsigned message_level) const
 
mstreamterror () const
 
mstreamtwarning () const
 
mstreamtresult () const
 
mstreamtstatus () const
 
mstreamtstatistics () const
 
mstreamtprogress () const
 
mstreamtdebug () const
 
void conditional_output (mstreamt &mstream, const std::function< void(mstreamt &)> &output_generator) const
 Generate output to mstream using output_generator if the configured verbosity is at least as high as that of mstream. More...
 

Protected Member Functions

void get_command_line_options (optionst &)
 
bool process_goto_program (const optionst &options, goto_modelt &)
 
bool set_properties (goto_functionst &)
 
void report_success ()
 
void report_failure ()
 
void show_counterexample (const class goto_tracet &)
 

Protected Attributes

ui_message_handlert ui_message_handler
 
- Protected Attributes inherited from language_uit
const cmdlinet_cmdline
 
ui_message_handlertui_message_handler
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

Additional Inherited Members

- Public Types inherited from language_uit
typedef ui_message_handlert::uit uit
 
- Public Types inherited from messaget
enum  message_levelt {
  M_ERROR =1, M_WARNING =2, M_RESULT =4, M_STATUS =6,
  M_STATISTICS =8, M_PROGRESS =9, M_DEBUG =10
}
 
- Static Public Member Functions inherited from messaget
static unsigned eval_verbosity (const std::string &user_input, const message_levelt default_verbosity, message_handlert &dest)
 Parse a (user-)provided string as a verbosity level and set it as the verbosity of dest. More...
 
static mstreamteom (mstreamt &m)
 
static mstreamtendl (mstreamt &m)
 
- Public Attributes inherited from parse_options_baset
cmdlinet cmdline
 
- Public Attributes inherited from language_uit
language_filest language_files
 
symbol_tablet symbol_table
 

Detailed Description

Definition at line 41 of file clobber_parse_options.h.

Constructor & Destructor Documentation

◆ clobber_parse_optionst() [1/2]

clobber_parse_optionst::clobber_parse_optionst ( int  argc,
const char **  argv 
)

Definition at line 38 of file clobber_parse_options.cpp.

◆ clobber_parse_optionst() [2/2]

clobber_parse_optionst::clobber_parse_optionst ( int  argc,
const char **  argv,
const std::string &  extra_options 
)

Member Function Documentation

◆ doit()

◆ get_command_line_options()

void clobber_parse_optionst::get_command_line_options ( optionst options)
protected

◆ help()

void clobber_parse_optionst::help ( )
virtual

◆ process_goto_program()

◆ report_failure()

void clobber_parse_optionst::report_failure ( )
protected

◆ report_success()

void clobber_parse_optionst::report_success ( )
protected

◆ set_properties()

bool clobber_parse_optionst::set_properties ( goto_functionst goto_functions)
protected

Definition at line 181 of file clobber_parse_options.cpp.

References parse_options_baset::cmdline, cmdlinet::get_values(), and cmdlinet::isset().

Referenced by doit().

◆ show_counterexample()

void clobber_parse_optionst::show_counterexample ( const class goto_tracet )
protected

Member Data Documentation

◆ ui_message_handler

ui_message_handlert clobber_parse_optionst::ui_message_handler
protected

Definition at line 56 of file clobber_parse_options.h.

Referenced by doit().


The documentation for this class was generated from the following files: