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

Function GetDataStorage

Plugins/org.mitk.gui.qt.application/src/QmitkFileSaveAction.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace
31{
32 mitk::DataStorage::Pointer GetDataStorage()
33 {
34 mitk::CoreServicePointer<mitk::IDataStorageService> dsService(mitk::CoreServices::GetDataStorageService());
35
36 if (!dsService)
37 return nullptr;
38
39 return dsService->GetActiveDataStorage();
40 }
41
42 QString GetParentPath(mitk::DataNode::Pointer dataNode)
43 {

Callers 1

GetParentPathFunction · 0.70

Calls 1

GetActiveDataStorageMethod · 0.80

Tested by

no test coverage detected