This class stores the necessary information to add a new reference on the server. More...
Header: | #include <QOpcUaAddReferenceItem> |
qmake: | QT += opcua |
QOpcUaAddReferenceItem(const QOpcUaAddReferenceItem &other) | |
QOpcUaAddReferenceItem & | operator=(const QOpcUaAddReferenceItem &rhs) |
bool | isForwardReference() const |
QString | referenceTypeId() const |
void | setIsForwardReference(bool isForwardReference) |
void | setReferenceTypeId(const QString &referenceTypeId) |
void | setSourceNodeId(const QString &sourceNodeId) |
void | setTargetNodeClass(QOpcUa::NodeClass targetNodeClass) |
void | setTargetNodeId(const QOpcUaExpandedNodeId &targetNodeId) |
void | setTargetServerUri(const QString &targetServerUri) |
QString | sourceNodeId() const |
QOpcUa::NodeClass | targetNodeClass() const |
QOpcUaExpandedNodeId | targetNodeId() const |
QString | targetServerUri() const |
See also QOpcUaClient::addReference().
Constructs an add reference item from other.
Sets the values from rhs in this add reference item.
Returns the isForwardReference flag.
See also setIsForwardReference().
Returns the reference type id.
See also setReferenceTypeId().
Sets the isForwardReference flag to isForwardReference. If the flag is set, a forward reference is created. Otherwise, an inverse reference is created.
See also isForwardReference().
Sets the reference type id to referenceTypeId. A reference of this type will be created on the server.
See also referenceTypeId().
Sets the node id of the source node to sourceNodeId.
See also sourceNodeId().
Sets the node class of the target node to targetNodeClass. The target node class shall be specified because the target node might be located on another server.
See also targetNodeClass().
Sets the node id of the target node to targetNodeId.
See also targetNodeId().
Sets the URI of the target server to targetServerUri. If this value is set, it will override the server URI from setTargetNodeId().
See also targetServerUri().
Returns the source node id.
See also setSourceNodeId().
Returns the target node class.
See also setTargetNodeClass().
Returns the target node id.
See also setTargetNodeId().
Returns the target server URI.
See also setTargetServerUri().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuaaddreferenceitem.html