Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkNodePredicateOr.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 MITKNODEPREDICATEOR_H_HEADER_INCLUDED_
14 #define MITKNODEPREDICATEOR_H_HEADER_INCLUDED_
15 
17 
18 namespace mitk
19 {
20  //##Documentation
21  //## @brief Composite predicate that forms a logical OR relation from its child predicates
22  //##
23  //##
24  //##
25  //##
26  //## @ingroup DataStorage
28  {
29  public:
31  itkFactorylessNewMacro(NodePredicateOr);
33 
34  //##Documentation
35  //## @brief Standard Destructor
36  ~NodePredicateOr() override;
37 
38  //##Documentation
39  //## @brief Checks, if the node fulfills any of the subpredicates conditions
40  bool CheckNode(const DataNode *node) const override;
41 
42  protected:
43  //##Documentation
44  //## @brief Constructor
46  //##Documentation
47  //## @brief Convenience constructor that adds p1 and p2 to list of child predicates
49  };
50 
51 } // namespace mitk
52 
53 #endif /* MITKNODEPREDICATEOR_H_HEADER_INCLUDED_ */
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:85
#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
Composite predicate that forms a logical OR relation from its child predicates.