Message interface. More...
Public Types | |
enum | Kind { MSG_COMILER_CORE, MSG_COMILER_BACKEND, MSG_COMPILER_DAG, MSG_COMPILER_ARCHIVE_TOOL, MSG_IMP_EXP, MSG_INTEGRATION, MSG_UNCATEGORIZED } |
The possible kinds of messages. More... | |
![]() | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, IInterface > | Self |
Own type. More... | |
typedef Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11 > | IID |
Declares the interface ID (IID) of this interface. More... | |
![]() | |
typedef Uuid_t< 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 > | IID |
Declares the interface ID (IID) of this interface. More... | |
Public Member Functions | |
virtual Kind | get_kind () const =0 |
Returns the kind of message. More... | |
virtual base::Message_severity | get_severity () const =0 |
Returns the severity of the message. More... | |
virtual const char * | get_string () const =0 |
Returns the message string. More... | |
virtual Sint32 | get_code () const =0 |
Returns a unique identifier for the message. More... | |
virtual Size | get_notes_count () const =0 |
Returns the number of notes associated with the message. More... | |
virtual const IMessage * | get_note (Size index) const =0 |
Returns the note at index or NULL , if no such index exists. More... | |
Additional Inherited Members | |
![]() | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Message interface.
The possible kinds of messages.
A message can be uniquely identified by the message code and kind, except for uncategorized messages.
|
pure virtual |
Returns a unique identifier for the message.
|
pure virtual |
Returns the kind of message.
Returns the note at index or NULL
, if no such index exists.
|
pure virtual |
Returns the number of notes associated with the message.
Notes can be used to describe an error message further or add additional details.
|
pure virtual |
Returns the severity of the message.
|
pure virtual |
Returns the message string.