Debian Codegraph @

Source/Control/Command/Instructions/CPrepareKnowledgeBaseForQueryCommand.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_CONTROL_COMMAND_CPREPAREKNOWLEDGEBASEFORQUERYCOMMAND_H
22 #define KONCLUDE_CONTROL_COMMAND_CPREPAREKNOWLEDGEBASEFORQUERYCOMMAND_H
23
24 // Libraries includes
25 #include <QString>
26
27
28 // Namespace includes
29 #include "CKnowledgeBaseRevisionCommandProvider.h"
30 #include "CQueryGeneratorCommandProvider.h"
31
32 // Other includes
33 #include "Control/Command/CommandSettings.h"
34 #include "Control/Command/CCommand.h"
35 #include "Control/Command/CPreconditionCommand.h"
36 #include "Control/Command/CCommandProcessedPrecondition.h"
37
38 #include "Reasoner/Ontology/COntologyProcessingRequirement.h"
39 #include "Reasoner/Ontology/COntologyProcessingStepVector.h"
40 #include "Reasoner/Ontology/COntologyProcessingRequirementExpander.h"
41 #include "Reasoner/Ontology/CConcreteOntology.h"
42
43
44 // Logger includes
45 #include "Logger/CLogger.h"
46
47 using namespace Konclude::Logger;
48
49
50 namespace Konclude {
51
52 using namespace Reasoner::Ontology;
53
54 namespace Control {
55
56 namespace Command {
57
58 namespace Instructions {
59
60 /*!
61 *
62 * \class CPrepareKnowledgeBaseForQueryCommand
63 * \author Andreas Steigmiller
64 * \version 0.1
65 * \brief TODO
66 *
67 */
68 class CPrepareKnowledgeBaseForQueryCommand : public CPreconditionCommand {
69 // public methods
70 public:
71 //! Constructor
72 CPrepareKnowledgeBaseForQueryCommand(CKnowledgeBaseRevisionCommandProvider *ontologyRevisionProviderCommand, CQueryGeneratorCommandProvider* queryCommandProvider, CCommand *parentSuperCommand = 0);
73
74 //! Destructor
75 virtual ~CPrepareKnowledgeBaseForQueryCommand();
76
77 virtual qint64 getCommandTag();
78
79 virtual QString getBriefCommandDescription();
80
81 virtual COntologyRevision* getOntologyRevision();
82 virtual CConcreteOntology* getOntology();
83 virtual CQueryBuilderGenerator* getQueryGenerator();
84
85 virtual CKnowledgeBaseRevisionCommandProvider* getOntologyRevisionProvider();
86
87
88 // protected methods
89 protected:
90
91
92 // protected variables
93 protected:
94 CKnowledgeBaseRevisionCommandProvider* mRevProvider;
95 CQueryGeneratorCommandProvider* mQueryGenProvider;
96 CConcreteOntology* mOntology;
97
98 // private methods
99 private:
100
101 // private variables
102 private:
103
104 };
105
106 }; // end namespace Instructions
107
108 }; // end namespace Command
109
110 }; // end namespace Control
111
112 }; // end namespace Konclude
113
114 #endif // KONCLUDE_CONTROL_COMMAND_CPREPAREKNOWLEDGEBASEFORQUERYCOMMAND_H