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

Method canonicalPath

src/App/ObjectIdentifier.cpp:1267–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265
1266
1267ObjectIdentifier ObjectIdentifier::canonicalPath() const
1268{
1269 ObjectIdentifier res(*this);
1270 ResolveResults result(res);
1271 if (result.resolvedDocumentObject && result.resolvedDocumentObject != owner) {
1272 res.owner = result.resolvedDocumentObject;
1273 res._cache.clear();
1274 }
1275 res.resolveAmbiguity(result);
1276 if (!result.resolvedProperty || result.propertyType != PseudoNone) {
1277 return res;
1278 }
1279 return result.resolvedProperty->canonicalPath(res);
1280}
1281
1282static const std::map<std::string, std::string>* _DocumentMap;
1283ObjectIdentifier::DocumentMapper::DocumentMapper(const std::map<std::string, std::string>& map)

Callers

nothing calls this directly

Calls 2

resolveAmbiguityMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected