21 mitkThrow() <<
"NodePredicateDataProperty cannot check invalid (empty) property name";
32 mitkThrow() <<
"NodePredicateDataProperty cannot check invalid node";
37 mitkThrow() <<
"NodePredicateDataProperty cannot check invalid (empty) property name";
std::string m_ValidPropertyName
bool CheckNode(const mitk::DataNode *node) const override
Checks, if the nodes contains a property that is equal to m_ValidProperty.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
Abstract base class for properties.
mitk::BaseProperty::Pointer m_ValidProperty
mitk::BaseProperty::Pointer GetProperty(const char *propertyKey) const
Get the property (instance of BaseProperty) with key propertyKey from the PropertyList, and set it to this, respectively;.
~NodePredicateDataProperty() override
Standard Destructor.
NodePredicateDataProperty(const char *propertyName, mitk::BaseProperty *p=nullptr)
Constructor to check for a named property.
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Class for nodes of the DataTree.