28 const mitk::DataStorage::SetOfObjects::STLContainerType sources =
31 return std::find(sources.cbegin(), sources.cend(),
m_BaseNode.
Lock()) != sources.cend();
Data management class that handles 'was created by' relations.
itk::SmartPointer< T > Lock() const
mitk::WeakPointer< mitk::DataNode > m_BaseNode
NodePredicateSource(mitk::DataNode *n, bool allsources, mitk::DataStorage *ds)
Constructor - This class can either search only for direct source objects or for all source objects...
mitk::WeakPointer< mitk::DataStorage > m_DataStorage
mitk::DataStorage::Pointer m_DataStorage
~NodePredicateSource() override
Standard Destructor.
bool CheckNode(const mitk::DataNode *childNode) const override
Checks, if m_BaseNode is a source node of childNode (e.g. if childNode "was created from" m_BaseNode)...
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Class for nodes of the DataTree.