Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QXmlStreamAttribute Class Reference

#include <qxmlstream.h>

+ Collaboration diagram for QXmlStreamAttribute:

Public Member Functions

 QXmlStreamAttribute ()
 
 QXmlStreamAttribute (const QString &qualifiedName, const QString &value)
 
 QXmlStreamAttribute (const QString &namespaceUri, const QString &name, const QString &value)
 
QStringView namespaceUri () const
 
QStringView name () const
 
QStringView qualifiedName () const
 
QStringView prefix () const
 
QStringView value () const
 
bool isDefault () const
 
bool operator== (const QXmlStreamAttribute &other) const
 
bool operator!= (const QXmlStreamAttribute &other) const
 

Friends

class QXmlStreamReaderPrivate
 
class QXmlStreamAttributes
 

Detailed Description

Definition at line 43 of file qxmlstream.h.

Constructor & Destructor Documentation

◆ QXmlStreamAttribute() [1/3]

QXmlStreamAttribute::QXmlStreamAttribute ( )

◆ QXmlStreamAttribute() [2/3]

QXmlStreamAttribute::QXmlStreamAttribute ( const QString qualifiedName,
const QString value 
)

◆ QXmlStreamAttribute() [3/3]

QXmlStreamAttribute::QXmlStreamAttribute ( const QString namespaceUri,
const QString name,
const QString value 
)

Member Function Documentation

◆ isDefault()

bool QXmlStreamAttribute::isDefault ( ) const
inline

Definition at line 60 of file qxmlstream.h.

◆ name()

QStringView QXmlStreamAttribute::name ( ) const
inline

Definition at line 54 of file qxmlstream.h.

◆ namespaceUri()

QStringView QXmlStreamAttribute::namespaceUri ( ) const
inline

Definition at line 53 of file qxmlstream.h.

◆ operator!=()

bool QXmlStreamAttribute::operator!= ( const QXmlStreamAttribute other) const
inline

Definition at line 66 of file qxmlstream.h.

References operator==(), and other().

+ Here is the call graph for this function:

◆ operator==()

bool QXmlStreamAttribute::operator== ( const QXmlStreamAttribute other) const
inline

Definition at line 61 of file qxmlstream.h.

References other().

+ Here is the call graph for this function:

◆ prefix()

QStringView QXmlStreamAttribute::prefix ( ) const
inline

Definition at line 56 of file qxmlstream.h.

References QStringView::left(), and qMax().

+ Here is the call graph for this function:

◆ qualifiedName()

QStringView QXmlStreamAttribute::qualifiedName ( ) const
inline

Definition at line 55 of file qxmlstream.h.

◆ value()

QStringView QXmlStreamAttribute::value ( ) const
inline

Definition at line 59 of file qxmlstream.h.

Friends And Related Symbol Documentation

◆ QXmlStreamAttributes

friend class QXmlStreamAttributes
friend

Definition at line 47 of file qxmlstream.h.

◆ QXmlStreamReaderPrivate

friend class QXmlStreamReaderPrivate
friend

Definition at line 46 of file qxmlstream.h.


The documentation for this class was generated from the following file: