#include <zorba/internal/system_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. | |
Static Public Member Functions | |
static Diagnostic const * | find (char const *localname) |
Given a diagnostic's local-name, finds its corresponding Diagnostic object. | |
Protected Member Functions | |
virtual Diagnostic const * | clone () const =0 |
virtual void | destroy () const |
Destroys a Diagnostic. | |
Friends | |
class | SystemDiagnostic |
class | ZorbaException |
virtual diagnostic::category zorba::Diagnostic::category | ( | ) | const [virtual, inherited] |
Gets the category of this diagnostic.
Reimplemented in zorba::internal::SystemDiagnostic, and zorba::UserError.
virtual Diagnostic const* zorba::Diagnostic::clone | ( | ) | const [protected, pure virtual, inherited] |
Implemented in zorba::internal::SystemDiagnostic, and zorba::UserError.
virtual void zorba::Diagnostic::destroy | ( | ) | const [protected, virtual, inherited] |
Destroys a Diagnostic.
This is the only way a Diagnostic should be destroyed.
Reimplemented in zorba::internal::SystemDiagnostic.
static Diagnostic const* zorba::internal::SystemDiagnosticBase::find | ( | char const * | localname | ) | [inline, static] |
Given a diagnostic's local-name, finds its corresponding Diagnostic object.
localname | The local-name. |
NULL
if not found. Definition at line 41 of file system_diagnostic.h.
virtual diagnostic::kind zorba::Diagnostic::kind | ( | ) | const [virtual, inherited] |
Gets the kind of this diagnostic.
Reimplemented in zorba::internal::SystemDiagnostic.
virtual char const* zorba::Diagnostic::message | ( | ) | const [virtual, inherited] |
Gets the message of this diagnostic.
virtual diagnostic::QName const& zorba::Diagnostic::qname | ( | ) | const [pure virtual, inherited] |
Gets the QName for this diagnostic.
Implemented in zorba::internal::SystemDiagnostic, and zorba::UserError.
Referenced by zorba::operator==().
friend class SystemDiagnostic [friend] |
Definition at line 58 of file system_diagnostic.h.
friend class ZorbaException [friend, inherited] |
Definition at line 357 of file diagnostic.h.