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 ().