Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkNodePredicateNot.h
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 
17 #ifndef MITKNODEPREDICATENOT_H_HEADER_INCLUDED_
18 #define MITKNODEPREDICATENOT_H_HEADER_INCLUDED_
19 
21 
22 namespace mitk
23 {
24  //##Documentation
25  //## @brief Composite predicate that negates its child predicate
26  //## Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds
27  //## only one subpredicate at any time. But logically any Predicate that has one or more subpredicate
28  //## is a CompositePredicate.
29  //##
30  //## @ingroup DataStorage
32  {
33  public:
36 
37  //##Documentation
38  //## @brief Standard Destructor
39  virtual ~NodePredicateNot();
40 
41  //##Documentation
42  //## @brief Reimplemented, only one child predicate is allowed for the NOT predicate.
43  virtual void AddPredicate(const mitk::NodePredicateBase *p) override;
44 
45  //##Documentation
46  //## @brief Checks, if the node does not fulfill the child predicate condition
47  virtual bool CheckNode(const mitk::DataNode *node) const override;
48 
49  protected:
50  //##Documentation
51  //## @brief Constructor
53  };
54 
55 } // namespace mitk
56 
57 #endif /* MITKNODEPREDICATENOT_H_HEADER_INCLUDED_ */
Composite predicate that negates its child predicate Changed: NodePredicateNot now derives from NodeP...
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
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.
Definition: mitkDataNode.h:66