QQualifiedName Class


The OPC UA QualifiedName type. More...

Header: #include <QtOpcUa/qopcuatype.h>
qmake: QT += opcua

Public Functions

QQualifiedName(const QOpcUa::QQualifiedName &rhs)
QQualifiedName(quint16 namespaceIndex, const QString &name)
QString name() const
quint16 namespaceIndex() const
void setName(const QString &value)
void setNamespaceIndex(const quint16 &value)
QVariant operator QVariant() const
QOpcUa::QQualifiedName &operator=(const QOpcUa::QQualifiedName &rhs)
bool operator==(const QOpcUa::QQualifiedName &rhs) const

Detailed Description

The OPC UA QualifiedName type.

This is the Qt OPC UA representation for the OPC UA QualifiedName type defined in OPC-UA part 3, 8.3. A QualifiedName is a name qualified by a namespace index. The namespace index corresponds to an entry in the server's namespace array. QualifiedName is mainly used to represent the BrowseName attribute of a node.

Member Function Documentation


Default constructs an instance of QQualifiedName.

QQualifiedName::QQualifiedName(const QOpcUa::QQualifiedName &rhs)

Constructs a qualified name from rhs.

QQualifiedName::QQualifiedName(quint16 namespaceIndex, const QString &name)

Constructs a qualified name with namespace index namespaceIndex and the name name.


Destroys the instance of QQualifiedName.

QString QQualifiedName::name() const

Returns the name.

See also setName().

quint16 QQualifiedName::namespaceIndex() const

Returns the namespace index.

See also setNamespaceIndex().

void QQualifiedName::setName(const QString &value)

Sets the name to value.

See also name().

void QQualifiedName::setNamespaceIndex(const quint16 &value)

Sets the namespace index to value.

See also namespaceIndex().

QVariant QQualifiedName::operator QVariant() const

Converts this qualified name to QVariant.

QOpcUa::QQualifiedName &QQualifiedName::operator=(const QOpcUa::QQualifiedName &rhs)

Sets the values from rhs in this qualified name.

bool QQualifiedName::operator==(const QOpcUa::QQualifiedName &rhs) const

Returns true if this qualified name has the same value as rhs.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.