Utilites for TypeID. More...
#include <Type.h>
Static Public Member Functions | |
static std::string | toString (TypeID id) |
Convert to string. | |
static int | sizeOf (TypeID id) |
Get size of the type. More... | |
static bool | isPrimitive (TypeID id) noexcept |
Check if type is primitive. | |
static TypeID | getPrimitive (TypeID id) noexcept |
Return the underlying primitve type. | |
static bool | isArray (TypeID id) noexcept |
Check if type is an array of types. | |
static TypeID | getArray (TypeID id) noexcept |
Return the array type. | |
|
static |