Debian Codegraph @

Source/Test/Analyse/CAnalyseDataDescription.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_TEST_ANALYSE_CANALYSEDATADESCRIPTION_H
22 #define KONCLUDE_TEST_ANALYSE_CANALYSEDATADESCRIPTION_H
23
24 // Libraries includes
25 #include <QString>
26 #include <QVector>
27
28 // Namespace includes
29 #include "AnalyseSettings.h"
30 #include "CAnalyseDescription.h"
31 #include "CAnalyseValueDescription.h"
32 #include "CAnalyseUpdateDescription.h"
33 #include "CAnalyseData.h"
34
35 // Other includes
36
37
38 // Logger includes
39 #include "Logger/CLogger.h"
40
41
42 namespace Konclude {
43
44 using namespace Logger;
45
46 namespace Test {
47
48 namespace Analyse {
49
50
51 /*!
52 *
53 * \class CAnalyseDataDescription
54 * \author Andreas Steigmiller
55 * \version 0.1
56 * \brief TODO
57 *
58 */
59 class CAnalyseDataDescription : public CAnalyseDescription {
60 // public methods
61 public:
62 //! Constructor
63 CAnalyseDataDescription();
64
65 //! Destructor
66 virtual ~CAnalyseDataDescription();
67
68 virtual QString getDataName();
69 virtual CAnalyseDataDescription *setDataName(const QString &name);
70
71 virtual CAnalyseValueDescription *getValueDescription(qint64 index);
72 virtual CAnalyseValueDescription *getValueDescription(const QString &valueName);
73 virtual CAnalyseUpdateDescription *installValueDescription(CAnalyseValueDescription *valueDescription, CAnalyseValueUpdateReader *updateReader = 0);
74
75 virtual CAnalyseUpdateDescription *getUpdateDescription(qint64 index);
76
77 virtual CAnalyseData *createData();
78 virtual qint64 getAnalyseValueCount();
79
80 // protected methods
81 protected:
82
83 // protected variables
84 protected:
85 QString dataName;
86 QVector<CAnalyseUpdateDescription *> valueUpdateDesVec;
87 QHash<QString,qint64> desNameIndexHash;
88
89 // private methods
90 private:
91
92 // private variables
93 private:
94
95 };
96
97 }; // end namespace Analyse
98
99 }; // end namespace Test
100
101 }; // end namespace Konclude
102
103 #endif // KONCLUDE_TEST_ANALYSE_CANALYSEDATADESCRIPTION_H