zorba::diagnostic

Enumerations

kind

An diagnostic::kind is the kind of error.

Functions

bool

operator!=(QName const &q1, QName const &q2)

Compares two QNames for inequality.

bool

operator!=(QName const &q1, char const *q2)

Compares two QNames for inequality.

bool

operator!=(char const *q1, QName const &q2)

Compares two QNames for inequality.

bool

operator!=(QName const &q1, StringType const &q2)

Compares two QNames for inequality.

bool

operator!=(StringType const &q1, QName const &q2)

Compares two QNames for inequality.

ZORBA_DLL_PUBLIC std::ostream &

operator<<(std::ostream &o, QName const &qn)

Emits a QName to an ostream.

ZORBA_DLL_PUBLIC std::ostream &

operator<<(std::ostream &o, kind k)

Emits the given diagnostic::kind to the given ostream.

ZORBA_DLL_PUBLIC bool

operator==(QName const &q1, QName const &q2)

Compares two QNames for equality.

ZORBA_DLL_PUBLIC bool

operator==(QName const &q1, char const *q2)

Compares two QNames for equality.

bool

operator==(char const *q1, QName const &q2)

Compares two QNames for equality.

bool

operator==(QName const &q1, StringType const &q2)

Compares two QNames for equality.

bool

operator==(StringType const &q1, QName const &q2)

Compares two QNames for equality.

Enumerations

Functions

operator!=

bool operator!=(QName const &q1, QName const &q2)

Compares two QNames for inequality.

Parameters

q1 The first QName.
q2 The second QName.

Returns

Returns true only if either the QNames' namespaces or local names are not equal.

operator!=

bool operator!=(QName const &q1, char const *q2)

Compares two QNames for inequality.

Parameters

q1 The first QName.
q2 The second QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.

Returns

Returns true only if either the QNames' namespaces or local names are not equal.

operator!=

bool operator!=(char const *q1, QName const &q2)

Compares two QNames for inequality.

Parameters

q1 The first QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.
q2 The second QName.

Returns

Returns true only if either the QNames' namespaces or local names are not equal.

operator!=

bool operator!=(QName const &q1, StringType const &q2)

Compares two QNames for inequality.

Parameters

StringType The string type of q2.

Parameters

q1 The first QName.
q2 The second QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.

Returns

Returns true only if the QNames are not equal.

operator!=

bool operator!=(StringType const &q1, QName const &q2)

Compares two QNames for inequality.

Parameters

StringType The string type of q1.

Parameters

q1 The first QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.
q2 The second QName.

Returns

Returns true only if the QNames are not equal.

operator<<

ZORBA_DLL_PUBLIC std::ostream & operator<<(std::ostream &o, QName const &qn)

Emits a QName to an ostream.

Parameters

o The ostream to emit to.
qn The QName to emit.

Returns

Returns o.

operator<<

ZORBA_DLL_PUBLIC std::ostream & operator<<(std::ostream &o, kind k)

Emits the given diagnostic::kind to the given ostream.

Parameters

o The ostream to emit to.
k The kind to emit.

Returns

Returns o.

operator==

ZORBA_DLL_PUBLIC bool operator==(QName const &q1, QName const &q2)

Compares two QNames for equality.

Parameters

q1 The first QName.
q2 The second QName.

Returns

Returns true only if the QNames' namespaces and local names are equal.

operator==

ZORBA_DLL_PUBLIC bool operator==(QName const &q1, char const *q2)

Compares two QNames for equality.

Parameters

q1 The first QName.
q2 The second QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.

Returns

Returns true only if the QNames are equal.

operator==

bool operator==(char const *q1, QName const &q2)

Compares two QNames for equality.

Parameters

q1 The first QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.
q2 The second QName.

Returns

Returns true only if the QNames are equal.

operator==

bool operator==(QName const &q1, StringType const &q2)

Compares two QNames for equality.

Parameters

StringType The string type of q2.

Parameters

q1 The first QName.
q2 The second QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.

Returns

Returns true only if the QNames are equal.

operator==

bool operator==(StringType const &q1, QName const &q2)

Compares two QNames for equality.

Parameters

StringType The string type of q1.

Parameters

q1 The first QName. It can be in Clark notation, {namespace}local-name, in which case the namespaces and local-names are compared; or as prefix:local-name in which case the prefixes and local-names are compared.
q2 The second QName.

Returns

Returns true only if the QNames are equal.