QOpcUaAttributeOperand Class

OPC UAAttributeOperand タイプ。詳細...

ヘッダー #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)
QVariant 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 part 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()も参照

QVariant QOpcUaAttributeOperand::operator QVariant() const

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

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

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

関連する非会員

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

lhsrhs と異なる値を持つ場合、true を返します。

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

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

lhsrhs と同じ値の場合、true を返します。

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

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