| 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> { |