Debian Codegraph @

Source/Control/Interface/CommandLine/CCommandLinePreparationTranslatorSelector.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_INTERFACE_COMMANDLINE_CCOMMANDLINEPREPARATIONTRANSLATORSELECTOR_H
22 #define KONCLUDE_CONTROL_INTERFACE_COMMANDLINE_CCOMMANDLINEPREPARATIONTRANSLATORSELECTOR_H
23
24 // Libraries includes
25 #include <QString>
26 #include <QDomDocument>
27 #include <QHash>
28
29 // Namespace includes
30 #include "CCommandLinePreparationTranslator.h"
31 #include "COWLLinkServerComandLinePreparationTranslator.h"
32 #include "COWLLinkFileComandLinePreparationTranslator.h"
33 #include "CCLIClassClassificationComandLinePreparationTranslator.h"
34 #include "CCLIConsistencyComandLinePreparationTranslator.h"
35 #include "CCLISatisfiabilityComandLinePreparationTranslator.h"
36 #include "CCLIRealizationComandLinePreparationTranslator.h"
37 #include "CCLIObjectPropertyClassificationComandLinePreparationTranslator.h"
38 #include "CCLIDataPropertyClassificationComandLinePreparationTranslator.h"
39 #include "CSPARQLFileComandLinePreparationTranslator.h"
40 #include "CSPARQLServerComandLinePreparationTranslator.h"
41 #include "CHelpComandLinePreparationTranslator.h"
42
43 // Other includes
44 #include "Control/Loader/CLoaderFactory.h"
45
46 // Logger includes
47 #include "Logger/CLogger.h"
48 #include "Logger/CLogIdentifier.h"
49
50 using namespace Konclude::Logger;
51
52
53 namespace Konclude {
54
55 namespace Control {
56
57 using namespace Loader;
58
59 namespace Interface {
60
61 namespace CommandLine {
62
63 /*!
64 *
65 * \class CCommandLinePreparationTranslatorSelector
66 * \author Andreas Steigmiller
67 * \version 0.1
68 * \brief TODO
69 *
70 */
71 class CCommandLinePreparationTranslatorSelector : public CLogIdentifier {
72 // public methods
73 public:
74 //! Constructor
75 CCommandLinePreparationTranslatorSelector(CLoaderFactory *loaderFactory);
76
77 //! Destructor
78 virtual ~CCommandLinePreparationTranslatorSelector();
79
80
81 virtual QStringList translateArguments(const QStringList& argList);
82
83 virtual CCommandLinePreparationTranslator* getCommandLinePreparationTranslator(const QString& commandString);
84
85
86 // protected methods
87 protected:
88
89 // protected variables
90 protected:
91 CLoaderFactory* mLoaderFactory;
92 QList<CCommandLinePreparationTranslator*> mTranslatorList;
93
94 // private methods
95 private:
96
97 // private variables
98 private:
99
100 };
101
102 }; // end namespace CommandLine
103
104 }; // end namespace Interface
105
106 }; // end namespace Control
107
108 }; // end namespace Konclude
109
110 #endif // KONCLUDE_CONTROL_INTERFACE_COMMANDLINE_CCOMMANDLINEPREPARATIONTRANSLATORSELECTOR_H