The Referencable manager associates variables of a particular type to an unique identifier.
This manager is mostly used by iz.classes and iz.serializer. For example, in a setting file, it allows to store the unique identifier associated to a class instance, rather than storing all its properties, as the instance settings may be saved elsewhere. It also allow to serialize fat pointers, such as delegates.
Empties the storage.
Proposes an unique ID for a reference. This is a convenience function that will not return the same values for each software session.
Indicates if a variable is referenced.
Indicates if a type is referenced.
Support for the in operator. Evaluates to true if the variable is referenced otherwise false.
Retrieves a reference without the static type
Retrieves a reference.
Indicates the reference ID of a variable.
Indicates the reference ID of a variable, without using its static type.
Tries to remove the reference matching to an ID.
Removes a reference.
Removes all the references for a type.
Empties the references and the types.
Tries to store a reference.
Stores a type. This is a convenience function since storeReference() automatically stores a type when needed.