Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryIExtensionPoint.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 #ifndef BERRYIEXTENSIONPOINT_H_
18 #define BERRYIEXTENSIONPOINT_H_
19 
20 #include <berryObject.h>
21 
22 namespace berry {
23 
24 struct IConfigurationElement;
25 struct IContributor;
26 struct IExtension;
27 
60 struct IExtensionPoint : public virtual Object
61 {
62 
64 
65  virtual ~IExtensionPoint();
66 
77  virtual QList<SmartPointer<IConfigurationElement> > GetConfigurationElements() const = 0;
78 
85  virtual QString GetNamespaceIdentifier() const = 0;
86 
93  virtual SmartPointer<IContributor> GetContributor() const = 0;
94 
106  virtual SmartPointer<IExtension> GetExtension(const QString& extensionId) const = 0;
107 
115  virtual QList<SmartPointer<IExtension> > GetExtensions() const = 0;
116 
129  virtual QString GetLabel() const = 0;
130 
140  virtual QString GetSimpleIdentifier() const = 0;
141 
153  virtual QString GetUniqueIdentifier() const = 0;
154 
161  virtual bool IsValid() const = 0;
162 
163 };
164 
165 }
166 
167 #endif /*BERRYIEXTENSIONPOINT_H_*/
virtual SmartPointer< IExtension > GetExtension(const QString &extensionId) const =0
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
Implements transparent reference counting.
virtual QString GetUniqueIdentifier() const =0
virtual QList< SmartPointer< IExtension > > GetExtensions() const =0
virtual QString GetLabel() const =0
virtual QString GetNamespaceIdentifier() const =0
virtual bool IsValid() const =0
virtual QList< SmartPointer< IConfigurationElement > > GetConfigurationElements() const =0
berryObjectMacro(berry::IExtensionPoint) virtual ~IExtensionPoint()
virtual QString GetSimpleIdentifier() const =0
virtual SmartPointer< IContributor > GetContributor() const =0