Debian Codegraph @

Source/Control/Command/Instructions/CPreprocessKnowledgeBaseRequirementsForQueryCommand.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_CPREPROCESSKNOWLEDGEBASEREQUIREMENTSFORQUERYCOMMAND_H
22 #define KONCLUDE_CONTROL_COMMAND_CPREPROCESSKNOWLEDGEBASEREQUIREMENTSFORQUERYCOMMAND_H
23
24 // Libraries includes
25 #include <QString>
26
27
28 // Namespace includes
29 #include "CKnowledgeBaseRevisionCommandProvider.h"
30 #include "CPrepareKnowledgeBaseCommand.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 CPreprocessKnowledgeBaseRequirementsForQueryCommand : public CPrepareKnowledgeBaseCommand {
69 // public methods
70 public:
71 //! Constructor
72 CPreprocessKnowledgeBaseRequirementsForQueryCommand(CKnowledgeBaseRevisionCommandProvider *ontologyRevisionProviderCommand, CCommand *parentSuperCommand = 0);
73 CPreprocessKnowledgeBaseRequirementsForQueryCommand(CConcreteOntology *ontology, CCommand *parentSuperCommand = 0);
74
75 //! Destructor
76 virtual ~CPreprocessKnowledgeBaseRequirementsForQueryCommand();
77
78 virtual qint64 getCommandTag();
79
80 virtual QString getBriefCommandDescription();
81
82
83 // protected methods
84 protected:
85 void initOntologyRequirements();
86
87 // protected variables
88 protected:
89
90 // private methods
91 private:
92
93 // private variables
94 private:
95
96 };
97
98 }; // end namespace Instructions
99
100 }; // end namespace Command
101
102 }; // end namespace Control
103
104 }; // end namespace Konclude
105
106 #endif // KONCLUDE_CONTROL_COMMAND_CPREPROCESSKNOWLEDGEBASEREQUIREMENTSFORQUERYCOMMAND_H