17 #ifndef MITKNODEPREDICATEDATATYPE_H_HEADER_INCLUDED_
18 #define MITKNODEPREDICATEDATATYPE_H_HEADER_INCLUDED_
75 return node && node->
GetData() &&
dynamic_cast<T *
>(node->
GetData());
#define mitkNewMacro1Param(classname, type)
DataCollection - Class to facilitate loading/accessing structured data.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
Tests for type compatibility (dynamic_cast).
std::string m_ValidDataType
#define mitkClassMacro(className, SuperClassName)
virtual bool CheckNode(const mitk::DataNode *node) const override
Checks, if the nodes data object is of a specific data type (casts)
virtual ~TNodePredicateDataType()
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Predicate that evaluates if the given DataNodes data object is of a specific data type...
Class for nodes of the DataTree.
TNodePredicateDataType()
Protected constructor, use static instantiation functions instead.