46 if (m_ChildPredicates.empty())
47 throw std::invalid_argument(
"NodePredicateAnd: no child predicates available");
50 throw std::invalid_argument(
"NodePredicateAnd: invalid node");
53 for (
auto it = m_ChildPredicates.cbegin(); (it != m_ChildPredicates.cend()); ++it)
54 if ((*it)->CheckNode(node) ==
false)
virtual void AddPredicate(const NodePredicateBase *p)
Adds a child predicate.
virtual bool CheckNode(const DataNode *node) const override
Checks, if the node fulfills all of the subpredicates conditions.
NodePredicateAnd()
Protected constructor, use static instantiation functions instead.
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Base class for all predicates that can have child predicates (e.g. AND/OR)
Class for nodes of the DataTree.
virtual ~NodePredicateAnd()
Standard Destructor.