Contains information about a node. 更多...
头: | #include <QOpcUaReferenceDescription> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
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 ) |
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 an empty QOpcUaReferenceDescription object
Creates a copy of the QOpcUaReferenceDescription object other .
[noexcept]
QOpcUaReferenceDescription::
~QOpcUaReferenceDescription
()
析构函数为 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 ().
Assigns the value of other 到此对象。