Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
berryIEvaluationContext.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 BERRYIEVALUATIONCONTEXT_H_
14
#define BERRYIEVALUATIONCONTEXT_H_
15
16
#include <
berryMacros.h
>
17
#include <
berryObject.h
>
18
19
#include <
org_blueberry_core_expressions_Export.h
>
20
21
namespace
berry
{
22
36
struct
BERRY_EXPRESSIONS
IEvaluationContext
:
public
Object
37
{
38
39
berryObjectMacro
(
berry::IEvaluationContext
);
40
46
static
Object::ConstPointer
UNDEFINED_VARIABLE
;
47
48
~
IEvaluationContext
()
override
;
49
56
virtual
IEvaluationContext
* GetParent()
const
= 0;
57
63
virtual
IEvaluationContext
* GetRoot()
const
= 0;
64
76
virtual
void
SetAllowPluginActivation(
bool
value) = 0;
77
87
virtual
bool
GetAllowPluginActivation()
const
= 0;
88
95
virtual
Object::ConstPointer
GetDefaultVariable()
const
= 0;
96
105
virtual
void
AddVariable(
const
QString& name,
const
Object::ConstPointer
& value) = 0;
106
115
virtual
Object::ConstPointer
RemoveVariable(
const
QString& name) = 0;
116
124
virtual
Object::ConstPointer
GetVariable(
const
QString& name)
const
= 0;
125
140
virtual
Object::ConstPointer
ResolveVariable(
const
QString& name,
const
QList<Object::Pointer>& args)
const
= 0;
141
};
142
143
}
// namespace berry
144
145
#endif
/*BERRYIEVALUATIONCONTEXT_H_*/
berry::IEvaluationContext
Definition:
berryIEvaluationContext.h:36
berryMacros.h
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
berry::IEvaluationContext::UNDEFINED_VARIABLE
static Object::ConstPointer UNDEFINED_VARIABLE
Definition:
berryIEvaluationContext.h:46
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
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
berryIEvaluationContext.h
Generated on Thu Nov 30 2023 15:58:48 for Medical Imaging Interaction Toolkit by
1.8.17