Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkNodePredicateDataProperty.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 MITKNODEPREDICATEDATAPROPERTY_H_HEADER_INCLUDED_
14 #define MITKNODEPREDICATEDATAPROPERTY_H_HEADER_INCLUDED_
15 
16 #include "mitkBaseProperty.h"
17 #include "mitkNodePredicateBase.h"
18 
19 namespace mitk
20 {
25  {
26  public:
30 
31  //##Documentation
32  //## @brief Standard Destructor
33  ~NodePredicateDataProperty() override;
34 
35  //##Documentation
36  //## @brief Checks, if the nodes contains a property that is equal to m_ValidProperty
37  bool CheckNode(const mitk::DataNode *node) const override;
38 
39  protected:
40  //##Documentation
41  //## @brief Constructor to check for a named property
42  NodePredicateDataProperty(const char *propertyName,
43  mitk::BaseProperty *p = nullptr);
44 
46  // mitk::BaseProperty* m_ValidProperty;
47  std::string m_ValidPropertyName;
48  };
49 
50 } // namespace mitk
51 
52 #endif /* MITKNODEPREDICATEPROPERTY_H_HEADER_INCLUDED_ */
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
DataCollection - Class to facilitate loading/accessing structured data.
Predicate that evaluates if the data of a given DataNode has a specific property. If the second param...
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:85
Abstract base class for properties.
mitk::BaseProperty::Pointer m_ValidProperty
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57