22 #if !defined(OPENNURBS_HASH_TABLE_INC_) 23 #define OPENNURBS_HASH_TABLE_INC_ 34 ON__UINT32 HashTableSerialNumber()
const;
36 static ON__UINT32 Hash32FromSHA1Hash(
40 static ON__UINT32 Hash32FromId(
47 mutable ON__UINT32 m_internal_hash32 = 0;
48 mutable ON__UINT32 m_internal_hash_table_sn = 0;
66 ON__UINT32 HashTableSerialNumber()
const;
136 unsigned int RemoveAllItems();
143 unsigned int RemoveAllItems(
151 unsigned int ItemCount()
const;
153 bool IsValid()
const;
156 const ON__UINT32 m_hash_table_sn;
157 ON__UINT32 m_reserved = 0;
158 mutable ON__UINT32 m_hash_table_capacity = 0;
159 ON__UINT32 m_item_count = 0;
162 void Internal_AdjustTableCapacity(
163 ON__UINT32 item_count
ON_UUID is a 16 byte universally unique identifier.
Definition: opennurbs_uuid.h:32
Definition: opennurbs_sha1.h:19
Definition: opennurbs_fsp.h:19
A hash table designed to be used for items with high quality 32-bit hash values.
Definition: opennurbs_hash_table.h:54
Definition: opennurbs_hash_table.h:25