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