| 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 QOPCUAEVENTFILTERRESULT_H | 
| 5 | #define QOPCUAEVENTFILTERRESULT_H | 
| 6 | |
| 7 | #include <QtOpcUa/qopcuatype.h> | 
| 8 | |
| 9 | #include <QtCore/qshareddata.h> | 
| 10 | |
| 11 | QT_BEGIN_NAMESPACE | 
| 12 | |
| 13 | class QOpcUaContentFilterElementResult; | 
| 14 | |
| 15 | class QOpcUaEventFilterResultData; | 
| 16 | class Q_OPCUA_EXPORT QOpcUaEventFilterResult | 
| 17 | { | 
| 18 | public: | 
| 19 | QOpcUaEventFilterResult(); | 
| 20 | QOpcUaEventFilterResult(const QOpcUaEventFilterResult &); | 
| 21 | QOpcUaEventFilterResult &operator=(const QOpcUaEventFilterResult &); | 
| 22 | ~QOpcUaEventFilterResult(); | 
| 23 | |
| 24 | bool isGood() const; | 
| 25 | |
| 26 | QList<QOpcUa::UaStatusCode> selectClauseResults() const; | 
| 27 | QList<QOpcUa::UaStatusCode> &selectClauseResultsRef(); | 
| 28 | void setSelectClauseResults(const QList<QOpcUa::UaStatusCode> &selectClausesResult); | 
| 29 | |
| 30 | QList<QOpcUaContentFilterElementResult> whereClauseResults() const; | 
| 31 | QList<QOpcUaContentFilterElementResult> &whereClauseResultsRef(); | 
| 32 | void setWhereClauseResults(const QList<QOpcUaContentFilterElementResult> &whereClauseResult); | 
| 33 | |
| 34 | private: | 
| 35 | QSharedDataPointer<QOpcUaEventFilterResultData> data; | 
| 36 | }; | 
| 37 | |
| 38 | QT_END_NAMESPACE | 
| 39 | |
| 40 | Q_DECLARE_METATYPE(QOpcUaEventFilterResult) | 
| 41 | |
| 42 | #endif // QOPCUAEVENTFILTERRESULT_H | 
| 43 | 
