RhinoCommon API
NameHash Class |
Contains information that is useful to uniquly identify an object name.
Remarks
This object is immutable.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
The NameHash type exposes the following members.
| Name | Description | |
|---|---|---|
| NameHash(String) |
Creates a new NameHash, representing a piece of text.
| |
| NameHash(NameHash) |
Constructs a copy of a content hash.
| |
| NameHash(String, Guid) |
Creates a new NameHash, representing a piece of text.
| |
| NameHash(String, Guid, ModelComponentType) |
Creates a new NameHash, representing a piece of text.
| |
| NameHash(String, Guid, Boolean) |
Creates a new NameHash, representing a piece of text.
|
| Name | Description | |
|---|---|---|
| MappedCodePoints |
Gets the NameHash flags. In some cases = number of mapped code points.
| |
| ParentId |
Only useful if this participates in a tree structure, as with layers.
| |
| Sha1Hash |
Gets the 20-bytes long SHA-1 hash of ordinal minimum mapped unicode (UTF-32) code points.
|
| Name | Description | |
|---|---|---|
| Clone |
Creates a copy of this name hash.
Because content hash is immutable, this can be used as a deep copy.
| |
| CreateFilePathHash |
Creates a new NameHash, representing the name of a file.
| |
| Equals(Object) |
Determines if another object is a name hash with same value.
(Overrides ObjectEquals(Object).) | |
| Equals(NameHash) |
Determines if another name hash has the same value.
| |
| Finalize | (Inherited from Object.) | |
| GetHashCode |
Gets an hash code for this name hash.
Two equal content hashes have equal hash code. The other way around might not be true.
(Overrides ObjectGetHashCode.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Equality |
Determines if two NameHash instances are equal by value.
| |
| Inequality |
Determines if two NameHash instances are different by value.
|