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

Method GetExternalJSONDirectory

Modules/CEST/src/mitkCustomTagParser.cpp:844–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844std::string mitk::CustomTagParser::GetExternalJSONDirectory()
845{
846 std::string moduleLocation = us::GetModuleContext()->GetModule()->GetLocation();
847 std::string stringToModule;
848 std::string libraryName;
849 itksys::SystemTools::SplitProgramPath(moduleLocation, stringToModule, libraryName);
850
851 std::stringstream jsonDirectory;
852 jsonDirectory << stringToModule << "/CESTRevisionMapping";
853
854 return jsonDirectory.str();
855}

Callers

nothing calls this directly

Calls 3

GetModuleContextFunction · 0.85
GetLocationMethod · 0.45
GetModuleMethod · 0.45

Tested by

no test coverage detected