Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryAbstractNamedHandleEvent.h
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 
17 
18 #ifndef BERRYABSTRACTNAMEDHANDLEEVENT_H_
19 #define BERRYABSTRACTNAMEDHANDLEEVENT_H_
20 
22 
23 namespace berry {
24 
33 
34 public:
35 
37 
43  bool IsDescriptionChanged() const;
44 
50  bool IsNameChanged() const;
51 
52 protected:
53 
58  static int CHANGED_DESCRIPTION(); // = LAST_BIT_USED_ABSTRACT_HANDLE << 1;
59 
63  static int CHANGED_NAME(); // = LAST_BIT_USED_ABSTRACT_HANDLE << 2;
64 
68  static int LAST_USED_BIT(); // = CHANGED_NAME;
69 
80  AbstractNamedHandleEvent(bool definedChanged,
81  bool descriptionChanged, bool nameChanged);
82 
83 };
84 
85 }
86 
87 #endif /* BERRYABSTRACTNAMEDHANDLEEVENT_H_ */
#define berryObjectMacro(...)
Definition: berryMacros.h:37