Open CASCADE Technology
6.5.4
|
Abstract interface class defining printer as output context for
text messages
The message, besides being text string, has associated gravity
level, which can be used by printer to decide either to process
a message or ignore it.
#include <Message_Printer.hxx>
Public Member Functions | |
virtual void | Send (const TCollection_ExtendedString &theString, const Message_Gravity theGravity, const Standard_Boolean putEndl) const =0 |
Send a string message with specified trace level. The parameter putEndl specified whether end-of-line should be added to the end of the message. This method must be redefined in descentant. | |
virtual void | Send (const Standard_CString theString, const Message_Gravity theGravity, const Standard_Boolean putEndl) const |
Send a string message with specified trace level. The parameter putEndl specified whether end-of-line should be added to the end of the message. Default implementation calls first method Send(). | |
virtual void | Send (const TCollection_AsciiString &theString, const Message_Gravity theGravity, const Standard_Boolean putEndl) const |
Send a string message with specified trace level. The parameter putEndl specified whether end-of-line should be added to the end of the message. Default implementation calls first method Send(). |
virtual void Message_Printer::Send | ( | const TCollection_ExtendedString & | theString, |
const Message_Gravity | theGravity, | ||
const Standard_Boolean | putEndl | ||
) | const [pure virtual] |
Implemented in Message_PrinterOStream, and Draw_Printer.
virtual void Message_Printer::Send | ( | const Standard_CString | theString, |
const Message_Gravity | theGravity, | ||
const Standard_Boolean | putEndl | ||
) | const [virtual] |
Reimplemented in Message_PrinterOStream, and Draw_Printer.
virtual void Message_Printer::Send | ( | const TCollection_AsciiString & | theString, |
const Message_Gravity | theGravity, | ||
const Standard_Boolean | putEndl | ||
) | const [virtual] |
Reimplemented in Message_PrinterOStream, and Draw_Printer.