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

Method getObjectsWithExtension

src/App/Document.cpp:3945–3956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3943}
3944
3945std::vector<DocumentObject*> Document::getObjectsWithExtension(const Base::Type& typeId,
3946 const bool derived) const
3947{
3948
3949 std::vector<DocumentObject*> Objects;
3950 for (auto it : d->objectArray) {
3951 if (it->hasExtension(typeId, derived)) {
3952 Objects.push_back(it);
3953 }
3954 }
3955 return Objects;
3956}
3957
3958
3959std::vector<DocumentObject*>

Callers

nothing calls this directly

Calls 2

hasExtensionMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected