| 
| static int  | Compare (const ON_NameHash &a, const ON_NameHash &b) | 
|   | Compares id, then length, then SHA-1 digest.  More...
  | 
|   | 
| static int  | CompareNameSHA1 (const ON_NameHash &a, const ON_NameHash &b) | 
|   | 
| static int  | CompareNameSHA1Ptr (const ON_NameHash *a, const ON_NameHash *b) | 
|   | 
| static int  | CompareParentId (const ON_NameHash &a, const ON_NameHash &b) | 
|   | 
| static int  | CompareParentIdPtr (const ON_NameHash *a, const ON_NameHash *b) | 
|   | 
| static int  | ComparePtr (const ON_NameHash *a, const ON_NameHash *b) | 
|   | Compares id, then length, then SHA-1 digest.  More...
  | 
|   | 
| static ON_NameHash  | Create (const ON_wString &name) | 
|   | 
| static ON_NameHash  | Create (const wchar_t *name) | 
|   | 
| static ON_NameHash  | Create (size_t length, const wchar_t *name) | 
|   | 
| static ON_NameHash  | Create (const ON_String &utf8_name) | 
|   | 
| static ON_NameHash  | Create (const char *utf8_name) | 
|   | 
| static ON_NameHash  | Create (size_t length, const char *utf8_name) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const ON_wString &name) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const wchar_t *name) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, size_t length, const wchar_t *name) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const ON_String &name) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const char *utf8_name) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, size_t length, const char *utf8_name) | 
|   | 
| static ON_NameHash  | Create (const ON_wString &name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const wchar_t *name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (size_t length, const wchar_t *name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const ON_String &name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const char *utf8_name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (size_t length, const char *utf8_name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const ON_wString &name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const wchar_t *name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, size_t length, const wchar_t *name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const ON_String &utf8_name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, const char *utf8_name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | Create (const ON_UUID &parent_id, size_t length, const char *utf8_name, bool bIgnoreCase) | 
|   | 
| static ON_NameHash  | CreateFilePathHash (const class ON_FileReference &file_reference) | 
|   | 
| static ON_NameHash  | CreateFilePathHash (const wchar_t *file_path) | 
|   | 
| static ON_NameHash  | CreateFilePathHash (const char *file_path) | 
|   | 
| static ON_NameHash  | CreateIdAndEmptyName (const ON_UUID &parent_id) | 
|   | 
| static ON_NameHash  | CreateIdAndUnsetName (const ON_UUID &parent_id) | 
|   | 
| static ON_NameHash  | Internal_DotNetInterfaceSet (const ON_UUID &, const ON_SHA1_Hash &, const ON__UINT32) | 
|   | Internal_CreateFromDotNet() is public for technical reasons. It is used in Rhino Common p-invoke code that provides a .NET interface to the services ON_NameHash provided by the ON_NameHash class. This function should be ignored and never called from ordinary C++ code. If you choose to ignore the preceding admonition, you will have to read the source code for information about how this function works.  More...
  | 
|   | 
An ON_NameHash is designed to help search for and compare attribute names like the ON_ModelComponent.Name() value. 
If a name is wchar_t encoded as wide_char_name and UTF-8 encoded as utf8_name, then ON_NameHash(wide_char_name) == ON_NameHash(utf8_name).
Set: bool bEqualNameHash = ON_NameHash::Create(parent_id1,name1) == ON_NameHash::Create(parent_id2,name2); bool bEqualParentId = (parent_id1 == parent_id2) bool bEqualAttributeName = ON_String::EqualAttributeName(name1,name2);
If (bEqualParentId && bEqualAttributeName) is true, then bEqualNameHash is true. If bEqualParentId is false, then bEqualNameHash is false. With probablity 1-epsilon, if bEqualAttributeName is false, then bEqualNameHash is false, where epsilon is an extremely tiny number.