Debian Codegraph @

Source/Reasoner/Kernel/Process/CNodeSwitchTag.cpp

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 #include "CNodeSwitchTag.h"
22
23
24 namespace Konclude {
25
26 namespace Reasoner {
27
28 namespace Kernel {
29
30 namespace Process {
31
32
33 CNodeSwitchTag::CNodeSwitchTag(cint64 nodeSwitchTag) : CProcessTag(nodeSwitchTag) {
34 }
35
36
37 CNodeSwitchTag::~CNodeSwitchTag() {
38 }
39
40 cint64 CNodeSwitchTag::getNodeSwitchTag() {
41 return CProcessTag::getProcessTag();
42 }
43
44 CNodeSwitchTag* CNodeSwitchTag::setNodeSwitchTag(cint64 nodeSwitchTag) {
45 CProcessTag::setProcessTag(nodeSwitchTag);
46 return this;
47 }
48
49 CNodeSwitchTag* CNodeSwitchTag::initNodeSwitchTag(cint64 nodeSwitchTag) {
50 CProcessTag::initProcessTag(nodeSwitchTag);
51 return this;
52 }
53
54 bool CNodeSwitchTag::isNodeSwitchTagUpdated(cint64 nodeSwitchTag) {
55 return CProcessTag::isProcessTagUpdated(nodeSwitchTag);
56 }
57
58 bool CNodeSwitchTag::isNodeSwitchTagUpToDate(cint64 nodeSwitchTag) {
59 return CProcessTag::isProcessTagUpToDate(nodeSwitchTag);
60 }
61
62 bool CNodeSwitchTag::updateNodeSwitchTag(cint64 nodeSwitchTag) {
63 return CProcessTag::updateProcessTag(nodeSwitchTag);
64 }
65
66 CNodeSwitchTag* CNodeSwitchTag::setNodeSwitchTag(CProcessTagger* processTagger) {
67 return setNodeSwitchTag(processTagger->getCurrentNodeSwitchTag());
68 }
69
70 CNodeSwitchTag* CNodeSwitchTag::initNodeSwitchTag(CProcessTagger* processTagger) {
71 return initNodeSwitchTag(processTagger->getCurrentNodeSwitchTag());
72 }
73
74 bool CNodeSwitchTag::isNodeSwitchTagUpdated(CProcessTagger* processTagger) {
75 return isNodeSwitchTagUpdated(processTagger->getCurrentNodeSwitchTag());
76 }
77
78 bool CNodeSwitchTag::isNodeSwitchTagUpToDate(CProcessTagger* processTagger) {
79 return isNodeSwitchTagUpToDate(processTagger->getCurrentNodeSwitchTag());
80 }
81
82 bool CNodeSwitchTag::updateNodeSwitchTag(CProcessTagger* processTagger) {
83 return updateNodeSwitchTag(processTagger->getCurrentNodeSwitchTag());
84 }
85
86 }; // end namespace Process
87
88 }; // end namespace Kernel
89
90 }; // end namespace Reasoner
91
92 }; // end namespace Konclude