QOpcUaReferenceDescription Class

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

成员函数文档编制

QOpcUaReferenceDescription:: QOpcUaReferenceDescription (const QOpcUaReferenceDescription & other )

Creates a copy of the QOpcUaReferenceDescription object other .

QOpcUaReferenceDescription:: QOpcUaReferenceDescription ()

Creates an empty QOpcUaReferenceDescription object

QOpcUaReferenceDescription &QOpcUaReferenceDescription:: operator= (const QOpcUaReferenceDescription & other )

Assigns the value of other 到此对象。

QOpcUaReferenceDescription:: ~QOpcUaReferenceDescription ()

析构函数为 QOpcUaReferenceDescription

QOpcUaQualifiedName QOpcUaReferenceDescription:: browseName () const

Returns the browse name of the node.

另请参阅 setBrowseName ().

QOpcUaLocalizedText QOpcUaReferenceDescription:: displayName () const

Returns the display name of the node.

另请参阅 setDisplayName ().

bool QOpcUaReferenceDescription:: isForwardReference () const

返回 true if the reference is forward.

另请参阅 setIsForwardReference ().

QOpcUa::NodeClass QOpcUaReferenceDescription:: nodeClass () const

Returns the node class of the node.

另请参阅 setNodeClass ().

QString QOpcUaReferenceDescription:: refTypeId () const

Returns the reference type id of the node.

另请参阅 setRefTypeId ().

void QOpcUaReferenceDescription:: setBrowseName (const QOpcUaQualifiedName & browseName )

Sets the browse name of the node to browseName .

另请参阅 browseName ().

void QOpcUaReferenceDescription:: setDisplayName (const QOpcUaLocalizedText & displayName )

Sets the display name of the node to displayName .

另请参阅 displayName ().

void QOpcUaReferenceDescription:: setIsForwardReference ( bool isForwardReference )

设置 isForwardReference as isForwardReference information for the reference.

另请参阅 isForwardReference ().

void QOpcUaReferenceDescription:: setNodeClass ( QOpcUa::NodeClass nodeClass )

Sets the node class of the node to nodeClass .

另请参阅 nodeClass ().

void QOpcUaReferenceDescription:: setRefTypeId (const QString & refTypeId )

Sets the reference type id of the node to refTypeId .

另请参阅 refTypeId () 和 QOpcUa::nodeIdFromReferenceType ().

void QOpcUaReferenceDescription:: setTargetNodeId (const QOpcUaExpandedNodeId & nodeId )

Sets the node id of the node to nodeId .

另请参阅 targetNodeId ().

void QOpcUaReferenceDescription:: setTypeDefinition (const QOpcUaExpandedNodeId & typeDefinition )

设置 typeDefinition as id of the type definition.

另请参阅 typeDefinition ().

QOpcUaExpandedNodeId QOpcUaReferenceDescription:: targetNodeId () const

Returns the node id of the node.

另请参阅 setTargetNodeId ().

QOpcUaExpandedNodeId QOpcUaReferenceDescription:: typeDefinition () const

Returns the type definition id.

另请参阅 setTypeDefinition ().