CBMC
|
#include <cout_message.h>
Public Member Functions | |
void | print (unsigned, const xmlt &) override |
void | print (unsigned, const jsont &) override |
virtual void | print (unsigned level, const std::string &message) override |
virtual void | flush (unsigned level) override |
console_message_handlert () | |
console_message_handlert (bool always_flush) | |
std::string | command (unsigned c) const override |
Create an ECMA-48 SGR (Select Graphic Rendition) command with given code. | |
Protected Attributes | |
const bool | always_flush |
bool | is_a_tty |
true if we are outputting to a proper console | |
bool | use_SGR |
true if we use ECMA-48 SGR to render colors | |
Definition at line 29 of file cout_message.h.
|
inline |
Definition at line 47 of file cout_message.h.
|
explicit |
Definition at line 45 of file cout_message.cpp.
|
overridevirtual |
Create an ECMA-48 SGR (Select Graphic Rendition) command with given code.
c | ECMA-48 command code |
Reimplemented from message_handlert.
Definition at line 71 of file cout_message.cpp.
Implements message_handlert.
Definition at line 133 of file cout_message.cpp.
|
overridevirtual |
Implements message_handlert.
Reimplemented in cl_message_handlert, and gcc_message_handlert.
Definition at line 79 of file cout_message.cpp.
Implements message_handlert.
Reimplemented in gcc_message_handlert.
Definition at line 36 of file cout_message.h.
Implements message_handlert.
Reimplemented in gcc_message_handlert.
Definition at line 32 of file cout_message.h.
Definition at line 56 of file cout_message.h.
|
protected |
true if we are outputting to a proper console
Definition at line 59 of file cout_message.h.
|
protected |
true if we use ECMA-48 SGR to render colors
Definition at line 62 of file cout_message.h.