Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkNodePredicateCompositeBase.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
18 
19 // for std::find
20 #include <algorithm>
21 
23 {
24 }
25 
27 {
28  m_ChildPredicates.push_back(p);
29 }
30 
32 {
33  m_ChildPredicates.remove(p);
34 }
35 
37 {
38  return m_ChildPredicates;
39 }
virtual ChildPredicates GetPredicates() const
Return all child predicates (immutable).
virtual void RemovePredicate(const NodePredicateBase *p)
Removes a child predicate.
virtual void AddPredicate(const NodePredicateBase *p)
Adds a child predicate.
std::list< NodePredicateBase::ConstPointer > ChildPredicates
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
virtual ~NodePredicateCompositeBase()=0
Pure virtual (but implemented) Destructor makes NodePredicateCompositeBase an abstract class...