Debian Codegraph @

Source/Control/Command/Instructions/CChooseParseInstallKnowledgeBaseOWLXMLOntologyCommand.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_CCHOOSEPARSEINSTALLKNOWLEDGEBASEOWLXMLONTOLOGYCOMMAND_H
22 #define KONCLUDE_CONTROL_COMMAND_CCHOOSEPARSEINSTALLKNOWLEDGEBASEOWLXMLONTOLOGYCOMMAND_H
23
24 // Libraries includes
25 #include <QString>
26 #include <QDomElement>
27 #include <QMap>
28
29 // Namespace includes
30 #include "CLoadKnowledgeBaseCommand.h"
31 #include "CKnowledgeBaseRevisionCommandProvider.h"
32
33 // Other includes
34
35 #include "Control/Command/CommandSettings.h"
36 #include "Control/Command/CCommand.h"
37 #include "Control/Command/CPreconditionCommand.h"
38 #include "Control/Command/CCommandProcessedPrecondition.h"
39
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44 using namespace Konclude::Logger;
45
46
47 namespace Konclude {
48
49 namespace Control {
50
51 namespace Command {
52
53 namespace Instructions {
54
55 /*!
56 *
57 * \class CChooseParseInstallKnowledgeBaseOWLXMLOntologyCommand
58 * \author Andreas Steigmiller
59 * \version 0.1
60 * \brief TODO
61 *
62 */
63 class CChooseParseInstallKnowledgeBaseOWLXMLOntologyCommand : public CLoadKnowledgeBaseCommand, public CKnowledgeBaseRevisionCommandProvider {
64 // public methods
65 public:
66 //! Constructor
67 CChooseParseInstallKnowledgeBaseOWLXMLOntologyCommand(const QString &knowledgeBaseNameString, const QStringList& loadIRIs, CKnowledgeBaseRevisionCommandProvider *ontologyRevisionProviderCommand, CCommand *parentSuperCommand = 0);
68
69 //! Destructor
70 virtual ~CChooseParseInstallKnowledgeBaseOWLXMLOntologyCommand();
71
72 virtual qint64 getCommandTag();
73 virtual QString getBriefCommandDescription();
74
75 virtual COntologyRevision* getOntologyRevision();
76
77 virtual QStringList getLoadIRIStrings();
78
79 virtual bool getLoadImports();
80 virtual QMap<QString,QString> getOntologieIRIMappings();
81
82 virtual CCommand* getCommand();
83
84 // protected methods
85 protected:
86
87 // protected variables
88 protected:
89 QStringList mLoadIRIs;
90 bool mLoadImports;
91 QMap<QString,QString> mOntoIRIMapping;
92
93 CKnowledgeBaseRevisionCommandProvider* mOntologyRevisionProviderCommand;
94
95 // private methods
96 private:
97
98 // private variables
99 private:
100
101 };
102
103 }; // end namespace Instructions
104
105 }; // end namespace Command
106
107 }; // end namespace Control
108
109 }; // end namespace Konclude
110
111 #endif // KONCLUDE_CONTROL_COMMAND_CCHOOSEPARSEINSTALLKNOWLEDGEBASEOWLXMLONTOLOGYCOMMAND_H