Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
Medical Imaging Interaction Toolkit
berryIParameter.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 BERRYIPARAMETER_H_
14 #define BERRYIPARAMETER_H_
15 
16 #include <berryObject.h>
17 #include <berryMacros.h>
19 
20 
21 namespace berry {
22 
23 struct IParameterValues;
24 
33 struct BERRY_COMMANDS IParameter : public virtual Object
34 {
35 
37 
38  typedef QHash<QString, QString> ParameterValues;
39 
45  virtual QString GetId() const = 0;
46 
52  virtual QString GetName() const = 0;
53 
62  virtual IParameterValues* GetValues() const = 0;
63 
70  virtual bool IsOptional() const = 0;
71 };
72 
73 }
74 
75 #endif /*BERRYIPARAMETER_H_*/
QHash< QString, QString > ParameterValues
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33