Classes | |
class | QName |
A QName is the abstract base class for a QName. More... | |
Enumerations | |
enum | category { UNKNOWN_CATEGORY, XQUERY_CORE, XQUERY_FULL_TEXT, XQUERY_SCRIPTING, XQUERY_SERIALIZATION, XQUERY_UPDATE, XQUERY_USER_DEFINED, ZORBA_XQP, ZORBA_API, ZORBA_DDF, ZORBA_DEBUGGER, ZORBA_OS, ZORBA_SERIALIZATION, ZORBA_STORE, JSON_PARSER, JSON_SERIALIZATION } |
An diagnostic::category is the category of error. More... | |
enum | kind { UNKNOWN_KIND, XQUERY_STATIC, XQUERY_DYNAMIC, XQUERY_TYPE } |
An diagnostic::kind is the kind of error. More... | |
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. | |
template<class StringType > | |
bool | operator!= (QName const &q1, StringType const &q2) |
Compares two QNames for inequality. | |
template<class StringType > | |
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, category c) |
Emits the given diagnostic::category to the given 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. | |
template<class StringType > | |
bool | operator== (QName const &q1, StringType const &q2) |
Compares two QNames for equality. | |
template<class StringType > | |
bool | operator== (StringType const &q1, QName const &q2) |
Compares two QNames for equality. |
An diagnostic::category is the category of error.
Definition at line 226 of file diagnostic.h.
An diagnostic::kind is the kind of error.
See: http://www.w3.org/TR/xquery-30/#id-kinds-of-errors
Definition at line 262 of file diagnostic.h.
bool zorba::diagnostic::operator!= | ( | QName const & | q1, |
QName const & | q2 | ||
) | [inline] |
Compares two QNames for inequality.
true
only if either the QNames' namespaces or local names are not equal. Definition at line 151 of file diagnostic.h.
bool zorba::diagnostic::operator!= | ( | QName const & | q1, |
char const * | q2 | ||
) | [inline] |
Compares two QNames for inequality.
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. |
true
only if either the QNames' namespaces or local names are not equal. Definition at line 167 of file diagnostic.h.
bool zorba::diagnostic::operator!= | ( | char const * | q1, |
QName const & | q2 | ||
) | [inline] |
Compares two QNames for inequality.
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. |
true
only if either the QNames' namespaces or local names are not equal. Definition at line 183 of file diagnostic.h.
bool zorba::diagnostic::operator!= | ( | QName const & | q1, |
StringType const & | q2 | ||
) | [inline] |
Compares two QNames for inequality.
StringType | The string type of q2. |
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. |
true
only if the QNames are not equal. Definition at line 200 of file diagnostic.h.
bool zorba::diagnostic::operator!= | ( | StringType const & | q1, |
QName const & | q2 | ||
) | [inline] |
Compares two QNames for inequality.
StringType | The string type of q1. |
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. |
true
only if the QNames are not equal. Definition at line 217 of file diagnostic.h.
ZORBA_DLL_PUBLIC std::ostream& zorba::diagnostic::operator<< | ( | std::ostream & | o, |
QName const & | qn | ||
) |
ZORBA_DLL_PUBLIC std::ostream& zorba::diagnostic::operator<< | ( | std::ostream & | o, |
category | c | ||
) |
Emits the given diagnostic::category to the given ostream.
o | The ostream to emit to. |
c | The category to emit. |
ZORBA_DLL_PUBLIC std::ostream& zorba::diagnostic::operator<< | ( | std::ostream & | o, |
kind | k | ||
) |
Emits the given diagnostic::kind to the given ostream.
o | The ostream to emit to. |
k | The kind to emit. |
ZORBA_DLL_PUBLIC bool zorba::diagnostic::operator== | ( | QName const & | q1, |
QName const & | q2 | ||
) |
ZORBA_DLL_PUBLIC bool zorba::diagnostic::operator== | ( | QName const & | q1, |
char const * | q2 | ||
) |
Compares two QNames for equality.
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. |
true
only if the QNames are equal. bool zorba::diagnostic::operator== | ( | char const * | q1, |
QName const & | q2 | ||
) | [inline] |
Compares two QNames for equality.
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. |
true
only if the QNames are equal. Definition at line 105 of file diagnostic.h.
bool zorba::diagnostic::operator== | ( | QName const & | q1, |
StringType const & | q2 | ||
) | [inline] |
Compares two QNames for equality.
StringType | The string type of q2. |
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. |
true
only if the QNames are equal. Definition at line 122 of file diagnostic.h.
bool zorba::diagnostic::operator== | ( | StringType const & | q1, |
QName const & | q2 | ||
) | [inline] |
Compares two QNames for equality.
StringType | The string type of q1. |
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. |
true
only if the QNames are equal. Definition at line 139 of file diagnostic.h.