Debian Codegraph @

Source/Reasoner/Realization/CRealizationIndividualSorting.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_REASONER_REALIZATION_CREALIZATIONINDIVIDUALSORTING_H
22 #define KONCLUDE_REASONER_REALIZATION_CREALIZATIONINDIVIDUALSORTING_H
23
24 // Libraries includes
25
26 // Namespace includes
27 #include "RealizationSettings.h"
28
29 // Other includes
30
31 // Logger includes
32 #include "Logger/CLogger.h"
33
34
35
36 namespace Konclude {
37
38 namespace Reasoner {
39
40 namespace Realization {
41
42 /*!
43 *
44 * \class CRealizationIndividualSorting
45 * \author Andreas Steigmiller
46 * \version 0.1
47 * \brief TODO
48 *
49 */
50 class CRealizationIndividualSorting {
51 // public methods
52 public:
53 enum SORTING_TYPE {
54 SORT_TYPE_NOTHING,
55 SORT_TYPE_INDIVIDUAL_ID,
56 };
57
58 enum SORTING_GROUPING {
59 SORT_GROUP_NOTHING,
60 SORT_GROUP_SAME_UNIQUE,
61 };
62
63 enum SORTING_ORDER {
64 SORT_ORDER_NOTHING,
65 SORT_ORDER_ASCENDING,
66 SORT_ORDER_DESCENDING,
67 };
68
69 //! Constructor
70 CRealizationIndividualSorting(SORTING_TYPE type = SORT_TYPE_NOTHING, SORTING_ORDER order = SORT_ORDER_NOTHING, SORTING_GROUPING grouping = SORT_GROUP_NOTHING);
71
72
73 SORTING_TYPE getType() const;
74 SORTING_ORDER getOrder() const;
75 SORTING_GROUPING getGrouping() const;
76
77
78 bool isNothing() const;
79
80 // protected methods
81 protected:
82
83 // protected variables
84 protected:
85 SORTING_TYPE mType;
86 SORTING_ORDER mOrder;
87 SORTING_GROUPING mGrouping;
88
89 // private methods
90 private:
91
92 // private variables
93 private:
94
95 };
96
97
98
99
100 }; // end namespace Realization
101
102 }; // end namespace Reasoner
103
104 }; // end namespace Konclude
105
106 #endif // KONCLUDE_REASONER_REALIZATION_CREALIZATIONINDIVIDUALSORTING_H