Abstract base class for composite predicates that contain child predicates (e.g., AND, OR, NOT).
More...
#include <mitkNodePredicateCompositeBase.h>
|
| typedef std::list< NodePredicateBase::ConstPointer > | ChildPredicates |
| | List type for storing child predicate smart pointers. More...
|
| |
Abstract base class for composite predicates that contain child predicates (e.g., AND, OR, NOT).
This class provides methods to add, remove, and retrieve child predicates. It serves as the foundation for predicates that combine multiple conditions, such as NodePredicateAnd, NodePredicateOr, and NodePredicateNot.
- See also
- NodePredicateAnd, NodePredicateOr, NodePredicateNot, NodePredicateBase
Definition at line 31 of file mitkNodePredicateCompositeBase.h.
◆ ChildPredicates
◆ ~NodePredicateCompositeBase()
| mitk::NodePredicateCompositeBase::~NodePredicateCompositeBase |
( |
| ) |
|
|
overridepure virtual |
Pure virtual destructor (with implementation) making this class abstract.
◆ AddPredicate()
| virtual void mitk::NodePredicateCompositeBase::AddPredicate |
( |
const NodePredicateBase * |
p | ) |
|
|
virtual |
◆ GetPredicates()
| virtual ChildPredicates mitk::NodePredicateCompositeBase::GetPredicates |
( |
| ) |
const |
|
virtual |
Return all child predicates (immutable copy).
- Returns
- A copy of the list of child predicates.
◆ mitkClassMacro()
◆ RemovePredicate()
| virtual void mitk::NodePredicateCompositeBase::RemovePredicate |
( |
const NodePredicateBase * |
p | ) |
|
|
virtual |
Remove a child predicate from this composite.
- Parameters
-
| [in] | p | The child predicate to remove. |
- See also
- AddPredicate
◆ m_ChildPredicates
The documentation for this class was generated from the following file: