#include <TypeInfoSimple.h>
Static Public Member Functions | |
static AZ::TypeId | Uuid () |
static AZ::TypeId | GetCanonicalTypeId () |
static AZ::TypeId | GetPointeeTypeId () |
static AZ::TemplateId | GetTemplateId () |
static const char * | Name () |
static constexpr TypeTraits | GetTypeTraits () |
static constexpr size_t | Size () |
Since O3DE fully support cross shared libraries (DLL) operation, it does not rely on typeid, static templates, etc. to generate the same result in different compilations. A unique ID for each type is required. By default the code will try to access to a static GetO3deTypeName/GetO3deTypeId functions inside a class the type info metadata. For types when intrusive is not an option(fundamental types such as int, float or enums), the class will need to specialize the AzTypeInfo.
|
inlinestatic |
Used for aggregation of TypeIds when part of a template argument Returns the canonical type id of the actual type when a value type such as int or AZStd::string
When type T is a pointer Calls the PointeeTypeId function to retrieve the TypeId of for type T instead of T* This is different from the other AzTypeInfo T types Required for maintaining backwards compatibility with code that expects AzTypeInfo<int*>::Uuid() == AzTypeInfo<int>::Uuid()