inochi2d.core.registry

Shared core subsystem for type registration and instantiation.

Members

Enums

IN_MAKE_TAG
eponymoustemplate IN_MAKE_TAG(ubyte subclass, ubyte superclass)

Creates a reserved Inochi2D ID tag.

Mixin templates

Register
mixintemplate Register(T, alias registry)

Template which registers a type into a given type registry.

Structs

RegisterFallback
struct RegisterFallback

Tells the registry that the type should be used as a fallback if the type can't be resolved.

TypeId
struct TypeId

A UDA applied to types in Inochi2D to allow them to be instantiated using an object model. Types both may have a string and numeric ID.

TypeIdAbstract
struct TypeIdAbstract

Tells the registry only to register the TypeId, but not the factories for a type.

TypeRegistry
struct TypeRegistry(T, Args...)

A type registry that stores mappings between name and numeric IDs and their classes.

Meta

Authors

Luna Nielsen