QOpcUaDeleteReferenceItem Class

This class stores the necessary information to delete a reference from the server. 更多...

头: #include <QOpcUaDeleteReferenceItem>
qmake: QT += opcua

公共函数

  QOpcUaDeleteReferenceItem (const QOpcUaDeleteReferenceItem & other )
QOpcUaDeleteReferenceItem & operator= (const QOpcUaDeleteReferenceItem & rhs )
bool deleteBidirectional () const
bool isForwardReference () const
QString referenceTypeId () const
void setDeleteBidirectional (bool deleteBidirectional )
void setIsForwardReference (bool isForwardReference )
void setReferenceTypeId (const QString & referenceTypeId )
void setSourceNodeId (const QString & sourceNodeId )
void setTargetNodeId (const QOpcUaExpandedNodeId & targetNodeId )
QString sourceNodeId () const
QOpcUaExpandedNodeId targetNodeId () const

详细描述

另请参阅 QOpcUaClient::deleteReference ().

成员函数文档编制

QOpcUaDeleteReferenceItem:: QOpcUaDeleteReferenceItem (const QOpcUaDeleteReferenceItem & other )

Constructs a delete reference item from other .

QOpcUaDeleteReferenceItem &QOpcUaDeleteReferenceItem:: operator= (const QOpcUaDeleteReferenceItem & rhs )

设置值从 rhs in this delete reference item.

bool QOpcUaDeleteReferenceItem:: deleteBidirectional () const

Returns the deleteBidirectional Flag.

另请参阅 setDeleteBidirectional ().

bool QOpcUaDeleteReferenceItem:: isForwardReference () const

Returns the isForwardReference flag.

另请参阅 setIsForwardReference ().

QString QOpcUaDeleteReferenceItem:: referenceTypeId () const

Returns the reference type id.

另请参阅 setReferenceTypeId ().

void QOpcUaDeleteReferenceItem:: setDeleteBidirectional ( bool deleteBidirectional )

设置 deleteBidirectional flag to deleteBidirectional . If this flag is false, only this reference will be deleted. Else, the opposite reference from the target node is deleted too if accessible by the server.

另请参阅 deleteBidirectional ().

void QOpcUaDeleteReferenceItem:: setIsForwardReference ( bool isForwardReference )

设置 isForwardReference flag to isForwardReference .

另请参阅 isForwardReference ().

void QOpcUaDeleteReferenceItem:: setReferenceTypeId (const QString & referenceTypeId )

Sets the reference type id to referenceTypeId .

另请参阅 referenceTypeId ().

void QOpcUaDeleteReferenceItem:: setSourceNodeId (const QString & sourceNodeId )

Sets the node id of the source node to sourceNodeId .

另请参阅 sourceNodeId ().

void QOpcUaDeleteReferenceItem:: setTargetNodeId (const QOpcUaExpandedNodeId & targetNodeId )

Sets the node id of the target node to targetNodeId .

另请参阅 targetNodeId ().

QString QOpcUaDeleteReferenceItem:: sourceNodeId () const

Returns the source node id.

另请参阅 setSourceNodeId ().

QOpcUaExpandedNodeId QOpcUaDeleteReferenceItem:: targetNodeId () const

Returns the target node id.

另请参阅 setTargetNodeId ().