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

Method GetDataStorage

Plugins/org.mitk.gui.qt.common/src/QmitkAbstractView.cpp:381–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381mitk::DataStorage::Pointer QmitkAbstractView::GetDataStorage() const
382{
383 mitk::CoreServicePointer<mitk::IDataStorageService> dsService(mitk::CoreServices::GetDataStorageService());
384
385 if (dsService)
386 {
387 return dsService->GetActiveDataStorage();
388 }
389
390 return nullptr;
391}
392
393mitk::DataStorageReference QmitkAbstractView::GetDataStorageReference() const
394{

Callers 15

~QmitkAbstractViewMethod · 0.95
CreateQtPartControlMethod · 0.45
CheckInputsMethod · 0.45
InitSessionMethod · 0.45
StopSessionMethod · 0.45
OnStoreBtnPushedMethod · 0.45
Start3DPreviewMethod · 0.45

Calls 1

GetActiveDataStorageMethod · 0.80

Tested by 2