QOpcUaRelativePathElement Class
Das OPC UA RelativePathElement. Mehr...
Kopfzeile: | #include <QOpcUaRelativePathElement> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Öffentliche Funktionen
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) QVariant | operator QVariant() const |
QOpcUaRelativePathElement & | operator=(const QOpcUaRelativePathElement &rhs) |
Verwandte Nicht-Mitglieder
(since 6.7) bool | operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs) |
bool | operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs) |
Detaillierte Beschreibung
QOpcUaRelativePathElement definiert ein Element für einen relativen Pfad auf einem OPC UA Server. Dies wird für die Auflösung von Browse-Pfaden zu Node-Ids in QOpcUaNode::resolveBrowsePath() benötigt.
Dokumentation der Mitgliedsfunktionen
QOpcUaRelativePathElement::QOpcUaRelativePathElement()
Konstruiert ein relatives Pfadelement, bei dem beide Flags auf false
gesetzt sind.
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, QOpcUa::ReferenceTypeId refType)
Konstruiert ein relatives Pfadelement mit targetName target , QOpcUa::ReferenceTypeId refType und beiden auf false
gesetzten Flags.
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, const QString &refType)
Konstruiert ein relatives Pfadelement mit targetName target , Referenztyp node id refType und beiden Flags auf false
gesetzt.
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaRelativePathElement &rhs)
Konstruiert ein relatives Pfadelement aus rhs.
bool QOpcUaRelativePathElement::includeSubtypes() const
Gibt den Wert des includeSubtypes-Flags zurück.
Siehe auch setIncludeSubtypes().
bool QOpcUaRelativePathElement::isInverse() const
Gibt den Wert des isInverse-Flags zurück.
Siehe auch setIsInverse().
QString QOpcUaRelativePathElement::referenceTypeId() const
Gibt die Typ-ID des Verweises zurück, der diesen Knoten mit dem vorherigen Knoten verbindet.
Siehe auch setReferenceTypeId().
void QOpcUaRelativePathElement::setIncludeSubtypes(bool includeSubtypes)
Setzt das Kennzeichen includeSubtypes auf includeSubtypes. Wenn das Kennzeichen true
lautet, wird auch nach Referenzen mit Subtypen von referenceTypeId() gesucht.
Siehe auch includeSubtypes().
void QOpcUaRelativePathElement::setIsInverse(bool isInverse)
Setzt das Kennzeichen isInverse auf isInverse. Wenn das Kennzeichen true
lautet, erfolgt die Suche nach der umgekehrten Referenz.
Siehe auch isInverse().
void QOpcUaRelativePathElement::setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId)
Setzt den Referenztyp id auf referenceTypeId.
Siehe auch referenceTypeId().
void QOpcUaRelativePathElement::setReferenceTypeId(const QString &referenceTypeId)
Setzt den Referenztyp id auf referenceTypeId.
void QOpcUaRelativePathElement::setTargetName(const QOpcUaQualifiedName &targetName)
Setzt den Zielnamen auf targetName, zum Beispiel QOpcUaQualifiedName(0, "DataTypes").
Siehe auch targetName().
QOpcUaQualifiedName QOpcUaRelativePathElement::targetName() const
Gibt den qualifizierten Namen des Ziels der Referenz zurück.
Siehe auch setTargetName().
[since 6.7]
QVariant QOpcUaRelativePathElement::operator QVariant() const
Gibt eine QVariant zurück, die dieses relative Pfadelement enthält.
Diese Funktion wurde in Qt 6.7 eingeführt.
QOpcUaRelativePathElement &QOpcUaRelativePathElement::operator=(const QOpcUaRelativePathElement &rhs)
Legt die Werte von rhs in diesem relativen Pfadelement fest.
Verwandte Nicht-Mitglieder
[noexcept, since 6.7]
bool operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)
Gibt true
zurück, wenn lhs einen anderen Wert als rhs hat.
Diese Funktion wurde in Qt 6.7 eingeführt.
[noexcept]
bool operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)
Gibt true
zurück, wenn lhs denselben Wert wie rhs hat.
© 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.