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)
QVariant 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 part 3 8.3で定義されているOPC UA QualifiedName型のQt OPC UA 。QualifiedName は、名前空間インデックスによって修飾される名前である。名前空間インデックスは、サーバーの名前空間配列のエントリに対応します。QualifiedName は、主にノードの BrowseName 属性を表すために使用されます。

メンバ関数ドキュメント

QOpcUaQualifiedName::QOpcUaQualifiedName()

デフォルトは、パラメータを設定しない修飾名を構築する。

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()も参照

QVariant 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)

修飾されたnamedebug 出力に書き込みます。

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

QDebugも参照してください

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