Debian Codegraph @

Source/Control/Interface/CommandLine/CSPARQLServerComandLinePreparationTranslator.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_CSPARQLSERVERCOMANDLINEPREPARATIONTRANSLATOR_H
22 #define KONCLUDE_CONTROL_INTERFACE_COMMANDLINE_CSPARQLSERVERCOMANDLINEPREPARATIONTRANSLATOR_H
23
24 // Libraries includes
25 #include <QString>
26 #include <QDomDocument>
27 #include <QHash>
28
29 // Namespace includes
30 #include "CCommandLinePreparationTranslator.h"
31
32 // Other includes
33 #include "Control/Loader/CLoaderFactory.h"
34
35 // Logger includes
36 #include "Logger/CLogger.h"
37
38 using namespace Konclude::Logger;
39
40
41 namespace Konclude {
42
43 namespace Control {
44
45 using namespace Loader;
46
47 namespace Interface {
48
49 namespace CommandLine {
50
51 /*!
52 *
53 * \class CSPARQLServerComandLinePreparationTranslator
54 * \author Andreas Steigmiller
55 * \version 0.1
56 * \brief TODO
57 *
58 */
59 class CSPARQLServerComandLinePreparationTranslator : public CCommandLinePreparationTranslator {
60 // public methods
61 public:
62 //! Constructor
63 CSPARQLServerComandLinePreparationTranslator(CLoaderFactory *loaderFactory);
64
65 //! Destructor
66 virtual ~CSPARQLServerComandLinePreparationTranslator();
67
68
69 virtual QStringList combineTranslatedArguments();
70
71 virtual bool canTranslate(const QString& string);
72
73 // protected methods
74 protected:
75 virtual bool translate(const QString& argumentText, QStringList& remainingArgList);
76
77 // protected variables
78 protected:
79 bool mMinNecessaryArguments;
80 bool mFirstArgumentTranslation;
81 QStringList mParameterizingConfList;
82
83 // private methods
84 private:
85
86 // private variables
87 private:
88
89 };
90
91 }; // end namespace CommandLine
92
93 }; // end namespace Interface
94
95 }; // end namespace Control
96
97 }; // end namespace Konclude
98
99 #endif // KONCLUDE_CONTROL_INTERFACE_COMMANDLINE_CSPARQLSERVERCOMANDLINEPREPARATIONTRANSLATOR_H