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

Method GetChildren

Modules/CppMicroServices/src/usModuleResource.cpp:212–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212std::vector<std::string> ModuleResource::GetChildren() const
213{
214 if (!IsValid() || !IsDir()) return d->children;
215
216 if (d->children.empty())
217 {
218 d->resourceContainer->GetChildren(d->stat.filePath, true,
219 d->children, d->childNodes);
220 }
221 return d->children;
222}
223
224std::vector<ModuleResource> ModuleResource::GetChildResources() const
225{

Callers 8

ChangeTextDescriptorMethod · 0.45
checkResourceInfoFunction · 0.45
testInvalidResourceFunction · 0.45
testResourceTreeFunction · 0.45
GetChildResourcesMethod · 0.45
SerializeFunction · 0.45
mitkMultiGaussianTestFunction · 0.45
ParseParametersMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by 5

checkResourceInfoFunction · 0.36
testInvalidResourceFunction · 0.36
testResourceTreeFunction · 0.36
mitkMultiGaussianTestFunction · 0.36
ParseParametersMethod · 0.36