Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryIPropertyTester.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 BERRYIPROPERTYTESTER_H_
18
#define BERRYIPROPERTYTESTER_H_
19
20
#include <
berryMacros.h
>
21
#include <
berryObject.h
>
22
23
#include <
org_blueberry_core_expressions_Export.h
>
24
25
#include <Poco/Any.h>
26
27
#include <string>
28
#include <vector>
29
30
#include <QObject>
31
32
namespace
berry
{
33
42
struct
BERRY_EXPRESSIONS
IPropertyTester
:
public
Object
43
{
44
45
berryObjectMacro
(
berry::IPropertyTester
)
46
47
virtual
~
IPropertyTester
();
48
58
virtual
bool
Handles(
const
QString& namespaze,
const
QString& property) = 0;
59
67
virtual
bool
IsInstantiated() = 0;
68
76
virtual
bool
IsDeclaringPluginActive() = 0;
77
86
virtual
IPropertyTester
* Instantiate() = 0;
87
103
virtual
bool
Test(
Object::ConstPointer
receiver,
const
QString& property,
104
const
QList<Object::Pointer>& args,
Object::Pointer
expectedValue) = 0;
105
106
};
107
108
}
// namespace berry
109
110
Q_DECLARE_INTERFACE(
berry::IPropertyTester
,
"org.blueberry.IPropertyTester"
)
111
112
#endif
/*BERRYIPROPERTYTESTER_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berryMacros.h
berry::IPropertyTester
Definition:
berryIPropertyTester.h:42
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
org_blueberry_core_expressions_Export.h
berry::SmartPointer< const Self >
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
BERRY_EXPRESSIONS
#define BERRY_EXPRESSIONS
Definition:
org_blueberry_core_expressions_Export.h:23
berryObject.h
git
MITK
Plugins
org.blueberry.core.expressions
src
berryIPropertyTester.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1