MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getDocument

Method getDocument

src/App/Application.cpp:725–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725Document* Application::getDocument(const char *Name) const
726{
727
728 const auto pos = DocMap.find(Name);
729
730 if (pos == DocMap.end())
731 return nullptr;
732
733 return pos->second;
734}
735Document* Application::getDocumentOrActive(const char *Name) const
736{
737 if (!Base::Tools::isNullOrEmpty(Name)) {

Callers 15

removeObjectMethod · 0.45
getIdMethod · 0.45
buildAdjacencyListMethod · 0.45
extensionExecuteMethod · 0.45
setOnChangeCopyObjectMethod · 0.45
syncCopyOnChangeMethod · 0.45
checkCopyOnChangeMethod · 0.45
makeCopyOnChangeMethod · 0.45
checkGeoElementMapMethod · 0.45
updateMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected