Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • ClassRegistry

Index

Constructors

constructor

Properties

Private constructorToTypeInfo

constructorToTypeInfo: any

Private registerClassWithShortId

registerClassWithShortId: any

Private shortTypeIdToTypeInfo

shortTypeIdToTypeInfo: any

Private startingId

startingId: any

Private typeIdToTypeInfo

typeIdToTypeInfo: any

Methods

getTypeIdToShortTypeIdMapping

  • Dump the entire type mapping to allow us to send it to others

    Returns [TypeId, ShortTypeId][]

getTypeInfoByConstructor

  • Parameters

    Returns undefined | TypeInfo<T>

getTypeInfoByShortTypeId

  • Parameters

    Returns undefined | TypeInfo<T>

getTypeInfoByTypeId

  • Parameters

    Returns undefined | TypeInfo<T>

getTypeInfoByTypeName

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

    • typeName: string

    Returns undefined | TypeInfo<T>

registerClass

  • Parameters

    Returns TypeInfo<T>

setTypeIdToShortTypeIdMapping

  • Receive the dumped mapping and overwrite our mapping with it.

    Parameters

    Returns void

Static getTypeIdFromTypeName

  • getTypeIdFromTypeName(typeName: string): TypeId
  • Parameters

    • typeName: string

    Returns TypeId

Generated using TypeDoc