CBMC
typecheck.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module:
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
9 
10 #ifndef CPROVER_UTIL_TYPECHECK_H
11 #define CPROVER_UTIL_TYPECHECK_H
12 
13 #include "message.h"
14 
15 class typecheckt:public messaget
16 {
17 public:
18  explicit typecheckt(message_handlert &_message_handler):
19  messaget(_message_handler)
20  {
21  }
22 
23  virtual ~typecheckt() { }
24 
25 protected:
26  // main function -- overload this one
27  virtual void typecheck()=0;
28 
29 public:
30  // call that one
31  virtual bool typecheck_main();
32 };
33 
34 #endif // CPROVER_UTIL_TYPECHECK_H
messaget
Class that provides messages with a built-in verbosity 'level'.
Definition: message.h:154
message_handlert
Definition: message.h:27
typecheckt::typecheckt
typecheckt(message_handlert &_message_handler)
Definition: typecheck.h:18
typecheckt::typecheck
virtual void typecheck()=0
typecheckt
Definition: typecheck.h:15
message.h
typecheckt::typecheck_main
virtual bool typecheck_main()
Definition: typecheck.cpp:14
typecheckt::~typecheckt
virtual ~typecheckt()
Definition: typecheck.h:23