このページでは

QOpcUaQualifiedName Class

OPC UA の QualifiedName 型。詳細...

ヘッダー: #include <QOpcUaQualifiedName>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

パブリック関数

QOpcUaQualifiedName()
QOpcUaQualifiedName(quint16 namespaceIndex, const QString &name)
QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)
QString name() const
quint16 namespaceIndex() const
void setName(const QString &name)
void setNamespaceIndex(quint16 namespaceIndex)
operator QVariant() const
QOpcUaQualifiedName &operator=(const QOpcUaQualifiedName &rhs)
bool operator==(const QOpcUaQualifiedName &rhs) const
(since 6.3) QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)

詳細な説明

これは、OPC UA 1.05 第3部 8.3で定義されたOPC UA QualifiedName型に対するQt OPC UA での表現です。QualifiedNameは、名前空間インデックスによって修飾された名前です。名前空間インデックスは、サーバーの名前空間配列内のエントリに対応します。 QualifiedName は、主にノードの BrowseName 属性を表すために使用されます。

メンバ関数のドキュメント

QOpcUaQualifiedName::QOpcUaQualifiedName()

default は、パラメータが設定されていない修飾名を生成します。

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

名前空間インデックスが `namespaceIndex `、名前が `name` の修飾名を生成します。

QOpcUaQualifiedName::QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)

rhs から修飾名を生成します。

QString QOpcUaQualifiedName::name() const

名前を返します。

setName()も参照してください 。

quint16 QOpcUaQualifiedName::namespaceIndex() const

名前空間のインデックスを返します。

setNamespaceIndex()も参照してください 。

void QOpcUaQualifiedName::setName(const QString &name)

名前を「name 」に設定します。

name()も参照してください 。

void QOpcUaQualifiedName::setNamespaceIndex(quint16 namespaceIndex)

名前空間インデックスをnamespaceIndex に設定します。

namespaceIndex()も参照してください 。

QOpcUaQualifiedName::operator QVariant() const

この修飾名を「QVariant 」に変換します。

QOpcUaQualifiedName &QOpcUaQualifiedName::operator=(const QOpcUaQualifiedName &rhs)

この修飾名に対して、rhs の値を設定します。

bool QOpcUaQualifiedName::operator==(const QOpcUaQualifiedName &rhs) const

この修飾名とrhs の値が同じである場合、true を返します。

関連する非メンバー

[since 6.3] QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)

修飾されたname をdebug の出力に書き込みます。

この関数は Qt 6.3 で導入されました。

「QDebug」も参照してください 。

© 2026 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.