QOpcUaAttributeOperand Class
Le type « AttributeOperand » d'OPC UA. En savoir plus...
| En-tête : | #include <QOpcUaAttributeOperand> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake : | QT += opcua |
Fonctions publiques
| 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) |
Éléments non membres associés
(since 6.7) bool | operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs) |
(since 6.7) bool | operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs) |
Description détaillée
L'AttributeOperand est défini dans la norme OPC UA 1.05, partie 4, section 7.7.4.4. Il a la même finalité que l'QOpcUaSimpleAttributeOperand, mais offre davantage d'options de configuration.
Documentation sur les fonctions des membres
QOpcUaAttributeOperand::QOpcUaAttributeOperand()
La valeur par défaut construit un opérande d'attribut sans aucun paramètre défini.
QOpcUaAttributeOperand::QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)
Crée un opérande d'attribut à partir de rhs.
QString QOpcUaAttributeOperand::alias() const
Renvoie l'alias de cet opérande QAttributeOperand.
Voir également setAlias().
QOpcUa::NodeAttribute QOpcUaAttributeOperand::attributeId() const
Renvoie l'identifiant d'un attribut du nœud vers lequel pointe la fonction ` browsePath `.
Voir aussi setAttributeId().
QList<QOpcUaRelativePathElement> QOpcUaAttributeOperand::browsePath() const
Renvoie le chemin d'accès.
Voir aussi setBrowsePath().
QList<QOpcUaRelativePathElement> &QOpcUaAttributeOperand::browsePathRef()
Renvoie une référence au chemin de navigation.
Voir aussi browsePath().
QString QOpcUaAttributeOperand::indexRange() const
Renvoie la chaîne de caractères correspondant à la plage d'index.
Voir aussi setIndexRange().
QString QOpcUaAttributeOperand::nodeId() const
Renvoie l'identifiant du nœud de définition de type.
Voir aussi setNodeId().
void QOpcUaAttributeOperand::setAlias(const QString &alias)
Définit l'alias alias. Cela permet d'utiliser cette instance comme opérande pour d'autres opérations dans le filtre.
Voir également alias().
void QOpcUaAttributeOperand::setAttributeId(QOpcUa::NodeAttribute attributeId)
Définit l'attribut « id » sur « attributeId ».
Voir également attributeId().
void QOpcUaAttributeOperand::setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)
Définit le chemin relatif vers un nœud, en partant de nodeId() vers browsePath.
Voir également browsePath().
void QOpcUaAttributeOperand::setIndexRange(const QString &indexRange)
Définit la chaîne de caractères de plage d'index utilisée pour identifier une valeur unique ou un sous-ensemble de la valeur de l'attribut sur indexRange.
Voir également indexRange().
void QOpcUaAttributeOperand::setNodeId(const QString &nodeId)
Définit l'identifiant du nœud de définition de type sur nodeId.
Voir également nodeId().
QOpcUaAttributeOperand::operator QVariant() const
Convertit cet opérande d'attribut en « QVariant ».
QOpcUaAttributeOperand &QOpcUaAttributeOperand::operator=(const QOpcUaAttributeOperand &rhs)
Définit les valeurs provenant de rhs dans cet opérande d'attribut.
Éléments non membres associés
[noexcept, since 6.7] bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
Renvoie « true » si « lhs » a une valeur différente de « rhs ».
Cette fonction a été introduite dans Qt 6.7.
[noexcept, since 6.7] bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
Renvoie « true » si « lhs » a la même valeur que « rhs ».
Cette fonction a été introduite dans 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.