![]() |
MCRO
C++23 utilities for Unreal Engine.
|
Group together type info for identification. Can have an invalid state when no type is specified. More...
#include <TypeInfo.h>
Data Structures | |
| struct | TTag |
Public Member Functions | |
| template<typename T > | |
| constexpr | FType (TTag< T > &&) |
| constexpr | FType () |
| constexpr FStringView | ToString () const |
| FORCEINLINE FString | ToStringCopy () const |
| constexpr bool | IsValid () const |
| constexpr | operator bool () const |
| constexpr bool | IsCompatibleWith (FType const &other) const |
| check to see if pointers of this and the other types are safe to cast between | |
| template<typename Other > | |
| constexpr bool | IsCompatibleWith () const |
| check to see if pointers of this and the other types are safe to cast between | |
| constexpr const FTypeHash * | begin () const |
| constexpr const FTypeHash * | end () const |
| constexpr size_t | size () const |
Data Fields | |
| FStringView | Name |
| FTypeHash | Hash = 0 |
Static Public Attributes | |
| static constexpr int32 | MaxBaseCount = 64 |
Friends | |
| constexpr bool | operator== (FType const &left, FType const &right) |
| constexpr bool | operator!= (FType const &left, FType const &right) |
| constexpr uint32 | GetTypeHash (FType const &self) |
Group together type info for identification. Can have an invalid state when no type is specified.
If given type also explicitly list its inheritance (through TInherit for example) base types are also stored for type safety checks.
Definition at line 31 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 39 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 57 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 94 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 95 of file TypeInfo.h.
|
constexpr |
check to see if pointers of this and the other types are safe to cast between
Definition at line 107 of file TypeInfo.h.
|
inlineconstexpr |
check to see if pointers of this and the other types are safe to cast between
Definition at line 69 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 65 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 66 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 96 of file TypeInfo.h.
|
inlineconstexpr |
Definition at line 62 of file TypeInfo.h.
|
inline |
Definition at line 63 of file TypeInfo.h.
|
friend |
Definition at line 89 of file TypeInfo.h.
Definition at line 87 of file TypeInfo.h.
Definition at line 86 of file TypeInfo.h.
| FTypeHash Mcro::TypeInfo::FType::Hash = 0 |
Definition at line 60 of file TypeInfo.h.
|
staticconstexpr |
Definition at line 33 of file TypeInfo.h.
| FStringView Mcro::TypeInfo::FType::Name |
Definition at line 59 of file TypeInfo.h.