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

Method areLinksValid

src/App/GeoFeatureGroupExtension.cpp:472–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472bool GeoFeatureGroupExtension::areLinksValid(const DocumentObject* obj)
473{
474
475 if (!obj) {
476 return true;
477 }
478
479 std::vector<App::Property*> list;
480 obj->getPropertyList(list);
481 for (App::Property* prop : list) {
482 if (!isLinkValid(prop)) {
483 return false;
484 }
485 }
486
487 return true;
488}
489
490bool GeoFeatureGroupExtension::isLinkValid(App::Property* prop)
491{

Callers

nothing calls this directly

Calls 1

getPropertyListMethod · 0.45

Tested by

no test coverage detected