Get the enum flag value of an existing type or register a new type.
The name of the type.
The enum flag value associated with that type.
Get the enum flag value of an existing type or register a new type.