Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
mitk::NodePredicateCompositeBase Class Referenceabstract

Base class for all predicates that can have child predicates (e.g. AND/OR) More...

#include <mitkNodePredicateCompositeBase.h>

Inheritance diagram for mitk::NodePredicateCompositeBase:
Collaboration diagram for mitk::NodePredicateCompositeBase:

Public Types

typedef NodePredicateCompositeBase Self
 
typedef NodePredicateBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::list< NodePredicateBase::ConstPointerChildPredicates
 
- 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
 
 ~NodePredicateCompositeBase () override=0
 Pure virtual (but implemented) Destructor makes NodePredicateCompositeBase an abstract class. More...
 
virtual void AddPredicate (const NodePredicateBase *p)
 Adds a child predicate. More...
 
virtual void RemovePredicate (const NodePredicateBase *p)
 Removes a child predicate. More...
 
virtual ChildPredicates GetPredicates () const
 Return all child predicates (immutable). More...
 
- Public Member Functions inherited from mitk::NodePredicateBase
 ~NodePredicateBase () override
 Standard Destructor. More...
 
virtual bool CheckNode (const mitk::DataNode *node) const =0
 This method will be used to evaluate the node. Has to be overwritten in subclasses. More...
 

Static Public Member Functions

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

Protected Attributes

ChildPredicates m_ChildPredicates
 list of child predicates More...
 

Detailed Description

Base class for all predicates that can have child predicates (e.g. AND/OR)

This class provides methods to add and remove child predicates. It is used for predicates that are compositions of other predicates like AND and OR.

Definition at line 28 of file mitkNodePredicateCompositeBase.h.

Member Typedef Documentation

◆ ChildPredicates

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ~NodePredicateCompositeBase()

mitk::NodePredicateCompositeBase::~NodePredicateCompositeBase ( )
overridepure virtual

Pure virtual (but implemented) Destructor makes NodePredicateCompositeBase an abstract class.

Definition at line 18 of file mitkNodePredicateCompositeBase.cpp.

Member Function Documentation

◆ AddPredicate()

void mitk::NodePredicateCompositeBase::AddPredicate ( const NodePredicateBase p)
virtual

◆ GetClassHierarchy()

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

◆ GetClassName()

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

◆ GetPredicates()

mitk::NodePredicateCompositeBase::ChildPredicates mitk::NodePredicateCompositeBase::GetPredicates ( ) const
virtual

Return all child predicates (immutable).

Definition at line 32 of file mitkNodePredicateCompositeBase.cpp.

References m_ChildPredicates.

◆ GetStaticNameOfClass()

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

Definition at line 31 of file mitkNodePredicateCompositeBase.h.

◆ RemovePredicate()

void mitk::NodePredicateCompositeBase::RemovePredicate ( const NodePredicateBase p)
virtual

Removes a child predicate.

Definition at line 27 of file mitkNodePredicateCompositeBase.cpp.

References m_ChildPredicates.

Member Data Documentation

◆ m_ChildPredicates


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