Template to allow TClassType's to be passed around with type safety 更多...
#include <SubclassOf.h>
Public 成员函数 | |
| FORCEINLINE TClassType * | Get () const |
| Dereference back into a UClass | |
| FORCEINLINE TClass * | GetDefaultObject () const |
| Get the CDO if we are referencing a valid class 更多... | |
| FORCEINLINE | operator TClassType * () const |
| Implicit conversion to UClass | |
| FORCEINLINE TClassType * | operator* () const |
| Dereference back into a UClass, does runtime type checking | |
| FORCEINLINE TClassType * | operator-> () const |
| Dereference back into a UClass | |
| template<class TClassA , class = decltype(ImplicitConv<TClass*>((TClassA*)nullptr))> | |
| FORCEINLINE TSubclassOf & | operator= (const TSubclassOf< TClassA > &From) |
| Assignment operator, will only compile if types are compatible | |
| FORCEINLINE TSubclassOf & | operator= (TClassType *From) |
| Assignment operator from UClass, the type is checked on get not on set | |
| FORCEINLINE | TSubclassOf () |
| Default Constructor, defaults to null | |
| template<class TClassA , class = decltype(ImplicitConv<TClass*>((TClassA*)nullptr))> | |
| FORCEINLINE | TSubclassOf (const TSubclassOf< TClassA > &From) |
| Copy Constructor, will only compile if types are compatible | |
| FORCEINLINE | TSubclassOf (TClassType *From) |
| Constructor that takes a UClass and does a runtime check to make sure this is a compatible class | |
Template to allow TClassType's to be passed around with type safety
|
inline |
Get the CDO if we are referencing a valid class