QOpcUaReferenceDescription Class
Enthält Informationen zu einem Knoten. Mehr...
| Kopfzeile: | #include <QOpcUaReferenceDescription> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Öffentliche Funktionen
| QOpcUaReferenceDescription() | |
| QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other) | |
| ~QOpcUaReferenceDescription() | |
| QOpcUaQualifiedName | browseName() const |
| QOpcUaLocalizedText | displayName() const |
| bool | isForwardReference() const |
| QOpcUa::NodeClass | nodeClass() const |
| QString | refTypeId() const |
| void | setBrowseName(const QOpcUaQualifiedName &browseName) |
| void | setDisplayName(const QOpcUaLocalizedText &displayName) |
| void | setIsForwardReference(bool isForwardReference) |
| void | setNodeClass(QOpcUa::NodeClass nodeClass) |
| void | setRefTypeId(const QString &refTypeId) |
| void | setTargetNodeId(const QOpcUaExpandedNodeId &nodeId) |
| void | setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition) |
| QOpcUaExpandedNodeId | targetNodeId() const |
| QOpcUaExpandedNodeId | typeDefinition() const |
| QOpcUaReferenceDescription & | operator=(const QOpcUaReferenceDescription &other) |
Ausführliche Beschreibung
Diese Klasse wird verwendet, um die Ergebnisse eines Aufrufs von ` QOpcUaNode::browse()` oder ` QOpcUaNode::browseChildren()` zurückzugeben.
Sie enthält den Typ und die Richtung der Referenz, die zur Verbindung des Knotens mit dem Startknoten der Durchsuchungsoperation verwendet wird, die Knoten-ID des Typdefinitionsknotens des Ziels sowie die Werte der folgenden „ node attributes “:
| Attribut |
|---|
| NodeId |
| BrowseName |
| Anzeigename |
| Knotenklasse |
Dokumentation zur Mitgliedsfunktion
QOpcUaReferenceDescription::QOpcUaReferenceDescription()
Erstellt ein leeres QOpcUaReferenceDescription-Objekt
QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
Erstellt eine Kopie des Objekts „QOpcUaReferenceDescription“ other.
[noexcept] QOpcUaReferenceDescription::~QOpcUaReferenceDescription()
Destruktor für QOpcUaReferenceDescription
QOpcUaQualifiedName QOpcUaReferenceDescription::browseName() const
Gibt den Browse-Namen des Knotens zurück.
Siehe auch ` setBrowseName()`.
QOpcUaLocalizedText QOpcUaReferenceDescription::displayName() const
Gibt den Anzeigenamen des Knotens zurück.
Siehe auch „ setDisplayName()“.
bool QOpcUaReferenceDescription::isForwardReference() const
Gibt ` true ` zurück, wenn es sich um eine Forward-Referenz handelt.
Siehe auch setIsForwardReference().
QOpcUa::NodeClass QOpcUaReferenceDescription::nodeClass() const
Gibt die Knotenklasse des Knotens zurück.
Siehe auch ` setNodeClass()`.
QString QOpcUaReferenceDescription::refTypeId() const
Gibt die Referenztyp-ID des Knotens zurück.
Siehe auch ` setRefTypeId()`.
void QOpcUaReferenceDescription::setBrowseName(const QOpcUaQualifiedName &browseName)
Legt den Anzeigenamen des Knotens auf „ browseName “ fest.
Siehe auch „ browseName()“.
void QOpcUaReferenceDescription::setDisplayName(const QOpcUaLocalizedText &displayName)
Legt den Anzeigenamen des Knotens auf „ displayName “ fest.
Siehe auch displayName().
void QOpcUaReferenceDescription::setIsForwardReference(bool isForwardReference)
Legt „ isForwardReference “ als „ isForwardReference “-Information für die Referenz fest.
Siehe auch isForwardReference().
void QOpcUaReferenceDescription::setNodeClass(QOpcUa::NodeClass nodeClass)
Setzt die Knotenklasse des Knotens auf „ nodeClass “.
Siehe auch „ nodeClass()“.
void QOpcUaReferenceDescription::setRefTypeId(const QString &refTypeId)
Setzt die Referenztyp-ID des Knotens auf „ refTypeId “.
Siehe auch refTypeId() und QOpcUa::nodeIdFromReferenceType().
void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)
Setzt die Knoten-ID des Knotens auf „ nodeId “.
Siehe auch targetNodeId().
void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
Legt „ typeDefinition “ als ID der Typdefinition fest.
Siehe auch typeDefinition().
QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const
Gibt die Knoten-ID des Knotens zurück.
Siehe auch „ setTargetNodeId()“.
QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const
Gibt die ID der Typdefinition zurück.
Siehe auch ` setTypeDefinition()`.
QOpcUaReferenceDescription &QOpcUaReferenceDescription::operator=(const QOpcUaReferenceDescription &other)
Weist diesem Objekt den Wert „ other “ zu.
© 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.