QOpcUaBrowsePathTarget Class

The OPC UA BrowsePathTarget. More...

Header: #include <QOpcUaBrowsePathTarget>
qmake: QT += opcua

Public Functions

QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)
QOpcUaBrowsePathTarget &operator=(const QOpcUaBrowsePathTarget &rhs)
bool isFullyResolved() const
quint32 remainingPathIndex() const
void setRemainingPathIndex(quint32 remainingPathIndex)
void setTargetId(const QOpcUaExpandedNodeId &targetId)
QOpcUaExpandedNodeId targetId() const
QOpcUaExpandedNodeId &targetIdRef()
bool operator==(const QOpcUaBrowsePathTarget &rhs) const

Detailed Description

A BrowsePathTarget contains a target of a browse path and information about the completeness of the node id resolution.

Member Function Documentation

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

Constructs a browse path target from rhs.

QOpcUaBrowsePathTarget &QOpcUaBrowsePathTarget::operator=(const QOpcUaBrowsePathTarget &rhs)

Sets the values of rhs in this browse path target.

bool QOpcUaBrowsePathTarget::isFullyResolved() const

Returns true if the browse path has been fully resolved.

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

Returns the index of the first unprocessed element in the browse path. If the path was followed to the end, remainingPathIndex has the maximum value of quint32.

See also setRemainingPathIndex() and QOpcUaBrowsePathTarget::targetId().

void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)

Sets the remaining path index to remainingPathIndex.

See also remainingPathIndex().

void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)

Sets the node id of the target node to targetId.

See also targetId().

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const

Returns the target of the last reference the server was able to follow. If the reference leads to an external server, targetId is the id of the first node on that server.

See also setTargetId() and QOpcUaBrowsePathTarget::remainingPathIndex.

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

Returns a reference to the target id.

bool QOpcUaBrowsePathTarget::operator==(const QOpcUaBrowsePathTarget &rhs) const

Returns true if this browse path target has the same value as rhs.

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.