MCPcopy Create free account
hub / github.com/MITK/MITK / SetDataStorage

Method SetDataStorage

Modules/QtWidgets/src/QmitkAbstractDataStorageInspector.cpp:28–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void QmitkAbstractDataStorageInspector::SetDataStorage(mitk::DataStorage* dataStorage)
29{
30 if (m_DataStorage != dataStorage)
31 {
32 m_DataStorage = dataStorage;
33 auto lockedDataStorage = m_DataStorage.Lock();
34
35 if (lockedDataStorage.IsNotNull())
36 {
37 this->Initialize();
38 }
39 }
40}
41
42void QmitkAbstractDataStorageInspector::SetNodePredicate(const mitk::NodePredicateBase* nodePredicate)
43{

Callers

nothing calls this directly

Calls 3

IsNotNullMethod · 0.80
LockMethod · 0.45
InitializeMethod · 0.45

Tested by

no test coverage detected