Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClassRegistry<T>

Type parameters

  • T

Hierarchy

  • ClassRegistry

Index

Constructors

constructor

Properties

Private constructorToTypeInfo

constructorToTypeInfo: Map<Constructor<T>, TypeInfo<T>> = ...

Private shortTypeIdToTypeInfo

shortTypeIdToTypeInfo: TypeInfo<T>[] = ...

Private startingId

startingId: number = ...

Private typeIdToTypeInfo

typeIdToTypeInfo: Map<TypeId, TypeInfo<T>> = ...

Methods

getTypeIdToShortTypeIdMapping

getTypeInfoByConstructor

getTypeInfoByShortTypeId

getTypeInfoByTypeId

getTypeInfoByTypeName

  • getTypeInfoByTypeName(typeName: string): undefined | TypeInfo<T>

registerClass

Private registerClassWithShortId

setTypeIdToShortTypeIdMapping

Static getTypeIdFromTypeName

  • getTypeIdFromTypeName(typeName: string): TypeId

Generated using TypeDoc