Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitkIPropertyProvider.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 mitkIPropertyProvider_h
14 #define mitkIPropertyProvider_h
15 
16 #include <MitkCoreExports.h>
17 #include <mitkBaseProperty.h>
18 
19 namespace mitk
20 {
25  {
26  public:
27  virtual ~IPropertyProvider();
28 
41  virtual BaseProperty::ConstPointer GetConstProperty(const std::string &propertyKey,
42  const std::string &contextName = "",
43  bool fallBackOnDefaultContext = true) const = 0;
44 
55  virtual std::vector<std::string> GetPropertyKeys(const std::string &contextName = "",
56  bool includeDefaultContext = false) const = 0;
57 
63  virtual std::vector<std::string> GetPropertyContextNames() const = 0;
64  };
65 } // namespace mitk
66 
67 #endif
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.