Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryAbstractNamedHandleEvent.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
18 
19 namespace berry
20 {
21 
25 
27 {
28  return ((changedValues & CHANGED_DESCRIPTION()) != 0);
29 }
30 
32 {
33  return ((changedValues & CHANGED_NAME()) != 0);
34 }
35 
37  bool descriptionChanged, bool nameChanged) :
38  AbstractHandleObjectEvent(definedChanged)
39 {
40  if (descriptionChanged)
41  {
43  }
44  if (nameChanged)
45  {
47  }
48 }
49 
50 }
51 
AbstractNamedHandleEvent(bool definedChanged, bool descriptionChanged, bool nameChanged)