Offers utilities to convert from structures or enums to strings, and vice versa. More...
Static Public Member Functions | |
static nkMemory::StringView | getStringFromComponentType (COMPONENT_TYPE type) |
static COMPONENT_TYPE | getComponentTypeFromString (nkMemory::StringView name) |
static nkMemory::StringView | getStringFromLayoutType (LAYOUT_TYPE type) |
static LAYOUT_TYPE | getLayoutTypeFromString (nkMemory::StringView name) |
Offers utilities to convert from structures or enums to strings, and vice versa.
|
static |
Converts a component type to its attached string.
type | The type to convert. |
|
static |
Converts a string to its attached component type.
name | The string describing a type. |
|
static |
Converts a layout type to its attached string.
type | The type to convert. |
|
static |
Converts a string to its attached layout type.
name | The string describing a type. |