Karma Engine
|
#include <SubClassOf.h>
Public Types | |
typedef TChooseClass< TIsDerivedFrom< TClass, FField >::IsDerived, FFieldClass, UClass >::Result | TClassType |
typedef TChooseClass< TIsDerivedFrom< TClass, FField >::IsDerived, FField, UObject >::Result | TBaseType |
Public Member Functions | |
TSubclassOf () | |
TSubclassOf (TClassType *From) | |
template<typename U , std::enable_if_t< !TIsTSubclassOf< std::decay_t< U > >::Value, decltype(ImplicitConv< TClassType * >(std::declval< U >())) > * = nullptr> | |
TSubclassOf (U &&From) | |
template<class TClassA , class = decltype(ImplicitConv<TClass*>((TClassA*)nullptr))> | |
TSubclassOf (const TSubclassOf< TClassA > &From) | |
template<class TClassA , class = decltype(ImplicitConv<TClass*>((TClassA*)nullptr))> | |
TSubclassOf & | operator= (const TSubclassOf< TClassA > &From) |
TSubclassOf & | operator= (TClassType *From) |
template<typename U , std::enable_if_t< !TIsTSubclassOf< std::decay_t< U > >::Value, decltype(ImplicitConv< TClassType * >(std::declval< U >())) > * = nullptr> | |
TSubclassOf & | operator= (U &&From) |
TClassType * | operator* () const |
TClassType * | Get () const |
TClassType * | operator-> () const |
operator TClassType * () const | |
TClass * | GetDefaultObject () const |
Template to allow TClassType's to be passed around with type safety
|
inline |
Default Constructor, defaults to null
|
inline |
Constructor that takes a UClass and does a runtime check to make sure this is a compatible class
|
inline |
Constructor that takes a UClass and does a runtime check to make sure this is a compatible class
|
inline |
Copy Constructor, will only compile if types are compatible
|
inline |
Dereference back into a UClass
|
inline |
Get the CDO if we are referencing a valid class
|
inline |
Implicit conversion to UClass
|
inline |
Dereference back into a UClass, does runtime type checking
|
inline |
Dereference back into a UClass
|
inline |
Assignment operator, will only compile if types are compatible
|
inline |
Assignment operator from UClass, the type is checked on get not on set
|
inline |
Assignment operator from UClass, the type is checked on get not on set