CBMC
cl_message_handler.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Print messages like CL.exe does
4 
5 Author: Michael Tautschnig
6 
7 \*******************************************************************/
8 
9 #ifndef CPROVER_GOTO_CC_CL_MESSAGE_HANDLER_H
10 #define CPROVER_GOTO_CC_CL_MESSAGE_HANDLER_H
11 
12 #include <util/cout_message.h>
13 
15 {
16 public:
17  void print(unsigned, const xmlt &) override
18  {
19  }
20 
21  void print(unsigned, const jsont &) override
22  {
23  }
24 
25  // aims to imitate the messages CL prints
26  void print(
27  unsigned level,
28  const std::string &message,
29  const source_locationt &location) override;
30 
32 };
33 
34 #endif // CPROVER_GOTO_CC_CL_MESSAGE_HANDLER_H
console_message_handlert::print
void print(unsigned, const xmlt &) override
Definition: cout_message.h:32
cl_message_handlert::print
void print(unsigned, const jsont &) override
Definition: cl_message_handler.h:21
jsont
Definition: json.h:26
cl_message_handlert::print
void print(unsigned, const xmlt &) override
Definition: cl_message_handler.h:17
cout_message.h
xmlt
Definition: xml.h:20
source_locationt
Definition: source_location.h:18
cl_message_handlert
Definition: cl_message_handler.h:14
console_message_handlert
Definition: cout_message.h:29