Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITKNODEPREDICATENOT_H_HEADER_INCLUDED_
14 #define MITKNODEPREDICATENOT_H_HEADER_INCLUDED_
15 
17 
18 namespace mitk
19 {
20  //##Documentation
21  //## @brief Composite predicate that negates its child predicate
22  //## Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds
23  //## only one subpredicate at any time. But logically any Predicate that has one or more subpredicate
24  //## is a CompositePredicate.
25  //##
26  //## @ingroup DataStorage
28  {
29  public:
32 
33  //##Documentation
34  //## @brief Standard Destructor
35  ~NodePredicateNot() override;
36 
37  //##Documentation
38  //## @brief Reimplemented, only one child predicate is allowed for the NOT predicate.
39  void AddPredicate(const mitk::NodePredicateBase *p) override;
40 
41  //##Documentation
42  //## @brief Checks, if the node does not fulfill the child predicate condition
43  bool CheckNode(const mitk::DataNode *node) const override;
44 
45  protected:
46  //##Documentation
47  //## @brief Constructor
49  };
50 
51 } // namespace mitk
52 
53 #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:72
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
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:64