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
Assigns the value of 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 ().