Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryAbstractNamedHandleEvent.cpp
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
14 
15 namespace berry
16 {
17 
21 
23 {
24  return ((changedValues & CHANGED_DESCRIPTION()) != 0);
25 }
26 
28 {
29  return ((changedValues & CHANGED_NAME()) != 0);
30 }
31 
33  bool descriptionChanged, bool nameChanged) :
34  AbstractHandleObjectEvent(definedChanged)
35 {
36  if (descriptionChanged)
37  {
39  }
40  if (nameChanged)
41  {
43  }
44 }
45 
46 }
47 
AbstractNamedHandleEvent(bool definedChanged, bool descriptionChanged, bool nameChanged)