Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the data of a given DataNode has a specific property. If the second parameter is NULL, 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>
Public Types | |
typedef NodePredicateDataProperty | 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 |
virtual | ~NodePredicateDataProperty () |
Standard Destructor. More... | |
virtual 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 | |
virtual | ~NodePredicateBase () |
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 |
Predicate that evaluates if the data of a given DataNode has a specific property. If the second parameter is NULL, 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.
typedef itk::SmartPointer<const Self> mitk::NodePredicateDataProperty::ConstPointer |
Definition at line 31 of file mitkNodePredicateDataProperty.h.
Definition at line 31 of file mitkNodePredicateDataProperty.h.
Definition at line 31 of file mitkNodePredicateDataProperty.h.
Definition at line 31 of file mitkNodePredicateDataProperty.h.
|
virtual |
Standard Destructor.
Definition at line 28 of file mitkNodePredicateDataProperty.cpp.
|
protected |
Constructor to check for a named property.
Definition at line 21 of file mitkNodePredicateDataProperty.cpp.
References m_ValidPropertyName, and mitkThrow.
|
overridevirtual |
Checks, if the nodes contains a property that is equal to m_ValidProperty.
Implements mitk::NodePredicateBase.
Definition at line 32 of file mitkNodePredicateDataProperty.cpp.
References mitk::DataNode::GetData(), mitk::BaseData::GetProperty(), and mitkThrow.
|
inlineoverridevirtual |
Reimplemented from mitk::NodePredicateBase.
Definition at line 31 of file mitkNodePredicateDataProperty.h.
|
virtual |
Reimplemented from mitk::NodePredicateBase.
|
inlinestatic |
Definition at line 31 of file mitkNodePredicateDataProperty.h.
|
inlinestatic |
Definition at line 32 of file mitkNodePredicateDataProperty.h.
|
inlinestatic |
Definition at line 33 of file mitkNodePredicateDataProperty.h.
|
protected |
Definition at line 50 of file mitkNodePredicateDataProperty.h.
|
protected |
Definition at line 52 of file mitkNodePredicateDataProperty.h.
Referenced by NodePredicateDataProperty().