Medical Imaging Interaction Toolkit  2023.12.99-77685e7b
Medical Imaging Interaction Toolkit
mitk::NodePredicateDataProperty Class Reference

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. More...

#include <mitkNodePredicateDataProperty.h>

Inheritance diagram for mitk::NodePredicateDataProperty:
Collaboration diagram for mitk::NodePredicateDataProperty:

Public Types

typedef NodePredicateDataProperty Self
 
typedef NodePredicateBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::NodePredicateBase
typedef NodePredicateBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
 ~NodePredicateDataProperty () override
 Standard Destructor. More...
 
bool CheckNode (const mitk::DataNode *node) const override
 Checks, if the nodes contains a property that is equal to m_ValidProperty. 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 char *_arg)
 
static Pointer New (const char *_arga, mitk::BaseProperty *_argb)
 
- Static Public Member Functions inherited from mitk::NodePredicateBase
static const char * GetStaticNameOfClass ()
 

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
 

Detailed Description

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 24 of file mitkNodePredicateDataProperty.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ~NodePredicateDataProperty()

mitk::NodePredicateDataProperty::~NodePredicateDataProperty ( )
override

Standard Destructor.

◆ NodePredicateDataProperty()

mitk::NodePredicateDataProperty::NodePredicateDataProperty ( const char *  propertyName,
mitk::BaseProperty p = nullptr 
)
protected

Constructor to check for a named property.

Member Function Documentation

◆ CheckNode()

bool mitk::NodePredicateDataProperty::CheckNode ( const mitk::DataNode node) const
overridevirtual

Checks, if the nodes contains a property that is equal to m_ValidProperty.

Implements mitk::NodePredicateBase.

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::NodePredicateDataProperty::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::NodePredicateBase.

Definition at line 27 of file mitkNodePredicateDataProperty.h.

◆ GetClassName()

virtual const char* mitk::NodePredicateDataProperty::GetClassName ( ) const
virtual

Reimplemented from mitk::NodePredicateBase.

◆ GetStaticNameOfClass()

static const char* mitk::NodePredicateDataProperty::GetStaticNameOfClass ( )
inlinestatic

Definition at line 27 of file mitkNodePredicateDataProperty.h.

◆ New() [1/2]

static Pointer mitk::NodePredicateDataProperty::New ( const char *  _arg)
inlinestatic

Definition at line 28 of file mitkNodePredicateDataProperty.h.

◆ New() [2/2]

static Pointer mitk::NodePredicateDataProperty::New ( const char *  _arga,
mitk::BaseProperty _argb 
)
inlinestatic

Definition at line 29 of file mitkNodePredicateDataProperty.h.

Member Data Documentation

◆ m_ValidProperty

mitk::BaseProperty::Pointer mitk::NodePredicateDataProperty::m_ValidProperty
protected

Definition at line 45 of file mitkNodePredicateDataProperty.h.

◆ m_ValidPropertyName

std::string mitk::NodePredicateDataProperty::m_ValidPropertyName
protected

Definition at line 47 of file mitkNodePredicateDataProperty.h.


The documentation for this class was generated from the following file: