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

Method hasChildElement

src/App/DocumentObject.cpp:1505–1513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1503}
1504
1505bool DocumentObject::hasChildElement() const
1506{
1507 for (auto ext : getExtensionsDerivedFromType<DocumentObjectExtension>()) {
1508 if (ext->extensionHasChildElement()) {
1509 return true;
1510 }
1511 }
1512 return false;
1513}
1514
1515DocumentObject* DocumentObject::resolve(const char* subname,
1516 App::DocumentObject** parent,

Callers 2

getSubObjectListFlattenFunction · 0.45
getParentsMethod · 0.45

Calls 1

Tested by

no test coverage detected