Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Predicate that transfers the check to a specific Callable. More...
#include <mitkNodePredicateFunction.h>
Public Types | |
using | FunctionType = std::function< bool(const mitk::DataNode *)> |
typedef NodePredicateFunction | Self |
typedef NodePredicateBase | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::NodePredicateBase | |
typedef NodePredicateBase | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
~NodePredicateFunction () override | |
bool | CheckNode (const mitk::DataNode *node) const override |
This method will be used to evaluate the node. Has to be overwritten in subclasses. More... | |
Public Member Functions inherited from mitk::NodePredicateBase | |
~NodePredicateBase () override | |
Standard Destructor. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (const FunctionType &_arg) |
Static Public Member Functions inherited from mitk::NodePredicateBase | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
NodePredicateFunction (const FunctionType &function) | |
Protected Attributes | |
FunctionType | m_Function |
Predicate that transfers the check to a specific Callable.
Callables include free functions, bound member functions, function objects, and lambda expressions. The signature of the Callable must match NodePredicateFunction::CheckNode.
Definition at line 31 of file mitkNodePredicateFunction.h.
typedef itk::SmartPointer<const Self> mitk::NodePredicateFunction::ConstPointer |
Definition at line 36 of file mitkNodePredicateFunction.h.
using mitk::NodePredicateFunction::FunctionType = std::function<bool (const mitk::DataNode *)> |
Definition at line 34 of file mitkNodePredicateFunction.h.
Definition at line 36 of file mitkNodePredicateFunction.h.
Definition at line 36 of file mitkNodePredicateFunction.h.
Definition at line 36 of file mitkNodePredicateFunction.h.
|
override |
|
explicitprotected |
|
overridevirtual |
This method will be used to evaluate the node. Has to be overwritten in subclasses.
Implements mitk::NodePredicateBase.
|
inlineoverridevirtual |
Reimplemented from mitk::NodePredicateBase.
Definition at line 36 of file mitkNodePredicateFunction.h.
|
virtual |
Reimplemented from mitk::NodePredicateBase.
|
inlinestatic |
Definition at line 36 of file mitkNodePredicateFunction.h.
|
inlinestatic |
Definition at line 37 of file mitkNodePredicateFunction.h.
|
protected |
Definition at line 46 of file mitkNodePredicateFunction.h.