QOpcUaReferenceDescription Class
Contém informações sobre um nó. Mais...
| Cabeçalho: | #include <QOpcUaReferenceDescription> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funções públicas
| 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) |
Descrição detalhada
Esta classe é usada para retornar os resultados de uma chamada a QOpcUaNode::browse() ou QOpcUaNode::browseChildren().
Ela contém o tipo e a direção da referência usada para conectar o nó ao nó inicial da operação de navegação, o ID do nó de definição de tipo do destino e os valores dos seguintes parâmetros de ` node attributes`:
| Atributo |
|---|
| NodeId |
| NomeDaNavegação |
| NomeDeExibição |
| NodeClass |
Documentação da função de membro
QOpcUaReferenceDescription::QOpcUaReferenceDescription()
Cria um objeto QOpcUaReferenceDescription vazio
QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
Cria uma cópia do objeto QOpcUaReferenceDescription other.
[noexcept] QOpcUaReferenceDescription::~QOpcUaReferenceDescription()
Destrutor para QOpcUaReferenceDescription
QOpcUaQualifiedName QOpcUaReferenceDescription::browseName() const
Retorna o nome de navegação do nó.
Veja também setBrowseName().
QOpcUaLocalizedText QOpcUaReferenceDescription::displayName() const
Retorna o nome de exibição do nó.
Veja também setDisplayName().
bool QOpcUaReferenceDescription::isForwardReference() const
Retorna ` true ` se a referência for do tipo “forward”.
Veja também setIsForwardReference().
QOpcUa::NodeClass QOpcUaReferenceDescription::nodeClass() const
Retorna a classe do nó.
Veja também ` setNodeClass()`.
QString QOpcUaReferenceDescription::refTypeId() const
Retorna o ID do tipo de referência do nó.
Veja também setRefTypeId().
void QOpcUaReferenceDescription::setBrowseName(const QOpcUaQualifiedName &browseName)
Define o nome de exibição do nó como browseName.
Veja também browseName().
void QOpcUaReferenceDescription::setDisplayName(const QOpcUaLocalizedText &displayName)
Define o nome de exibição do nó como displayName.
Veja também displayName().
void QOpcUaReferenceDescription::setIsForwardReference(bool isForwardReference)
Define ` isForwardReference ` como a informação do ` isForwardReference ` para a referência.
Veja também isForwardReference().
void QOpcUaReferenceDescription::setNodeClass(QOpcUa::NodeClass nodeClass)
Define a classe do nó como “ nodeClass ”.
Veja também ` nodeClass()`.
void QOpcUaReferenceDescription::setRefTypeId(const QString &refTypeId)
Define o ID do tipo de referência do nó como refTypeId.
Veja também refTypeId() e QOpcUa::nodeIdFromReferenceType().
void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)
Define o ID do nó como nodeId.
Veja também targetNodeId().
void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
Define ` typeDefinition ` como o id da definição do tipo.
Veja também typeDefinition().
QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const
Retorna o ID do nó.
Veja também setTargetNodeId().
QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const
Retorna o ID da definição do tipo.
Veja também setTypeDefinition().
QOpcUaReferenceDescription &QOpcUaReferenceDescription::operator=(const QOpcUaReferenceDescription &other)
Atribui o valor de ` other ` a este objeto.
© 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.