Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::NodePredicateDataUID Class Reference

Predicate that compares the data UID of the given DataNode to a specific UID. More...

#include <mitkNodePredicateDataUID.h>

Inheritance diagram for mitk::NodePredicateDataUID:
Collaboration diagram for mitk::NodePredicateDataUID:

Public Member Functions

 mitkClassMacro (NodePredicateDataUID, NodePredicateBase) mitkNewMacro1Param(NodePredicateDataUID
 
const Identifiable::UIDType & ~NodePredicateDataUID () override
 Standard Destructor. More...
 
bool CheckNode (const mitk::DataNode *node) const override
 Checks if the node's data object has the specified UID. More...
 
- Public Member Functions inherited from mitk::NodePredicateBase
 mitkClassMacroItkParent (NodePredicateBase, itk::Object)
 
 ~NodePredicateBase () override
 Virtual destructor. More...
 

Protected Member Functions

 NodePredicateDataUID (const Identifiable::UIDType &uid)
 Protected constructor, use static instantiation functions instead. More...
 

Protected Attributes

Identifiable::UIDType m_UID
 

Detailed Description

Predicate that compares the data UID of the given DataNode to a specific UID.

Definition at line 27 of file mitkNodePredicateDataUID.h.

Constructor & Destructor Documentation

◆ ~NodePredicateDataUID()

const Identifiable::UIDType& mitk::NodePredicateDataUID::~NodePredicateDataUID ( )
override

Standard Destructor.

◆ NodePredicateDataUID()

mitk::NodePredicateDataUID::NodePredicateDataUID ( const Identifiable::UIDType &  uid)
explicitprotected

Protected constructor, use static instantiation functions instead.

Parameters
uidThe unique identifier to compare against.

Member Function Documentation

◆ CheckNode()

bool mitk::NodePredicateDataUID::CheckNode ( const mitk::DataNode *  node) const
overridevirtual

Checks if the node's data object has the specified UID.

Returns false if the node or its data object is nullptr.

Parameters
nodeThe DataNode to check.
Returns
True if the data object's UID matches the stored UID.

Implements mitk::NodePredicateBase.

◆ mitkClassMacro()

mitk::NodePredicateDataUID::mitkClassMacro ( NodePredicateDataUID  ,
NodePredicateBase   
)

Member Data Documentation

◆ m_UID

Identifiable::UIDType mitk::NodePredicateDataUID::m_UID
protected

Definition at line 52 of file mitkNodePredicateDataUID.h.


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