Debian Codegraph @

Source/Test/Evaluation/CReasonerEvaluationRequestResponseSPARQL.h

raw
1 /*
2 * Copyright (C) 2013-2015, 2019 by the Konclude Developer Team.
3 *
4 * This file is part of the reasoning system Konclude.
5 * For details and support, see <http://konclude.com/>.
6 *
7 * Konclude is free software: you can redistribute it and/or modify
8 * it under the terms of version 3 of the GNU Lesser General Public
9 * License (LGPLv3) as published by the Free Software Foundation.
10 *
11 * Konclude is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU (Lesser) General Public License for more details.
15 *
16 * You should have received a copy of the GNU (Lesser) General Public
17 * License along with Konclude. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 #ifndef KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONREQUESTRESPONSESPARQL_H
22 #define KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONREQUESTRESPONSESPARQL_H
23
24 // Libraries includes
25 #include <QDomElement>
26
27 // Namespace includes
28 #include "EvaluationSettings.h"
29 #include "CReasonerEvaluationRequestResponse.h"
30
31
32 // Other includes
33 #include "Config/CConfiguration.h"
34
35 #include "Utilities/Container/CLinker.h"
36
37 #include "Parser/CSPARQLKnowledgeBaseSplittingOperationData.h"
38
39 // Logger includes
40 #include "Logger/CLogger.h"
41
42
43
44 namespace Konclude {
45
46 using namespace Parser;
47 using namespace Config;
48 using namespace Utilities::Container;
49
50 namespace Test {
51
52 namespace Evaluation {
53
54
55 /*!
56 *
57 * \class CReasonerEvaluationRequestResponseSPARQL
58 * \author Andreas Steigmiller
59 * \version 0.1
60 * \brief TODO
61 *
62 */
63 class CReasonerEvaluationRequestResponseSPARQL : public CReasonerEvaluationRequestResponse {
64 // public methods
65 public:
66 //! Constructor
67 CReasonerEvaluationRequestResponseSPARQL(const CSPARQLKnowledgeBaseSplittingOperationData& operationData);
68
69 CReasonerEvaluationRequestResponseSPARQL* setOperationData(const CSPARQLKnowledgeBaseSplittingOperationData& operationData);
70 CSPARQLKnowledgeBaseSplittingOperationData* getRequestOperationData();
71
72 CReasonerEvaluationRequestResponseSPARQL* setRequestNode(const QString& reqNode);
73 CReasonerEvaluationRequestResponseSPARQL* setModifiedNode(const QString& reqNode);
74 CReasonerEvaluationRequestResponseSPARQL* addResponseNode(const QDomElement& resNode);
75
76 QString getRequestString();
77 QString getModifiedNode();
78 QList<QDomElement> getResponseNodes();
79
80 QString getOperationName();
81 QString getOperationMode();
82
83 CReasonerEvaluationRequestResponseSPARQL* setOperationName(const QString& operationName);
84 CReasonerEvaluationRequestResponseSPARQL* setOperationMode(const QString& operationMode);
85
86
87 // protected methods
88 protected:
89
90 // protected variables
91 protected:
92 CSPARQLKnowledgeBaseSplittingOperationData mOperationData;
93 QString mRequestNode;
94 QList<QDomElement> mResponseNodes;
95 QString mModifiedNode;
96
97 QString mOperationName;
98 QString mOperationMode;
99
100 // private methods
101 private:
102
103 // private variables
104 private:
105
106 };
107
108 }; // end namespace Evaluation
109
110 }; // end namespace Test
111
112 }; // end namespace Konclude
113
114 #endif // KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONREQUESTRESPONSESPARQL_H