Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 (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 
13 #ifndef MITKIDATASTORAGEREFERENCE_H_
14 #define MITKIDATASTORAGEREFERENCE_H_
15 
16 #include <berryObject.h>
17 #include <berryMacros.h>
18 
20 
21 #include <mitkDataStorage.h>
22 
23 namespace mitk
24 {
25 
30 {
32 
33  virtual DataStorage::Pointer GetDataStorage() const = 0;
34 
35  virtual bool IsDefault() const = 0;
36 
37  virtual QString GetLabel() const = 0;
38  virtual void SetLabel(const QString& label) = 0;
39 
40  bool operator==(const berry::Object* o) const override = 0;
41 };
42 
43 }
44 
45 #endif /*MITKIDATASTORAGEREFERENCE_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define MITK_CORE_SERVICES_PLUGIN
DataCollection - Class to facilitate loading/accessing structured data.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define berryObjectMacro(...)
Definition: berryMacros.h:33