|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the data of a given DataNode has a specific property. More...
#include <mitkNodePredicateDataProperty.h>


Public Member Functions | |
| mitkClassMacro (NodePredicateDataProperty, NodePredicateBase) | |
| mitkNewMacro1Param (NodePredicateDataProperty, const char *) | |
| mitkNewMacro2Param (NodePredicateDataProperty, const char *, mitk::BaseProperty *) | |
| ~NodePredicateDataProperty () override | |
| Standard Destructor. More... | |
| bool | CheckNode (const mitk::DataNode *node) const override |
| Checks if the node's data object has a property matching the stored criteria. More... | |
Public Member Functions inherited from mitk::NodePredicateBase | |
| mitkClassMacroItkParent (NodePredicateBase, itk::Object) | |
| ~NodePredicateBase () override | |
| Virtual destructor. More... | |
Protected Member Functions | |
| NodePredicateDataProperty (const char *propertyName, mitk::BaseProperty *p=nullptr) | |
| Constructor to check for a named property. More... | |
Protected Attributes | |
| mitk::BaseProperty::Pointer | m_ValidProperty |
| std::string | m_ValidPropertyName |
Predicate that evaluates if the data of a given DataNode has a specific property.
If the second parameter is nullptr, it will only be checked whether there is a property with the specified name for the data instance of the node.
Definition at line 28 of file mitkNodePredicateDataProperty.h.
|
override |
Standard Destructor.
|
protected |
Constructor to check for a named property.
| propertyName | Name of the property to look for (must not be empty). |
| p | Optional property value to compare against. If nullptr, only the existence of the named property is checked. |
|
overridevirtual |
Checks if the node's data object has a property matching the stored criteria.
If a valid property was supplied at construction, both name and value must match. If only a name was supplied, only the existence of the property is checked.
| node | The DataNode to check. |
Implements mitk::NodePredicateBase.
| mitk::NodePredicateDataProperty::mitkClassMacro | ( | NodePredicateDataProperty | , |
| NodePredicateBase | |||
| ) |
| mitk::NodePredicateDataProperty::mitkNewMacro1Param | ( | NodePredicateDataProperty | , |
| const char * | |||
| ) |
| mitk::NodePredicateDataProperty::mitkNewMacro2Param | ( | NodePredicateDataProperty | , |
| const char * | , | ||
| mitk::BaseProperty * | |||
| ) |
|
protected |
Definition at line 58 of file mitkNodePredicateDataProperty.h.
|
protected |
Definition at line 60 of file mitkNodePredicateDataProperty.h.