Message interface. More...
#include <imdl_execution_context.h>
Public Types | |
enum | Kind { MSG_COMILER_CORE , MSG_COMILER_BACKEND , MSG_COMPILER_DAG , MSG_COMPILER_ARCHIVE_TOOL , MSG_IMP_EXP , MSG_INTEGRATION , MSG_UNCATEGORIZED , MSG_FORCE_32_BIT = 0xffffffffU } |
The possible kinds of messages. More... | |
Public Types inherited from mi::base::Interface_declare< 0x51965a01, ... > | |
typedef Interface_declare< id1, ... > | Self |
Own type. More... | |
typedef Uuid_t< id1, ... > | IID |
Declares the interface ID (IID) of this interface. More... | |
Public Types inherited from mi::base::IInterface | |
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... | |
Public Member Functions inherited from mi::base::IInterface | |
virtual Uint32 | retain () const =0 |
Increments the reference count. More... | |
virtual Uint32 | release () const =0 |
Decrements the reference count. More... | |
virtual const IInterface * | get_interface (const Uuid &interface_id) const =0 |
Acquires a const interface from another. More... | |
template<class T> | |
const T * | get_interface () const |
Acquires a const interface from another. More... | |
virtual IInterface * | get_interface (const Uuid &interface_id)=0 |
Acquires a mutable interface from another. More... | |
template<class T> | |
T * | get_interface () |
Acquires a mutable interface from another. More... | |
virtual Uuid | get_iid () const =0 |
Returns the interface ID of the most derived interface. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from mi::base::Interface_declare< 0x51965a01, ... > | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Static Public Member Functions inherited from mi::base::IInterface | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface. More... | |
Message interface.
The possible kinds of messages.
A message can be uniquely identified by the message code and kind, except for importer/exporter messages, integration messages, and 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.