MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / hash_elements

Function hash_elements

src/ifcgeom/taxonomy.h:904–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902 }
903
904 uint32_t hash_elements() const {
905 size_t h = 0;
906 for (auto& c : children) {
907 boost::hash_combine(h, c->hash());
908 }
909 // @todo should we really use uint32_t instead of size_t for hashes?
910 return (uint32_t) h;
911 }
912 };
913
914 struct IFC_GEOM_API collection : public collection_base<geom_item> {

Callers 1

calc_hashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected