13 #ifndef MITKSTANDALONEDATASTORAGE_H_HEADER_INCLUDED_ 14 #define MITKSTANDALONEDATASTORAGE_H_HEADER_INCLUDED_ 16 #include "itkVectorContainer.h" 23 class NodePredicateBase;
40 itkFactorylessNewMacro(
Self);
70 bool onlyDirectSources =
true)
const override;
82 SetOfObjects::ConstPointer GetDerivations(
const mitk::DataNode *node,
84 bool onlyDirectDerivations =
true)
const override;
89 SetOfObjects::ConstPointer GetAll()
const override;
97 typedef std::map<mitk::DataNode::ConstPointer, SetOfObjects::ConstPointer>
AdjacencyList;
108 bool IsInitialized()
const;
112 SetOfObjects::ConstPointer GetRelations(
const mitk::DataNode *node,
113 const AdjacencyList &relation,
115 bool onlyDirectlyRelated =
true)
const;
119 void RemoveFromRelation(
const mitk::DataNode *node, AdjacencyList &relation);
123 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
Data management class that handles 'was created by' relations.
Data management class that handles 'was created by' relations.
DataCollection - Class to facilitate loading/accessing structured data.
AdjacencyList m_SourceNodes
Nodes and their relation are stored in m_SourceNodes.
#define mitkClassMacro(className, SuperClassName)
itk::SimpleFastMutexLock m_Mutex
itk::VectorContainer< unsigned int, DataNode::Pointer > SetOfObjects
A Container of objects that is used as a result set of GetSubset() query operations (Set of...
AdjacencyList m_DerivedNodes
Nodes are stored in reverse relation for easier traversal in the opposite direction of the relation...
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
std::map< mitk::DataNode::ConstPointer, SetOfObjects::ConstPointer > AdjacencyList
noncyclical directed graph data structure to store the nodes with their relation
Class for nodes of the DataTree.