|
CBMC
|
#include <show_goto_functions_xml.h>
Public Member Functions | |
| show_goto_functions_xmlt (bool _list_only=false) | |
| For outputting the GOTO program in a readable xml format. More... | |
| xmlt | convert (const goto_functionst &goto_functions) |
| Walks through all of the functions in the program and returns an xml object representing all their functions. More... | |
| void | operator() (const goto_functionst &goto_functions, std::ostream &out, bool append=true) |
| Print the xml object generated by show_goto_functions_xmlt::show_goto_functions to the provided stream (e.g. More... | |
Private Attributes | |
| bool | list_only |
Definition at line 19 of file show_goto_functions_xml.h.
|
explicit |
For outputting the GOTO program in a readable xml format.
| _list_only | output only list of functions, but not their bodies |
Definition at line 24 of file show_goto_functions_xml.cpp.
| xmlt show_goto_functions_xmlt::convert | ( | const goto_functionst & | goto_functions | ) |
Walks through all of the functions in the program and returns an xml object representing all their functions.
Produces output like this:
| goto_functions | the goto functions that make up the program |
Definition at line 37 of file show_goto_functions_xml.cpp.
| void show_goto_functions_xmlt::operator() | ( | const goto_functionst & | goto_functions, |
| std::ostream & | out, | ||
| bool | append = true |
||
| ) |
Print the xml object generated by show_goto_functions_xmlt::show_goto_functions to the provided stream (e.g.
std::cout)
| goto_functions | the goto functions that make up the program |
| out | the stream to write the object to |
| append | should a command and newline be appended to the stream before writing the xml object. Defaults to true |
Definition at line 100 of file show_goto_functions_xml.cpp.
|
private |
Definition at line 30 of file show_goto_functions_xml.h.