MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / operator<

Method operator<

src/App/ObjectIdentifier.cpp:231–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231bool ObjectIdentifier::operator<(const ObjectIdentifier& other) const
232{
233 if (owner < other.owner) {
234 return true;
235 }
236 if (owner > other.owner) {
237 return false;
238 }
239 return toString() < other.toString();
240}
241
242int ObjectIdentifier::numComponents() const
243{

Callers

nothing calls this directly

Calls 2

toStringFunction · 0.70
toStringMethod · 0.45

Tested by

no test coverage detected