Contains information about a node. More...
Header: | #include <QOpcUaReferenceDescription> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other) | |
QOpcUaReferenceDescription() | |
QOpcUaReferenceDescription & | operator=(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 |
This class is used to return the results of a call to QOpcUaNode::browse() or QOpcUaNode::browseChildren().
It contains the type and direction of the reference used to connect the node to the starting node of the browse operation, the node id of the target's type definition node and the values of the following node attributes:
Attribute |
---|
NodeId |
BrowseName |
DisplayName |
NodeClass |
Creates a copy of the QOpcUaReferenceDescription object other.
Creates an empty QOpcUaReferenceDescription object
Assigns the value of other to this object.
Destructor for QOpcUaReferenceDescription
Returns the browse name of the node.
See also setBrowseName().
Returns the display name of the node.
See also setDisplayName().
Returns true
if the reference is forward.
See also setIsForwardReference().
Returns the node class of the node.
See also setNodeClass().
Returns the reference type id of the node.
See also setRefTypeId().
Sets the browse name of the node to browseName.
See also browseName().
Sets the display name of the node to displayName.
See also displayName().
Sets isForwardReference as isForwardReference information for the reference.
See also isForwardReference().
Sets the node class of the node to nodeClass.
See also nodeClass().
Sets the reference type id of the node to refTypeId.
See also refTypeId() and QOpcUa::nodeIdFromReferenceType().
Sets the node id of the node to nodeId.
See also targetNodeId().
Sets typeDefinition as id of the type definition.
See also typeDefinition().
Returns the node id of the node.
See also setTargetNodeId().
Returns the type definition id.
See also setTypeDefinition().