zorba::Diagnostic

#include <zorba/diagnostic.h>

A Diagnostic is the base class for all Zorba diagnostics (errors and warnings).

Friend Classes

friend class

ZorbaException

Public Functions

diagnostic::kind

kind() const

Gets the kind of this diagnostic.

char const *

message() const

Gets the message of this diagnostic.

diagnostic::QName const &

qname() const =0

Gets the QName for this diagnostic.

Protected Functions

Diagnostic const *

clone() const =0

void

destroy() const

Destroys a Diagnostic.

~Diagnostic()

Friend Classes

ZorbaException

friend class ZorbaException

Public Functions

kind

diagnostic::kind kind() const

Gets the kind of this diagnostic.

Returns

Returns said kind.

message

char const * message() const

Gets the message of this diagnostic.

Returns

Returns said message.

qname

diagnostic::QName const & qname() const =0

Gets the QName for this diagnostic.

Returns

Returns said QName.

Protected Functions

clone

Diagnostic const * clone() const =0

destroy

void destroy() const

Destroys a Diagnostic.

This is the only way a Diagnostic should be destroyed.

~Diagnostic

 ~Diagnostic()