Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/TTypeContainer
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/TypeContainer.h |
Include | #include "Misc/TypeContainer.h" |
template<class R, class T, typename... P>
void RegisterClass
&40;
ETypeContainerScope Scope
&41;
Remarks
Registers a class for instances of the specified class.
Parameters
Name | Description |
---|---|
R | The type of class to register an instance class for. |
T | Tye type of class to register (must be the same as or derived from R). |
P | The constructor parameters that the class requires. |
Scope | The scope at which instances must be unique (default = Process). |