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

Method Hash

Modules/CppMicroServices/src/usModuleResource.cpp:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254std::size_t ModuleResource::Hash() const
255{
256 if (!IsValid()) return 0;
257 using namespace std;
258 return std::hash<std::string>()(d->resourceContainer->GetModuleInfo()->name + this->GetResourcePath());
259}
260
261void* ModuleResource::GetData() const
262{

Callers 3

operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls 2

GetResourcePathMethod · 0.95
GetModuleInfoMethod · 0.80

Tested by

no test coverage detected