maxon.InternedId¶
Description¶
maxon.InternedId represents an maxon.Id which has been interned into a pool of unique
maxon.Id objects.Methods Signature¶
|
Checks if other interned string value is equal to the current value`. |
|
Initializes an |
|
Checks if other interned string value is unequal to the current value`. |
|
Returns the string representation of an |
Methods Definition¶
-
InternedId.__eq__(other)¶ Checks if other interned string value is equal to the current value`.
- Parameters
other (Union[str,
maxon.Stringmaxon.Id,maxon.InternedId]) – The other identifier to compare.- Returns
True if other is equal to the current value, otherwise False.
- Return type
bool
-
InternedId.__init__(C=None)¶ Initializes an
maxon.InternedIdwith the passed data, if a maxon.Data is passed a copy is done.- Parameters
C (Optional[
maxon.Data]) – The input data to derive themaxon.InternedId.
-
InternedId.__ne__(other)¶ Checks if other interned string value is unequal to the current value`.
- Parameters
other (Union[str,
maxon.Stringmaxon.Id,maxon.InternedId]) – The other identifier to compare.- Returns
True if other is unequal to the current value, otherwise False.
- Return type
bool
-
InternedId.__repr__()¶ Returns the string representation of an
maxon.InternedId.- Return type
str