QOpcUaReferenceDescription Class
Contiene informazioni su un nodo. Altro...
| Intestazione: | #include <QOpcUaReferenceDescription> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funzioni pubbliche
| 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) |
Descrizione dettagliata
Questa classe viene utilizzata per restituire i risultati di una chiamata a QOpcUaNode::browse() o QOpcUaNode::browseChildren().
Contiene il tipo e la direzione del riferimento utilizzato per collegare il nodo al nodo iniziale dell’operazione di navigazione, l’ID del nodo di definizione del tipo della destinazione e i valori dei seguenti attributi di node attributes:
| Attributo |
|---|
| NodeId |
| NomeEsplorazione |
| NomeVisibile |
| NodeClass |
Documentazione delle funzioni membro
QOpcUaReferenceDescription::QOpcUaReferenceDescription()
Crea un oggetto QOpcUaReferenceDescription vuoto
QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
Crea una copia dell'oggetto QOpcUaReferenceDescription other.
[noexcept] QOpcUaReferenceDescription::~QOpcUaReferenceDescription()
Distruttore per QOpcUaReferenceDescription
QOpcUaQualifiedName QOpcUaReferenceDescription::browseName() const
Restituisce il nome di navigazione del nodo.
Vedi anche setBrowseName().
QOpcUaLocalizedText QOpcUaReferenceDescription::displayName() const
Restituisce il nome visualizzato del nodo.
Vedi anche setDisplayName().
bool QOpcUaReferenceDescription::isForwardReference() const
Restituisce true se il riferimento è di tipo "forward".
Vedi anche setIsForwardReference().
QOpcUa::NodeClass QOpcUaReferenceDescription::nodeClass() const
Restituisce la classe del nodo.
Vedi anche setNodeClass().
QString QOpcUaReferenceDescription::refTypeId() const
Restituisce l'ID di tipo riferimento del nodo.
Vedi anche setRefTypeId().
void QOpcUaReferenceDescription::setBrowseName(const QOpcUaQualifiedName &browseName)
Imposta il nome di navigazione del nodo su browseName.
Vedi anche browseName().
void QOpcUaReferenceDescription::setDisplayName(const QOpcUaLocalizedText &displayName)
Imposta il nome visualizzato del nodo su displayName.
Vedi anche displayName().
void QOpcUaReferenceDescription::setIsForwardReference(bool isForwardReference)
Imposta isForwardReference come isForwardReference per il riferimento.
Vedi anche isForwardReference().
void QOpcUaReferenceDescription::setNodeClass(QOpcUa::NodeClass nodeClass)
Imposta la classe del nodo su nodeClass.
Vedi anche nodeClass().
void QOpcUaReferenceDescription::setRefTypeId(const QString &refTypeId)
Imposta l'ID del tipo di riferimento del nodo su refTypeId.
Vedi anche refTypeId() e QOpcUa::nodeIdFromReferenceType().
void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)
Imposta l'ID del nodo su nodeId.
Vedi anche targetNodeId().
void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
Imposta " typeDefinition " come ID della definizione del tipo.
Vedi anche typeDefinition().
QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const
Restituisce l'ID del nodo.
Vedi anche setTargetNodeId().
QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const
Restituisce l'ID della definizione di tipo.
Vedi anche setTypeDefinition().
QOpcUaReferenceDescription &QOpcUaReferenceDescription::operator=(const QOpcUaReferenceDescription &other)
Assegna a questo oggetto il valore di other.
© 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.