Iterates over all set flags in this bit field.
Array of all enum values (typically from enumValues())
Function to execute for each set flag