maxon.InternedId

Description

maxon.InternedId represents an maxon.Id which has been interned into a pool of unique maxon.Id objects.

I.e., there are no two different Id objects with an equal id string, so for equality comparison you can compare pointers instead of whole strings.

Inheritance diagram

Inheritance

Parent Class:

Methods Signature

__init__([C])

Initializes an maxon.InternedId with the passed data, if a maxon.Data is passed a copy is done.

__repr__()

Returns the string representation of an maxon.InternedId.

Methods Definition

InternedId.__init__(C=None)

Initializes an maxon.InternedId with the passed data, if a maxon.Data is passed a copy is done.

Parameters

C (Optional[maxon.Data]) – The input data to derive the maxon.InternedId.

InternedId.__repr__()

Returns the string representation of an maxon.InternedId.

Return type

str