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

Method getObjectByID

src/App/Document.cpp:3852–3857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3850}
3851
3852DocumentObject* Document::getObjectByID(const long id) const
3853{
3854 const auto it = d->objectIdMap.find(id);
3855
3856 return it != d->objectIdMap.end() ?it->second:nullptr;
3857}
3858
3859
3860// Note: This method is only used in Tree.cpp slotChangeObject(), see explanation there

Callers 8

getObjectMethod · 0.80
extensionExecuteMethod · 0.80
canDeleteMethod · 0.80
traceElementMethod · 0.80
moveObjectMethod · 0.80
onUpdateStatusMethod · 0.80
getElementSourceFunction · 0.80
getElementHistoryMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected