Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::NodePredicateDataType Class Reference

Predicate that evaluates if the given DataNodes data object is of a specific data type. More...

#include <mitkNodePredicateDataType.h>

Inheritance diagram for mitk::NodePredicateDataType:
Collaboration diagram for mitk::NodePredicateDataType:

Public Types

typedef NodePredicateDataType 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
 
 ~NodePredicateDataType () override
 Standard Destructor. More...
 
bool CheckNode (const mitk::DataNode *node) const override
 Checks, if the nodes data object is of a specific data type. 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 Public Member Functions inherited from mitk::NodePredicateBase
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 NodePredicateDataType (const char *datatype)
 Protected constructor, use static instantiation functions instead. More...
 

Protected Attributes

std::string m_ValidDataType
 

Detailed Description

Predicate that evaluates if the given DataNodes data object is of a specific data type.

The data type must be specified in the constructor as a string. The string must equal the result value of the requested data types GetNameOfClass() method.

Definition at line 29 of file mitkNodePredicateDataType.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ~NodePredicateDataType()

mitk::NodePredicateDataType::~NodePredicateDataType ( )
override

Standard Destructor.

◆ NodePredicateDataType()

mitk::NodePredicateDataType::NodePredicateDataType ( const char *  datatype)
protected

Protected constructor, use static instantiation functions instead.

Member Function Documentation

◆ CheckNode()

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

Checks, if the nodes data object is of a specific data type.

Implements mitk::NodePredicateBase.

◆ GetClassHierarchy()

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

Reimplemented from mitk::NodePredicateBase.

Definition at line 32 of file mitkNodePredicateDataType.h.

◆ GetClassName()

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

Reimplemented from mitk::NodePredicateBase.

◆ GetStaticNameOfClass()

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

Definition at line 32 of file mitkNodePredicateDataType.h.

◆ New()

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

Definition at line 33 of file mitkNodePredicateDataType.h.

Member Data Documentation

◆ m_ValidDataType

std::string mitk::NodePredicateDataType::m_ValidDataType
protected

Definition at line 48 of file mitkNodePredicateDataType.h.


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