Contains information about a node. 更多...
| 頭: | #include <QOpcUaReferenceDescription> |
| 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 () 或 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 :
| 屬性 |
|---|
| NodeId |
| BrowseName |
| DisplayName |
| NodeClass |
Creates a copy of the QOpcUaReferenceDescription object other .
Creates an empty QOpcUaReferenceDescription object
賦值值 other 到此對象。
析構函數為 QOpcUaReferenceDescription
Returns the browse name of the node.
另請參閱 setBrowseName ().
Returns the display name of the node.
另請參閱 setDisplayName ().
返迴
true
if the reference is forward.
另請參閱 setIsForwardReference ().
Returns the node class of the node.
另請參閱 setNodeClass ().
Returns the reference type id of the node.
另請參閱 setRefTypeId ().
Sets the browse name of the node to browseName .
另請參閱 browseName ().
Sets the display name of the node to displayName .
另請參閱 displayName ().
設置 isForwardReference as isForwardReference information for the reference.
另請參閱 isForwardReference ().
Sets the node class of the node to nodeClass .
另請參閱 nodeClass ().
Sets the reference type id of the node to refTypeId .
另請參閱 refTypeId () 和 QOpcUa::nodeIdFromReferenceType ().
Sets the node id of the node to nodeId .
另請參閱 targetNodeId ().
設置 typeDefinition as id of the type definition.
另請參閱 typeDefinition ().
Returns the node id of the node.
另請參閱 setTargetNodeId ().
Returns the type definition id.
另請參閱 setTypeDefinition ().