Public Member Functions | Friends
zorba::internal::VariableQName Class Reference

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

#include <zorba/internal/qname.h>

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

List of all members.

Public Member 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 &)

Friends

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

Detailed Description

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

Template Parameters:
StringTypeThe 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.

Constructor & Destructor Documentation

zorba::internal::VariableQName::VariableQName ( char const *  ns,
char const *  prefix,
char const *  localname 
) [inline]

Constructs a VariableQName.

Definition at line 90 of file qname.h.

zorba::internal::VariableQName::VariableQName ( serialization::Archiver &  ) [inline]

Definition at line 107 of file qname.h.


Member Function Documentation

char const* zorba::internal::VariableQName::localname ( ) const [inline, virtual]

Gets this QName's local name.

Returns:
Returns said local name.

Implements zorba::diagnostic::QName.

Definition at line 98 of file qname.h.

char const* zorba::internal::VariableQName::ns ( ) const [inline, virtual]

Gets this QName's namespace URI.

Returns:
Returns said URI.

Implements zorba::diagnostic::QName.

Definition at line 96 of file qname.h.

char const* zorba::internal::VariableQName::prefix ( ) const [inline, virtual]

Gets this QName's prefix.

Returns:
Returns said prefix.

Implements zorba::diagnostic::QName.

Definition at line 97 of file qname.h.


Friends And Related Function Documentation

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

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