cprover
goto_difft Class Referenceabstract

#include <goto_diff.h>

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

Public Member Functions

 goto_difft (const goto_modelt &_goto_model1, const goto_modelt &_goto_model2, message_handlert &_message_handler)
 
virtual bool operator() ()=0
 
void set_ui (language_uit::uit _ui)
 
virtual std::ostream & output_functions (std::ostream &out) const
 
- Public Member Functions inherited from messaget
virtual void set_message_handler (message_handlert &_message_handler)
 
message_handlertget_message_handler ()
 
 messaget ()
 
 messaget (const messaget &other)
 
 messaget (message_handlert &_message_handler)
 
virtual ~messaget ()
 
mstreamtget_mstream (unsigned message_level)
 
mstreamterror ()
 
mstreamtwarning ()
 
mstreamtresult ()
 
mstreamtstatus ()
 
mstreamtstatistics ()
 
mstreamtprogress ()
 
mstreamtdebug ()
 

Protected Types

typedef std::set< irep_idtirep_id_sett
 

Protected Member Functions

void convert_function_group (json_arrayt &result, const irep_id_sett &function_group) const
 
void convert_function (json_objectt &result, const irep_idt &function_name) const
 

Protected Attributes

const goto_modeltgoto_model1
 
const goto_modeltgoto_model2
 
language_uit::uit ui
 
unsigned total_functions_count
 
irep_id_sett new_functions
 
irep_id_sett modified_functions
 
irep_id_sett deleted_functions
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

Additional Inherited Members

- 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 mstreamteom (mstreamt &m)
 
static mstreamtendl (mstreamt &m)
 

Detailed Description

Definition at line 22 of file goto_diff.h.

Member Typedef Documentation

◆ irep_id_sett

typedef std::set<irep_idt> goto_difft::irep_id_sett
protected

Definition at line 50 of file goto_diff.h.

Constructor & Destructor Documentation

◆ goto_difft()

goto_difft::goto_difft ( const goto_modelt _goto_model1,
const goto_modelt _goto_model2,
message_handlert _message_handler 
)
inlineexplicit

Definition at line 25 of file goto_diff.h.

Member Function Documentation

◆ convert_function()

void goto_difft::convert_function ( json_objectt result,
const irep_idt function_name 
) const
protected

◆ convert_function_group()

void goto_difft::convert_function_group ( json_arrayt result,
const irep_id_sett function_group 
) const
protected

Definition at line 79 of file goto_diff_base.cpp.

References convert_function(), and messaget::result().

Referenced by output_functions().

◆ operator()()

virtual bool goto_difft::operator() ( )
pure virtual

Implemented in syntactic_difft.

◆ output_functions()

◆ set_ui()

void goto_difft::set_ui ( language_uit::uit  _ui)
inline

Definition at line 40 of file goto_diff.h.

References ui.

Referenced by goto_diff_parse_optionst::doit().

Member Data Documentation

◆ deleted_functions

irep_id_sett goto_difft::deleted_functions
protected

Definition at line 51 of file goto_diff.h.

Referenced by syntactic_difft::operator()(), and output_functions().

◆ goto_model1

const goto_modelt& goto_difft::goto_model1
protected

Definition at line 45 of file goto_diff.h.

Referenced by syntactic_difft::operator()(), and output_functions().

◆ goto_model2

const goto_modelt& goto_difft::goto_model2
protected

Definition at line 46 of file goto_diff.h.

Referenced by convert_function(), syntactic_difft::operator()(), and output_functions().

◆ modified_functions

irep_id_sett goto_difft::modified_functions
protected

Definition at line 51 of file goto_diff.h.

Referenced by syntactic_difft::operator()(), and output_functions().

◆ new_functions

irep_id_sett goto_difft::new_functions
protected

Definition at line 51 of file goto_diff.h.

Referenced by syntactic_difft::operator()(), and output_functions().

◆ total_functions_count

unsigned goto_difft::total_functions_count
protected

Definition at line 49 of file goto_diff.h.

Referenced by syntactic_difft::operator()(), and output_functions().

◆ ui

language_uit::uit goto_difft::ui
protected

Definition at line 47 of file goto_diff.h.

Referenced by output_functions(), and set_ui().


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