Debian Codegraph @

Source/Reasoner/Revision/Persistence/COntologyRevisionDirectoryOWLRDFFilePersistencer.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 #ifdef KONCLUDE_REDLAND_INTEGRATION
21
22 #ifndef KONCLUDE_REASONER_REVISION_PERSISTENCE_CONTOLOGYREVISIONDIRECTORYOWLRDFFILEPERSISTENCER_H
23 #define KONCLUDE_REASONER_REVISION_PERSISTENCE_CONTOLOGYREVISIONDIRECTORYOWLRDFFILEPERSISTENCER_H
24
25 // Libraries includes
26 #include <QDir>
27 #include <QTemporaryFile>
28 #include <QFile>
29 #include <QDomDocument>
30
31 // Namespace includes
32 #include "PersistenceSettings.h"
33 #include "COntologyRevisionDirectoryFilePersistencerBase.h"
34
35
36 // Other includes
37 #include "Config/CConfigDataReader.h"
38
39 #include "Reasoner/Revision/COntologyRevision.h"
40
41 #include "Reasoner/Generator/CConcreteOntologyUpdateCollectorBuilder.h"
42
43 #include "Parser/CRDFRedlandRaptorParser.h"
44
45 #include "Renderer/COntologyAxiomExpressionsRenderVisitor.h"
46 #include "Renderer/COntologyRedlandRDFRenderer.h"
47
48 // Logger includes
49 #include "Logger/CLogger.h"
50 #include "Logger/CLogDomain.h"
51
52
53 namespace Konclude {
54
55 using namespace Logger;
56 using namespace Renderer;
57 using namespace Config;
58 using namespace Parser;
59
60 namespace Reasoner {
61
62 using namespace Generator;
63
64 namespace Revision {
65
66 namespace Persistence {
67
68 /*!
69 *
70 * \class COntologyRevisionDirectoryOWLRDFFilePersistencer
71 * \author Andreas Steigmiller
72 * \version 0.1
73 * \brief TODO
74 *
75 */
76 class COntologyRevisionDirectoryOWLRDFFilePersistencer : public COntologyRevisionDirectoryFilePersistencerBase {
77 // public methods
78 public:
79 //! Constructor
80 COntologyRevisionDirectoryOWLRDFFilePersistencer(CConfiguration* config);
81
82 //! Destructor
83 virtual ~COntologyRevisionDirectoryOWLRDFFilePersistencer();
84
85
86 // protected methods
87 protected:
88
89
90 virtual bool writeOntologyToFile(QFile* file, COntologyRevision* ontoRev);
91
92 // protected variables
93 protected:
94 QString mSerializingFormat;
95
96 // private methods
97 private:
98
99 // private variables
100 private:
101
102 };
103
104 }; // end namespace Persistence
105
106 }; // end namespace Revision
107
108 }; // end namespace Reasoner
109
110 }; // end namespace Konclude
111
112 #endif // KONCLUDE_REASONER_REVISION_PERSISTENCE_CONTOLOGYREVISIONDIRECTORYOWLRDFFILEPERSISTENCER_H
113
114 #endif // !KONCLUDE_REDLAND_INTEGRATION