The OPC UA ExpandedNodeId. More...
| Header: | #include <QOpcUaExpandedNodeId> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| QOpcUaExpandedNodeId() | |
| QOpcUaExpandedNodeId(const QString &nodeId) | |
| QOpcUaExpandedNodeId(const QString &namespaceUri, const QString &nodeId, quint32 serverIndex = 0) | |
| QOpcUaExpandedNodeId(const QOpcUaExpandedNodeId &rhs) | |
| QString | namespaceUri() const |
| QString | nodeId() const |
| quint32 | serverIndex() const |
| void | setNamespaceUri(const QString &namespaceUri) |
| void | setNodeId(const QString &nodeId) |
| void | setServerIndex(quint32 serverIndex) |
| QVariant | operator QVariant() const |
| QOpcUaExpandedNodeId & | operator=(const QOpcUaExpandedNodeId &rhs) |
| bool | operator==(const QOpcUaExpandedNodeId &rhs) const |
An expanded node id is a node id where the namespace index can be given as index or as a string URI. A list of namespaces and their indices on the server is provided by QOpcUaClient::namespaceArray().
Default constructs an expanded node id with no parameters set.
Constructs an expanded node id from node id string nodeId.
Constructs an expanded node id from namespace URI namespaceUri, node id string nodeId and server index serverIndex.
See also setServerIndex.
Constructs an expanded node id from rhs.
Returns the namespace URI of the node id. If this value is specified, the namespace index in nodeId is 0 and must be ignored.
See also setNamespaceUri().
Returns the node id. If namespaceUri is specified, the namespace index is invalid.
See also setNodeId().
Returns the index of the server containing the node. This index maps to an entry in the server's server table. The index of the local server is always 0. All remote servers have indexes greater
than 0.
See also setServerIndex().
Sets the namespace URI to namespaceUri.
See also namespaceUri().
Sets the node id to nodeId.
See also nodeId().
Sets the server index to serverIndex. The index of the local server is always 0. All remote servers have indexes greater than 0.
See also serverIndex().
Converts this expanded node id to QVariant.
Sets the values from rhs in this expanded node id.
Returns true if this expanded node id has the same value as rhs.