Debian Codegraph @

Source/Reasoner/Kernel/Process/CDatatypeRealValueDataExclusion.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_KERNEL_PROCESS_CDATATYPEREALVALUEDATAEXCLUSION_H
22 #define KONCLUDE_REASONER_KERNEL_PROCESS_CDATATYPEREALVALUEDATAEXCLUSION_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "ProcessSettings.h"
29 #include "CDatatypeRealValueExclusionType.h"
30
31
32 // Other includes
33 #include "Reasoner/Kernel/Process/Dependency/CDependencyTrackPoint.h"
34
35
36 // Logger includes
37 #include "Logger/CLogger.h"
38
39
40 namespace Konclude {
41
42 namespace Reasoner {
43
44 namespace Kernel {
45
46 namespace Process {
47
48 using namespace Dependency;
49
50 /*!
51 *
52 * \class CDatatypeRealValueDataExclusion
53 * \author Andreas Steigmiller
54 * \version 0.1
55 * \brief TODO
56 *
57 */
58 class CDatatypeRealValueDataExclusion {
59 // public methods
60 public:
61 //! Constructor
62 CDatatypeRealValueDataExclusion();
63
64 CDatatypeRealValueDataExclusion* initDataExclusion(CDatatypeRealValueDataExclusion* value);
65
66 bool isExcluded();
67 CDependencyTrackPoint* getExcludedDependencyTrackPoint();
68 CDatatypeRealValueDataExclusion* setExcluded(bool excluded);
69 CDatatypeRealValueDataExclusion* setExcludedDependencyTrackPoint(CDependencyTrackPoint* depTrackPoint);
70
71
72 bool isSomethingExcluded();
73 bool isEverythingExcluded();
74
75 bool areIntegerValuesExcluded();
76 bool areDecimalValuesExcluded();
77 bool areRationalValuesExcluded();
78 bool areRealValuesExcluded();
79
80
81 bool areOnlyIntegerValuesAllowed();
82
83 bool isExcluded(CDatatypeRealValueExclusionType* type);
84 CDatatypeRealValueDataExclusion* setExclusion(CDatatypeRealValueExclusionType* type, CDependencyTrackPoint* depTrackPoint);
85 CDependencyTrackPoint* getExclusionDependencyTrackPoint(CDatatypeRealValueExclusionType* type);
86
87 CDependencyTrackPoint* getPositiveExclusionDependencyTrackPoint();
88 CDependencyTrackPoint* getNegativeExclusionDependencyTrackPoint();
89
90 // protected methods
91 protected:
92
93 // protected variables
94 protected:
95 CDatatypeRealValueExclusionType::REAL_VALUE_EXCLUSION_TYPE mPosExclusionType;
96 CDatatypeRealValueExclusionType::REAL_VALUE_EXCLUSION_TYPE mNegExclusionType;
97 CDependencyTrackPoint* mPosExclusionDepTrackPoint;
98 CDependencyTrackPoint* mNegExclusionDepTrackPoint;
99
100 bool mExcluded;
101 CDependencyTrackPoint* mExcludedDepTrackPoint;
102
103 // private methods
104 private:
105
106 // private variables
107 private:
108
109 };
110
111 }; // end namespace Process
112
113 }; // end namespace Kernel
114
115 }; // end namespace Reasoner
116
117 }; // end namespace Konclude
118
119 #endif // KONCLUDE_REASONER_KERNEL_PROCESS_CDATATYPEREALVALUEDATAEXCLUSION_H