1// Copyright (C) 2015 basysKom GmbH, opensource@basyskom.com
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QOPCUABROWSEPATHTARGET_H
5#define QOPCUABROWSEPATHTARGET_H
6
7#include <QtOpcUa/qopcuaglobal.h>
8#include <QtOpcUa/qopcuaexpandednodeid.h>
9
10#include <QtCore/qshareddata.h>
11
12QT_BEGIN_NAMESPACE
13
14class QOpcUaBrowsePathTargetData;
15class Q_OPCUA_EXPORT QOpcUaBrowsePathTarget
16{
17public:
18 QOpcUaBrowsePathTarget();
19 QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &);
20 QOpcUaBrowsePathTarget &operator=(const QOpcUaBrowsePathTarget &);
21 bool operator==(const QOpcUaBrowsePathTarget &rhs) const;
22 ~QOpcUaBrowsePathTarget();
23
24 QOpcUaExpandedNodeId targetId() const;
25 QOpcUaExpandedNodeId &targetIdRef();
26 void setTargetId(const QOpcUaExpandedNodeId &targetId);
27
28 quint32 remainingPathIndex() const;
29 void setRemainingPathIndex(quint32 remainingPathIndex);
30
31 bool isFullyResolved() const;
32
33private:
34 QSharedDataPointer<QOpcUaBrowsePathTargetData> data;
35};
36
37QT_END_NAMESPACE
38
39Q_DECLARE_METATYPE(QOpcUaBrowsePathTarget)
40
41#endif // QOPCUABROWSEPATHTARGET_H
42

source code of qtopcua/src/opcua/client/qopcuabrowsepathtarget.h