zorba::internal::VariableQName

#include <zorba/internal/qname.h>

Inherited from: zorba::diagnostic::QName

A VariableQName is-an diagnostic::QName that has a variable namespace, prefix, and local-name.

Parameters

StringType The type to use to store the namespace, prefix, and local-name. Note that this can be either a string type or char const*. If the latter, then it must be guaranteed that the pointed-to C strings will exist for the entire lifetime of this object.

Private Attributes

StringType

localname_

StringType

ns_

StringType

prefix_

Public Functions

char const *

localname() const

Gets this QName's local name.

char const *

ns() const

Gets this QName's namespace URI.

char const *

prefix() const

Gets this QName's prefix.

VariableQName(char const *ns, char const *prefix, char const *localname)

Constructs a VariableQName.

VariableQName(serialization::Archiver &)

Friend Classes

friend void

serialization::operator&(serialization::Archiver &, VariableQName &)

Private Attributes

localname_

StringType localname_

ns_

StringType ns_

prefix_

StringType prefix_

Public Functions

localname

char const * localname() const

Gets this QName's local name.

Returns

Returns said local name.

ns

char const * ns() const

Gets this QName's namespace URI.

Returns

Returns said URI.

prefix

char const * prefix() const

Gets this QName's prefix.

Returns

Returns said prefix.

VariableQName

 VariableQName(char const *ns, char const *prefix, char const *localname)

Constructs a VariableQName.

VariableQName

 VariableQName(serialization::Archiver &)

Friend Classes

serialization::operator&

friend void serialization::operator&(serialization::Archiver &, VariableQName &)