このページでは

QOpcUaAttributeOperand Class

OPC UA の AttributeOperand 型。詳細...

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

パブリック関数

QOpcUaAttributeOperand()
QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)
QString alias() const
QOpcUa::NodeAttribute attributeId() const
QList<QOpcUaRelativePathElement> browsePath() const
QList<QOpcUaRelativePathElement> &browsePathRef()
QString indexRange() const
QString nodeId() const
void setAlias(const QString &alias)
void setAttributeId(QOpcUa::NodeAttribute attributeId)
void setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)
void setIndexRange(const QString &indexRange)
void setNodeId(const QString &nodeId)
operator QVariant() const
QOpcUaAttributeOperand &operator=(const QOpcUaAttributeOperand &rhs)
(since 6.7) bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
(since 6.7) bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

詳細な説明

AttributeOperand は、OPC UA 1.05 第 4 部 7.7.4.4 で定義されています。QOpcUaSimpleAttributeOperand と同じ目的を持ちますが、より多くの設定オプションがあります。

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

QOpcUaAttributeOperand::QOpcUaAttributeOperand()

default は、パラメータが設定されていない属性オペランドを生成します。

QOpcUaAttributeOperand::QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)

rhs から属性オペランドを構築します。

QString QOpcUaAttributeOperand::alias() const

この QAttributeOperand のエイリアスを返します。

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

QOpcUa::NodeAttribute QOpcUaAttributeOperand::attributeId() const

browsePath が指しているノードの属性の id を返します。

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

QList<QOpcUaRelativePathElement> QOpcUaAttributeOperand::browsePath() const

ブラウズパスを返します。

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

QList<QOpcUaRelativePathElement> &QOpcUaAttributeOperand::browsePathRef()

ブラウズパスへの参照を返します。

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

QString QOpcUaAttributeOperand::indexRange() const

インデックスの範囲を表す文字列を返します。

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

QString QOpcUaAttributeOperand::nodeId() const

型定義ノードのノードIDを返します。

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

void QOpcUaAttributeOperand::setAlias(const QString &alias)

エイリアスを `alias` に設定します。これにより、このインスタンスをフィルタ内の他の演算のオペランドとして使用できるようになります。

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

void QOpcUaAttributeOperand::setAttributeId(QOpcUa::NodeAttribute attributeId)

属性 id をattributeId に設定します。

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

void QOpcUaAttributeOperand::setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)

nodeId() を起点とするノードへの相対パスを、browsePath に設定します。

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

void QOpcUaAttributeOperand::setIndexRange(const QString &indexRange)

属性の値のうち、単一の値またはそのサブセットを識別するために使用されるインデックス範囲の文字列を、indexRange に設定します。

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

void QOpcUaAttributeOperand::setNodeId(const QString &nodeId)

型定義ノードのノード ID をnodeId に設定します。

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

QOpcUaAttributeOperand::operator QVariant() const

この属性オペランドをQVariant に変換します。

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

rhs の値を、この属性オペランドに設定します。

関連する非メンバー

[noexcept, since 6.7] bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

lhs の値がrhs と異なる場合、true を返します。

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

[noexcept, since 6.7] bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

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

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

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