Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::NodePredicateNot Class Reference

Composite predicate that negates its child predicate Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds only one subpredicate at any time. But logically any Predicate that has one or more subpredicate is a CompositePredicate. More...

#include <mitkNodePredicateNot.h>

Inheritance diagram for mitk::NodePredicateNot:
Collaboration diagram for mitk::NodePredicateNot:

Public Types

typedef NodePredicateNot Self
 
typedef NodePredicateCompositeBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::NodePredicateCompositeBase
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
 
 ~NodePredicateNot () override
 Standard Destructor. More...
 
void AddPredicate (const mitk::NodePredicateBase *p) override
 Reimplemented, only one child predicate is allowed for the NOT predicate. More...
 
bool CheckNode (const mitk::DataNode *node) const override
 Checks, if the node does not fulfill the child predicate condition. More...
 
- Public Member Functions inherited from mitk::NodePredicateCompositeBase
 ~NodePredicateCompositeBase () override=0
 Pure virtual (but implemented) Destructor makes NodePredicateCompositeBase an abstract class. 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...
 

Static Public Member Functions

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

Protected Member Functions

 NodePredicateNot (const mitk::NodePredicateBase *p)
 Constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::NodePredicateCompositeBase
ChildPredicates m_ChildPredicates
 list of child predicates More...
 

Detailed Description

Composite predicate that negates its child predicate Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds only one subpredicate at any time. But logically any Predicate that has one or more subpredicate is a CompositePredicate.

Definition at line 27 of file mitkNodePredicateNot.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ~NodePredicateNot()

mitk::NodePredicateNot::~NodePredicateNot ( )
override

Standard Destructor.

◆ NodePredicateNot()

mitk::NodePredicateNot::NodePredicateNot ( const mitk::NodePredicateBase p)
protected

Constructor.

Member Function Documentation

◆ AddPredicate()

void mitk::NodePredicateNot::AddPredicate ( const mitk::NodePredicateBase p)
overridevirtual

Reimplemented, only one child predicate is allowed for the NOT predicate.

Reimplemented from mitk::NodePredicateCompositeBase.

◆ CheckNode()

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

Checks, if the node does not fulfill the child predicate condition.

Implements mitk::NodePredicateBase.

◆ GetClassHierarchy()

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

Reimplemented from mitk::NodePredicateCompositeBase.

Definition at line 30 of file mitkNodePredicateNot.h.

◆ GetClassName()

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

Reimplemented from mitk::NodePredicateCompositeBase.

◆ GetStaticNameOfClass()

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

Definition at line 30 of file mitkNodePredicateNot.h.

◆ New()

static Pointer mitk::NodePredicateNot::New ( const mitk::NodePredicateBase _arg)
inlinestatic

Definition at line 31 of file mitkNodePredicateNot.h.


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