Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkIDataStorageReference.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
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 #ifndef MITKIDATASTORAGEREFERENCE_H_
18 #define MITKIDATASTORAGEREFERENCE_H_
19 
20 #include <berryObject.h>
21 #include <berryMacros.h>
22 
24 
25 #include <mitkDataStorage.h>
26 
27 namespace mitk
28 {
29 
34 {
36 
37  virtual DataStorage::Pointer GetDataStorage() const = 0;
38 
39  virtual bool IsDefault() const = 0;
40 
41  virtual QString GetLabel() const = 0;
42  virtual void SetLabel(const QString& label) = 0;
43 
44  virtual bool operator==(const berry::Object* o) const = 0;
45 };
46 
47 }
48 
49 #endif /*MITKIDATASTORAGEREFERENCE_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define MITK_CORE_SERVICES_PLUGIN
DataCollection - Class to facilitate loading/accessing structured data.
static mitk::DataStorage::Pointer GetDataStorage()
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define berryObjectMacro(...)
Definition: berryMacros.h:37