CopperSpice API  1.9.1
QXmlStreamNamespaceDeclaration Class Reference

The QXmlStreamNamespaceDeclaration class represents a namespace declaration. More...

Public Methods

 QXmlStreamNamespaceDeclaration ()
 
 QXmlStreamNamespaceDeclaration (const QString &prefix, const QString &namespaceUri)
 
 QXmlStreamNamespaceDeclaration (const QXmlStreamNamespaceDeclaration &other)
 
 ~QXmlStreamNamespaceDeclaration ()
 
QStringView namespaceUri () const
 
bool operator!= (const QXmlStreamNamespaceDeclaration &other) const
 
QXmlStreamNamespaceDeclaration & operator= (const QXmlStreamNamespaceDeclaration &other)
 
bool operator== (const QXmlStreamNamespaceDeclaration &other) const
 
QStringView prefix () const
 

Related Functions

These are not member functions

typedef QXmlStreamNamespaceDeclarations
 

Detailed Description

The QXmlStreamNamespaceDeclaration class represents a namespace declaration. An namespace declaration consists of a prefix() and a namespaceUri().

Constructor & Destructor Documentation

QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration ( )

Creates an empty namespace declaration.

QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration ( const QString prefix,
const QString namespaceUri 
)

Creates a namespace declaration with prefix and namespaceUri.

QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration ( const QXmlStreamNamespaceDeclaration &  other)

Creates a copy of other.

QXmlStreamNamespaceDeclaration::~QXmlStreamNamespaceDeclaration ( )

Destructs this namespace declaration.

Method Documentation

QStringView QXmlStreamNamespaceDeclaration::namespaceUri ( ) const
inline

Returns the namespaceUri.

bool QXmlStreamNamespaceDeclaration::operator!= ( const QXmlStreamNamespaceDeclaration &  other) const
inline

Compares this namespace declaration with other and returns true if they are not equal, otherwise returns false.

QXmlStreamNamespaceDeclaration & QXmlStreamNamespaceDeclaration::operator= ( const QXmlStreamNamespaceDeclaration &  other)

Copy assigns from other and returns a reference to this object.

bool QXmlStreamNamespaceDeclaration::operator== ( const QXmlStreamNamespaceDeclaration &  other) const
inline

Compares this namespace declaration with other and returns true if they are equal, otherwise returns false.

QStringView QXmlStreamNamespaceDeclaration::prefix ( ) const
inline

Returns the prefix.

Friends And Related Function Documentation