A Diagnostic is the base class for all Zorba diagnostics (errors and warnings). More...
#include <zorba/diagnostic.h>
Public Member Functions | |
virtual diagnostic::category | category () const |
Gets the category of this diagnostic. | |
virtual diagnostic::kind | kind () const |
Gets the kind of this diagnostic. | |
virtual char const * | message () const |
Gets the message of this diagnostic. | |
virtual diagnostic::QName const & | qname () const =0 |
Gets the QName for this diagnostic. |
Protected Member Functions | |
virtual Diagnostic const * | clone () const =0 |
virtual void | destroy () const |
Destroys a Diagnostic. | |
virtual | ~Diagnostic () |
Friends | |
class | ZorbaException |
A Diagnostic is the base class for all Zorba diagnostics (errors and warnings).
Definition at line 323 of file diagnostic.h.
|
protectedvirtual |
|
virtual |
Gets the category of this diagnostic.
Reimplemented in zorba::internal::SystemDiagnostic< QNameType >, and zorba::UserError.
|
protectedpure virtual |
Implemented in zorba::internal::SystemDiagnostic< QNameType >, and zorba::UserError.
|
protectedvirtual |
Destroys a Diagnostic.
This is the only way a Diagnostic should be destroyed.
Reimplemented in zorba::internal::SystemDiagnostic< QNameType >.
|
virtual |
Gets the kind of this diagnostic.
Reimplemented in zorba::internal::SystemDiagnostic< QNameType >.
|
virtual |
Gets the message of this diagnostic.
|
pure virtual |
Gets the QName for this diagnostic.
Implemented in zorba::internal::SystemDiagnostic< QNameType >, and zorba::UserError.
Referenced by zorba::operator==().
|
friend |
Definition at line 365 of file diagnostic.h.