MeVisLab Toolbox Reference
CSOPredicate.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2015, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
17
18
#pragma once
19
20
21
#include <
mlTypeDefs.h
>
22
#include "
MLCSOIncludes.h
"
23
24
ML_START_NAMESPACE
25
26
class
CSO;
27
28
class
MLCSO_EXPORT
CSOPredicate
29
{
30
public
:
31
virtual
~CSOPredicate
() =
default
;
32
34
virtual
bool
isSatisfied
(
const
CSO
& cso)
const
= 0;
35
private
:
36
CSOPredicate
& operator=(
const
CSOPredicate
&) {
return
*
this
; }
37
};
38
39
ML_END_NAMESPACE
MLCSOIncludes.h
MLCSO_EXPORT
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
Definition
MLCSOSystem.h:23
ml::CSOPredicate
Definition
CSOPredicate.h:29
ml::CSOPredicate::isSatisfied
virtual bool isSatisfied(const CSO &cso) const =0
Returns whether the specified CSO satisfies the predicate.
ml::CSOPredicate::~CSOPredicate
virtual ~CSOPredicate()=default
ml::CSO
Definition
CSO.h:44
mlTypeDefs.h
MeVisLab
Standard
Sources
ML
MLCSO
CSOValidator
CSOPredicate.h
Generated by
1.15.0