Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitk::NodePredicateAnd Class Reference

Composite predicate that forms a logical AND relation from its child predicates. More...

#include <mitkNodePredicateAnd.h>

Inheritance diagram for mitk::NodePredicateAnd:
Collaboration diagram for mitk::NodePredicateAnd:

Public Member Functions

 mitkClassMacro (NodePredicateAnd, NodePredicateCompositeBase)
 
 mitkNewMacro2Param (NodePredicateAnd, const NodePredicateBase *, const NodePredicateBase *)
 
 mitkNewMacro3Param (NodePredicateAnd, const NodePredicateBase *, const NodePredicateBase *, const NodePredicateBase *)
 
 ~NodePredicateAnd () override
 Standard Destructor. More...
 
bool CheckNode (const DataNode *node) const override
 Checks, if the node fulfills all of the subpredicates conditions. 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 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
 mitkClassMacroItkParent (NodePredicateBase, itk::Object)
 
 ~NodePredicateBase () override
 Standard Destructor. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 NodePredicateAnd ()
 Protected constructor, use static instantiation functions instead. More...
 
 NodePredicateAnd (const NodePredicateBase *p1, const NodePredicateBase *p2)
 Convenience constructor that adds p1 and p2 to list of child predicates Protected constructor, use static instantiation functions instead. More...
 
 NodePredicateAnd (const NodePredicateBase *p1, const NodePredicateBase *p2, const NodePredicateBase *p3)
 Convenience constructor that adds p1, p2 and p3 to list of child predicates Protected constructor, use static instantiation functions instead. 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 forms a logical AND relation from its child predicates.

Definition at line 27 of file mitkNodePredicateAnd.h.

Constructor & Destructor Documentation

◆ ~NodePredicateAnd()

mitk::NodePredicateAnd::~NodePredicateAnd ( )
override

Standard Destructor.

◆ NodePredicateAnd() [1/3]

mitk::NodePredicateAnd::NodePredicateAnd ( )
protected

Protected constructor, use static instantiation functions instead.

◆ NodePredicateAnd() [2/3]

mitk::NodePredicateAnd::NodePredicateAnd ( const NodePredicateBase p1,
const NodePredicateBase p2 
)
protected

Convenience constructor that adds p1 and p2 to list of child predicates Protected constructor, use static instantiation functions instead.

◆ NodePredicateAnd() [3/3]

mitk::NodePredicateAnd::NodePredicateAnd ( const NodePredicateBase p1,
const NodePredicateBase p2,
const NodePredicateBase p3 
)
protected

Convenience constructor that adds p1, p2 and p3 to list of child predicates Protected constructor, use static instantiation functions instead.

Member Function Documentation

◆ CheckNode()

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

Checks, if the node fulfills all of the subpredicates conditions.

Implements mitk::NodePredicateBase.

◆ mitkClassMacro()

mitk::NodePredicateAnd::mitkClassMacro ( NodePredicateAnd  ,
NodePredicateCompositeBase   
)

◆ mitkNewMacro2Param()

mitk::NodePredicateAnd::mitkNewMacro2Param ( NodePredicateAnd  ,
const NodePredicateBase ,
const NodePredicateBase  
)

◆ mitkNewMacro3Param()

mitk::NodePredicateAnd::mitkNewMacro3Param ( NodePredicateAnd  ,
const NodePredicateBase ,
const NodePredicateBase ,
const NodePredicateBase  
)

◆ New()

static Pointer mitk::NodePredicateAnd::New ( )
static

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