Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryElementHandler.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 BERRYELEMENTHANDLER_H_
14
#define BERRYELEMENTHANDLER_H_
15
16
#include <
berryObject.h
>
17
18
#include <
org_blueberry_core_expressions_Export.h
>
19
20
namespace
Poco
{
21
namespace
XML {
22
class
Element;
23
}
24
}
25
26
namespace
berry
{
27
28
struct
IConfigurationElement;
29
30
class
CompositeExpression;
31
class
Expression;
32
class
ExpressionConverter;
33
43
class
BERRY_EXPRESSIONS
ElementHandler
:
public
Object
{
44
45
public
:
46
47
berryObjectMacro
(
ElementHandler
);
48
49
~
ElementHandler
()
override
;
50
57
static
ElementHandler::Pointer
GetDefault();
58
71
virtual
SmartPointer<Expression>
Create(
ExpressionConverter
* converter,
SmartPointer<IConfigurationElement>
config) = 0;
72
89
virtual
SmartPointer<Expression>
Create(
ExpressionConverter
* converter, Poco::XML::Element* element);
90
91
protected
:
92
107
virtual
void
ProcessChildren(
ExpressionConverter
* converter,
SmartPointer<IConfigurationElement>
element,
SmartPointer<CompositeExpression>
expression);
108
124
virtual
void
ProcessChildren(
ExpressionConverter
* converter, Poco::XML::Element* element,
SmartPointer<CompositeExpression>
expression);
125
};
126
127
}
// namespace berry
128
129
#endif
/*BERRYELEMENTHANDLER_H_*/
berry::ExpressionConverter
Definition:
berryExpressionConverter.h:49
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
org_blueberry_core_expressions_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
Poco
Definition:
berryElementHandler.h:20
berry::ElementHandler
Definition:
berryElementHandler.h:43
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
BERRY_EXPRESSIONS
#define BERRY_EXPRESSIONS
Definition:
org_blueberry_core_expressions_Export.h:26
berryObject.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.expressions
src
berryElementHandler.h
Generated on Tue Dec 24 2024 02:12:22 for Medical Imaging Interaction Toolkit by
1.8.17