Medical Imaging Interaction Toolkit  2025.12.02
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 Member Functions

 mitkClassMacro (NodePredicateNot, NodePredicateCompositeBase)
 
 mitkNewMacro1Param (NodePredicateNot, const mitk::NodePredicateBase *)
 
 ~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
 mitkClassMacro (NodePredicateCompositeBase, NodePredicateBase)
 
 ~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
 mitkClassMacroItkParent (NodePredicateBase, itk::Object)
 
 ~NodePredicateBase () override
 Standard Destructor. More...
 

Protected Member Functions

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

Additional Inherited Members

- Public Types inherited from mitk::NodePredicateCompositeBase
typedef std::list< NodePredicateBase::ConstPointer > ChildPredicates
 
- 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.

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.

◆ mitkClassMacro()

mitk::NodePredicateNot::mitkClassMacro ( NodePredicateNot  ,
NodePredicateCompositeBase   
)

◆ mitkNewMacro1Param()

mitk::NodePredicateNot::mitkNewMacro1Param ( NodePredicateNot  ,
const mitk::NodePredicateBase  
)

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