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

Method count

src/App/StringHasher.cpp:777–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777size_t StringHasher::count() const
778{
779 size_t count = 0;
780 for (auto& hasher : _hashes->right) {
781 if (hasher.second->isMarked() || hasher.second->isPersistent()) {
782 ++count;
783 }
784 }
785 return count;
786}
787
788void StringHasher::Restore(Base::XMLReader& reader)
789{

Callers 9

SaveMethod · 0.95
SaveDocFileMethod · 0.95
adjustRelativeLinksMethod · 0.45
hasObjectMethod · 0.45
openDocumentsMethod · 0.45
uniqueInstanceIdMethod · 0.45
processProgramOptionsFunction · 0.45
addPropertyMethod · 0.45
getCountMethod · 0.45

Calls 2

isPersistentMethod · 0.80
isMarkedMethod · 0.45

Tested by

no test coverage detected