Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::NodePredicateFirstLevel Class Reference

Predicate that evaluates if the given node is a direct or indirect source node of a specific node. More...

#include <mitkNodePredicateFirstLevel.h>

Inheritance diagram for mitk::NodePredicateFirstLevel:
Collaboration diagram for mitk::NodePredicateFirstLevel:

Public Types

typedef NodePredicateFirstLevel 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
 
virtual ~NodePredicateFirstLevel ()
 Standard Destructor. More...
 
virtual bool CheckNode (const mitk::DataNode *node) const override
 Checks, if the node is a source node of m_BaseNode (e.g. if m_BaseNode "was created from" node) More...
 
- Public Member Functions inherited from mitk::NodePredicateBase
virtual ~NodePredicateBase ()
 Standard Destructor. More...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New (mitk::DataStorage *_arg)
 
- Static Public Member Functions inherited from mitk::NodePredicateBase
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 NodePredicateFirstLevel (mitk::DataStorage *ds)
 Constructor - This class can either search only for direct source objects or for all source objects. More...
 

Protected Attributes

mitk::WeakPointer< mitk::DataStoragem_DataStorage
 

Detailed Description

Predicate that evaluates if the given node is a direct or indirect source node of a specific node.

Warning
This class seems to be obsolete since mitk::DataStorage::GetDerivations(). Since there is no real use case up until now, NodePredicateSource is NOT WORKING YET. If you need it working, inform us.

Definition at line 35 of file mitkNodePredicateFirstLevel.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::NodePredicateFirstLevel::~NodePredicateFirstLevel ( )
virtual

Standard Destructor.

Definition at line 23 of file mitkNodePredicateFirstLevel.cpp.

mitk::NodePredicateFirstLevel::NodePredicateFirstLevel ( mitk::DataStorage ds)
protected

Constructor - This class can either search only for direct source objects or for all source objects.

Definition at line 19 of file mitkNodePredicateFirstLevel.cpp.

Member Function Documentation

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

Checks, if the node is a source node of m_BaseNode (e.g. if m_BaseNode "was created from" node)

Implements mitk::NodePredicateBase.

Definition at line 27 of file mitkNodePredicateFirstLevel.cpp.

References m_DataStorage.

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

Reimplemented from mitk::NodePredicateBase.

Definition at line 38 of file mitkNodePredicateFirstLevel.h.

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

Reimplemented from mitk::NodePredicateBase.

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

Definition at line 38 of file mitkNodePredicateFirstLevel.h.

static Pointer mitk::NodePredicateFirstLevel::New ( mitk::DataStorage _arg)
inlinestatic

Definition at line 39 of file mitkNodePredicateFirstLevel.h.

Member Data Documentation

mitk::WeakPointer<mitk::DataStorage> mitk::NodePredicateFirstLevel::m_DataStorage
protected

Definition at line 54 of file mitkNodePredicateFirstLevel.h.


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