cprover
Toggle main menu visibility
Loading...
Searching...
No Matches
goto_cc_mode.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Command line interpretation for goto-cc.
4
5
Author: CM Wintersteiger
6
7
Date: June 2006
8
9
\*******************************************************************/
10
13
14
#ifndef CPROVER_GOTO_CC_GOTO_CC_MODE_H
15
#define CPROVER_GOTO_CC_GOTO_CC_MODE_H
16
17
#include <string>
18
19
class
message_handlert
;
20
class
goto_cc_cmdlinet
;
21
22
class
goto_cc_modet
23
{
24
public
:
25
int
main
(
int
argc,
const
char
**argv);
26
virtual
int
doit
()=0;
27
virtual
void
help_mode
()=0;
28
void
help
();
29
virtual
void
usage_error
();
30
31
goto_cc_modet
(
32
goto_cc_cmdlinet
&,
33
const
std::string &_base_name,
34
message_handlert
&);
35
~goto_cc_modet
();
36
37
protected
:
38
goto_cc_cmdlinet
&
cmdline
;
39
const
std::string
base_name
;
40
message_handlert
&
message_handler
;
41
void
register_languages
();
42
};
43
44
#endif
// CPROVER_GOTO_CC_GOTO_CC_MODE_H
goto_cc_cmdlinet
Definition
goto_cc_cmdline.h:20
goto_cc_modet::~goto_cc_modet
~goto_cc_modet()
constructor
Definition
goto_cc_mode.cpp:43
goto_cc_modet::doit
virtual int doit()=0
goto_cc_modet::goto_cc_modet
goto_cc_modet(goto_cc_cmdlinet &, const std::string &_base_name, message_handlert &)
constructor
Definition
goto_cc_mode.cpp:33
goto_cc_modet::cmdline
goto_cc_cmdlinet & cmdline
Definition
goto_cc_mode.h:38
goto_cc_modet::help_mode
virtual void help_mode()=0
goto_cc_modet::message_handler
message_handlert & message_handler
Definition
goto_cc_mode.h:40
goto_cc_modet::base_name
const std::string base_name
Definition
goto_cc_mode.h:39
goto_cc_modet::usage_error
virtual void usage_error()
Prints a message informing the user about incorrect options.
Definition
goto_cc_mode.cpp:138
goto_cc_modet::register_languages
void register_languages()
Definition
goto_cc_languages.cpp:19
goto_cc_modet::help
void help()
display command line help
Definition
goto_cc_mode.cpp:48
message_handlert
Definition
message.h:27
main
int main()
Definition
example.cpp:18
goto-cc
goto_cc_mode.h
Generated by
1.17.0