This class stores the necessary information to delete a reference from the server. 更多...
头: | #include <QOpcUaDeleteReferenceItem> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
QOpcUaDeleteReferenceItem () | |
QOpcUaDeleteReferenceItem (const QOpcUaDeleteReferenceItem & other ) | |
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 |
QOpcUaDeleteReferenceItem & | operator= (const QOpcUaDeleteReferenceItem & rhs ) |
另请参阅 QOpcUaClient::deleteReference ().
Default constructs a delete reference item with no parameters set.
Constructs a delete reference item from other .
Returns the deleteBidirectional Flag.
另请参阅 setDeleteBidirectional ().
Returns the isForwardReference flag.
另请参阅 setIsForwardReference ().
Returns the reference type id.
另请参阅 setReferenceTypeId ().
设置 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 ().
设置 isForwardReference flag to isForwardReference .
另请参阅 isForwardReference ().
Sets the reference type id to referenceTypeId .
另请参阅 referenceTypeId ().
Sets the node id of the source node to sourceNodeId .
另请参阅 sourceNodeId ().
Sets the node id of the target node to targetNodeId .
另请参阅 targetNodeId ().
Returns the source node id.
另请参阅 setSourceNodeId ().
Returns the target node id.
另请参阅 setTargetNodeId ().
设置值从 rhs in this delete reference item.