| 1 | // Copyright (C) 2018 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 QOPCUADELETEREFERENCEITEM_H | 
| 5 | #define QOPCUADELETEREFERENCEITEM_H | 
| 6 | |
| 7 | #include <QtOpcUa/qopcuanodecreationattributes.h> | 
| 8 | |
| 9 | #include <QtCore/qshareddata.h> | 
| 10 | |
| 11 | QT_BEGIN_NAMESPACE | 
| 12 | |
| 13 | class QOpcUaExpandedNodeId; | 
| 14 | |
| 15 | class QOpcUaDeleteReferenceItemData; | 
| 16 | class Q_OPCUA_EXPORT QOpcUaDeleteReferenceItem | 
| 17 | { | 
| 18 | public: | 
| 19 | QOpcUaDeleteReferenceItem(); | 
| 20 | QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other); | 
| 21 | QOpcUaDeleteReferenceItem &operator=(const QOpcUaDeleteReferenceItem &rhs); | 
| 22 | ~QOpcUaDeleteReferenceItem(); | 
| 23 | |
| 24 | QString sourceNodeId() const; | 
| 25 | void setSourceNodeId(const QString &sourceNodeId); | 
| 26 | |
| 27 | QString referenceTypeId() const; | 
| 28 | void setReferenceTypeId(const QString &referenceTypeId); | 
| 29 | |
| 30 | bool isForwardReference() const; | 
| 31 | void setIsForwardReference(bool isForwardReference); | 
| 32 | |
| 33 | QOpcUaExpandedNodeId targetNodeId() const; | 
| 34 | void setTargetNodeId(const QOpcUaExpandedNodeId &targetNodeId); | 
| 35 | |
| 36 | bool deleteBidirectional() const; | 
| 37 | void setDeleteBidirectional(bool deleteBidirectional); | 
| 38 | |
| 39 | private: | 
| 40 | QSharedDataPointer<QOpcUaDeleteReferenceItemData> data; | 
| 41 | }; | 
| 42 | |
| 43 | QT_END_NAMESPACE | 
| 44 | |
| 45 | Q_DECLARE_METATYPE(QOpcUaDeleteReferenceItem) | 
| 46 | |
| 47 | #endif // QOPCUADELETEREFERENCEITEM_H | 
| 48 | 
