summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2019-04-01 11:01:20 +0200
committerRainer Keller <Rainer.Keller@qt.io>2019-04-01 10:22:27 +0000
commit63ffb75787a1b32d6bdf79cdd61cb8b67dc85dbc (patch)
tree8340dcd3badbc8e9e0d2546681ecd059ed379da2
parenta95a2ef7ae00d578311d677bbcf27f5773708a89 (diff)
doc: Add hint for new users
Change-Id: I0a0eed7aec6cb5488500d7c5bffb1b60ed22a15b Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
-rw-r--r--src/opcua/client/qopcuaexpandednodeid.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opcua/client/qopcuaexpandednodeid.cpp b/src/opcua/client/qopcuaexpandednodeid.cpp
index 757d4bd..1e340f1 100644
--- a/src/opcua/client/qopcuaexpandednodeid.cpp
+++ b/src/opcua/client/qopcuaexpandednodeid.cpp
@@ -81,6 +81,8 @@ QOpcUaExpandedNodeId::QOpcUaExpandedNodeId(const QString &nodeId)
/*!
Constructs an expanded node id from namespace URI \a namespaceUri, node id string \a nodeId
and server index \a serverIndex.
+
+ \sa setServerIndex
*/
QOpcUaExpandedNodeId::QOpcUaExpandedNodeId(const QString &namespaceUri, const QString &nodeId, quint32 serverIndex)
: data(new QOpcUaExpandedNodeIdData)
@@ -124,6 +126,7 @@ QOpcUaExpandedNodeId::~QOpcUaExpandedNodeId()
/*!
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 \c 0. All remote servers have indexes greater than \c 0.
*/
quint32 QOpcUaExpandedNodeId::serverIndex() const
{
@@ -132,6 +135,7 @@ quint32 QOpcUaExpandedNodeId::serverIndex() const
/*!
Sets the server index to \a serverIndex.
+ The index of the local server is always \c 0. All remote servers have indexes greater than \c 0.
*/
void QOpcUaExpandedNodeId::setServerIndex(quint32 serverIndex)
{