31 throw std::invalid_argument(
"NodePredicateNot: invalid node");
34 return !m_ChildPredicates.front()->CheckNode(node);
39 if (!m_ChildPredicates.empty())
40 m_ChildPredicates.clear();
ChildPredicates m_ChildPredicates
list of child predicates
virtual bool CheckNode(const mitk::DataNode *node) const override
Checks, if the node does not fulfill the child predicate condition.
virtual void AddPredicate(const NodePredicateBase *p)
Adds a child predicate.
virtual void AddPredicate(const mitk::NodePredicateBase *p) override
Reimplemented, only one child predicate is allowed for the NOT predicate.
NodePredicateNot(const mitk::NodePredicateBase *p)
Constructor.
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
virtual ~NodePredicateNot()
Standard Destructor.
Class for nodes of the DataTree.