Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIParameter.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 BERRYIPARAMETER_H_
18 #define BERRYIPARAMETER_H_
19 
20 #include <berryObject.h>
21 #include <berryMacros.h>
23 
24 
25 namespace berry {
26 
27 struct IParameterValues;
28 
37 struct BERRY_COMMANDS IParameter : public virtual Object
38 {
39 
41 
42  typedef QHash<QString, QString> ParameterValues;
43 
49  virtual QString GetId() const = 0;
50 
56  virtual QString GetName() const = 0;
57 
66  virtual IParameterValues* GetValues() const = 0;
67 
74  virtual bool IsOptional() const = 0;
75 };
76 
77 }
78 
79 #endif /*BERRYIPARAMETER_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
static std::string GetName(std::string fileName, std::string suffix)