QOpcUaRelativePathElement Class
L'élément OPC UA RelativePathElement. Plus d'informations...
| En-tête : | #include <QOpcUaRelativePathElement> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake : | QT += opcua |
Fonctions publiques
| QOpcUaRelativePathElement() | |
| QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, QOpcUa::ReferenceTypeId refType) | |
| QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, const QString &refType) | |
| QOpcUaRelativePathElement(const QOpcUaRelativePathElement &rhs) | |
| bool | includeSubtypes() const |
| bool | isInverse() const |
| QString | referenceTypeId() const |
| void | setIncludeSubtypes(bool includeSubtypes) |
| void | setIsInverse(bool isInverse) |
| void | setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId) |
| void | setReferenceTypeId(const QString &referenceTypeId) |
| void | setTargetName(const QOpcUaQualifiedName &targetName) |
| QOpcUaQualifiedName | targetName() const |
(since 6.7) | operator QVariant() const |
| QOpcUaRelativePathElement & | operator=(const QOpcUaRelativePathElement &rhs) |
Non-membres apparentés
(since 6.7) bool | operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs) |
| bool | operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs) |
Description détaillée
QOpcUaRelativePathElement définit un élément de chemin relatif sur un serveur OPC UA. Il est nécessaire pour la résolution des chemins de navigation vers les identifiants de nœuds dans QOpcUaNode::resolveBrowsePath().
Fonction membre Documentation
QOpcUaRelativePathElement::QOpcUaRelativePathElement()
Construit un élément de chemin relatif avec les deux drapeaux à false.
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, QOpcUa::ReferenceTypeId refType)
Construit un élément de chemin relatif avec targetName target , QOpcUa::ReferenceTypeId refType et les deux drapeaux à false.
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, const QString &refType)
Construit un élément de chemin relatif avec targetName target , l'identifiant du nœud de type référence refType et les deux drapeaux à false.
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaRelativePathElement &rhs)
Construit un élément de chemin relatif à partir de rhs.
bool QOpcUaRelativePathElement::includeSubtypes() const
Renvoie la valeur de l'indicateur includeSubtypes.
Voir aussi setIncludeSubtypes().
bool QOpcUaRelativePathElement::isInverse() const
Renvoie la valeur de l'indicateur isInverse.
Voir aussi setIsInverse().
QString QOpcUaRelativePathElement::referenceTypeId() const
Renvoie l'identifiant de type de la référence reliant ce nœud au nœud précédent.
Voir aussi setReferenceTypeId().
void QOpcUaRelativePathElement::setIncludeSubtypes(bool includeSubtypes)
Attribue la valeur includeSubtypes à l'indicateur includeSubtypes. Si l'indicateur est true, la recherche suit également les références dont le sous-type est referenceTypeId().
Voir aussi includeSubtypes().
void QOpcUaRelativePathElement::setIsInverse(bool isInverse)
Fixe l'indicateur isInverse à isInverse. Si l'indicateur est true, la recherche suit la référence inverse.
Voir aussi isInverse().
void QOpcUaRelativePathElement::setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId)
Définit l'identifiant du type de référence à referenceTypeId.
Voir aussi referenceTypeId().
void QOpcUaRelativePathElement::setReferenceTypeId(const QString &referenceTypeId)
Définit l'identifiant du type de référence à referenceTypeId.
void QOpcUaRelativePathElement::setTargetName(const QOpcUaQualifiedName &targetName)
Définit le nom de la cible à targetName, par exemple QOpcUaQualifiedName(0, "DataTypes").
Voir aussi targetName().
QOpcUaQualifiedName QOpcUaRelativePathElement::targetName() const
Renvoie le nom qualifié de la cible de la référence.
Voir aussi setTargetName().
[since 6.7] QOpcUaRelativePathElement::operator QVariant() const
Renvoie une adresse QVariant contenant cet élément de chemin relatif.
Cette fonction a été introduite dans Qt 6.7.
QOpcUaRelativePathElement &QOpcUaRelativePathElement::operator=(const QOpcUaRelativePathElement &rhs)
Définit les valeurs de rhs dans cet élément de chemin relatif.
Non-membres apparentés
[noexcept, since 6.7] bool operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)
Renvoie true si lhs a une valeur différente de rhs.
Cette fonction a été introduite dans Qt 6.7.
[noexcept] bool operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)
Renvoie true si lhs a la même valeur que rhs.
© 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.