Quantum 3 3.0.13

Public Member Functions | Properties | List of all members
Quantum.TypeRegistry Class Reference

The Quantum type registry. More...

Public Member Functions

 TypeRegistry ()
 Creates a new instance of the type registry and adds built-in types. More...
 
void Register (Type type, int size)
 Registers a type and its size. More...
 

Properties

ReadOnlyDictionary< Type, int > Types [get]
 Creates a list of all types. More...
 

Detailed Description

The Quantum type registry.

Constructor & Destructor Documentation

◆ TypeRegistry()

Quantum.TypeRegistry.TypeRegistry ( )
inline

Creates a new instance of the type registry and adds built-in types.

Member Function Documentation

◆ Register()

void Quantum.TypeRegistry.Register ( Type  type,
int  size 
)
inline

Registers a type and its size.

Parameters
typeType
sizeSize

Property Documentation

◆ Types

ReadOnlyDictionary<Type, int> Quantum.TypeRegistry.Types
get

Creates a list of all types.