Public Member Functions
zorba::internal::FixedQName Class Reference

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

#include <zorba/internal/qname.h>

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

List of all members.

Public Member Functions

 FixedQName (char const *localname)
 Constructs a FixedQName.
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.

Detailed Description

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

Template Parameters:
QNameTraitsA class that contains static NAMESPACE and PREFIX members.
LocalnameTypeThe type to use to store the 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::FixedQName::FixedQName ( char const *  localname) [inline]

Constructs a FixedQName.

Parameters:
localnameThe QName's local-name.

Definition at line 62 of file qname.h.


Member Function Documentation

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

Gets this QName's local name.

Returns:
Returns said local name.

Implements zorba::diagnostic::QName.

Definition at line 68 of file qname.h.

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

Gets this QName's namespace URI.

Returns:
Returns said URI.

Implements zorba::diagnostic::QName.

Definition at line 66 of file qname.h.

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

Gets this QName's prefix.

Returns:
Returns said prefix.

Implements zorba::diagnostic::QName.

Definition at line 67 of file qname.h.


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