CBMC
cw_mode.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Base class for command line interpretation
4 
5 Author: CM Wintersteiger
6 
7 Date: June 2006
8 
9 \*******************************************************************/
10 
13 
14 #ifndef CPROVER_GOTO_CC_CW_MODE_H
15 #define CPROVER_GOTO_CC_CW_MODE_H
16 
17 #include <util/cout_message.h>
18 
19 #include "goto_cc_mode.h"
20 #include "gcc_cmdline.h"
21 
22 class cw_modet:public goto_cc_modet
23 {
24 public:
25  virtual int doit();
26  virtual void help_mode();
27 
28  cw_modet(gcc_cmdlinet &_gcc_cmdline, const std::string &_base_name):
29  goto_cc_modet(_gcc_cmdline, _base_name, message_handler),
30  cmdline(_gcc_cmdline)
31  {
32  }
33 
34 protected:
37 };
38 
39 #endif // CPROVER_GOTO_CC_CW_MODE_H
gcc_cmdlinet & cmdline
Definition: cw_mode.h:35
virtual int doit()
does it.
Definition: cw_mode.cpp:30
console_message_handlert message_handler
Definition: cw_mode.h:36
virtual void help_mode()
display command line help
Definition: cw_mode.cpp:182
cw_modet(gcc_cmdlinet &_gcc_cmdline, const std::string &_base_name)
Definition: cw_mode.h:28
A special command line object for the gcc-like options.
Command line interpretation for goto-cc.