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

Method getSubPathStr

src/App/ObjectIdentifier.cpp:531–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531void ObjectIdentifier::getSubPathStr(std::ostream& s,
532 const ResolveResults& result,
533 bool toPython) const
534{
535 std::vector<Component>::const_iterator i = components.begin() + result.propertyIndex + 1;
536 while (i != components.end()) {
537 if (i->isSimple()) {
538 s << '.';
539 }
540 i->toString(s, toPython);
541 ++i;
542 }
543}
544
545std::string ObjectIdentifier::getSubPathStr(bool toPython) const
546{

Callers 9

getIdMethod · 0.80
addMethod · 0.80
getPathValueMethod · 0.80
getPyPathValueMethod · 0.80
setPathValueMethod · 0.80
getPathValueMethod · 0.80
getPyPathValueMethod · 0.80
assignToPropertyMethod · 0.80
_dataMethod · 0.80

Calls 5

ResolveResultsClass · 0.85
beginMethod · 0.45
endMethod · 0.45
toStringMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected