Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
zorba::internal::SystemDiagnostic Class Reference

#include <zorba/internal/system_diagnostic.h>

Inheritance diagram for zorba::internal::SystemDiagnostic:
Inheritance graph
[legend]
Collaboration diagram for zorba::internal::SystemDiagnostic:
Collaboration graph
[legend]

List of all members.

Public Member Functions

zorba::diagnostic::category category () const
 Gets the category of this diagnostic.
zorba::diagnostic::kind kind () const
 Gets the kind of this diagnostic.
virtual char const * message () const
 Gets the message of this diagnostic.
zorba::diagnostic::QName const & qname () const
 Gets the QName for this diagnostic.
 SystemDiagnostic (char const *localname)
 Constructs a SystemDiagnostic.

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

Diagnostic const * clone () const
void destroy () const
 Destroys a Diagnostic.

Friends

class ZorbaException

Constructor & Destructor Documentation

zorba::internal::SystemDiagnostic::SystemDiagnostic ( char const *  localname) [inline]

Constructs a SystemDiagnostic.

Parameters:
localnameThe local-name of the diagnostic.

Definition at line 76 of file system_diagnostic.h.


Member Function Documentation

zorba::diagnostic::category zorba::internal::SystemDiagnostic::category ( ) const [inline, virtual]

Gets the category of this diagnostic.

Returns:
Returns said category.

Reimplemented from zorba::Diagnostic.

Definition at line 82 of file system_diagnostic.h.

Diagnostic const* zorba::internal::SystemDiagnostic::clone ( ) const [inline, protected, virtual]

Implements zorba::Diagnostic.

Definition at line 88 of file system_diagnostic.h.

void zorba::internal::SystemDiagnostic::destroy ( ) const [inline, protected, virtual]

Destroys a Diagnostic.

This is the only way a Diagnostic should be destroyed.

Reimplemented from zorba::Diagnostic.

Definition at line 89 of file system_diagnostic.h.

static Diagnostic const* zorba::internal::SystemDiagnosticBase::find ( char const *  localname) [inline, static, inherited]

Given a diagnostic's local-name, finds its corresponding Diagnostic object.

Parameters:
localnameThe local-name.
Returns:
Returns the corresponding Diagnostic object or NULL if not found.

Definition at line 41 of file system_diagnostic.h.

zorba::diagnostic::kind zorba::internal::SystemDiagnostic::kind ( ) const [inline, virtual]

Gets the kind of this diagnostic.

Returns:
Returns said kind.

Reimplemented from zorba::Diagnostic.

Definition at line 83 of file system_diagnostic.h.

virtual char const* zorba::Diagnostic::message ( ) const [virtual, inherited]

Gets the message of this diagnostic.

Returns:
Returns said message.
zorba::diagnostic::QName const& zorba::internal::SystemDiagnostic::qname ( ) const [inline, virtual]

Gets the QName for this diagnostic.

Returns:
Returns said QName.

Implements zorba::Diagnostic.

Definition at line 84 of file system_diagnostic.h.


Friends And Related Function Documentation

friend class ZorbaException [friend, inherited]

Definition at line 360 of file diagnostic.h.


The documentation for this class was generated from the following file:
blog comments powered by Disqus