nw::ut::SetFlagValue Function
template <typename TFlags, typename TMask, typename TValue>
TFlags SetFlagValue(
const TFlags & flags,
int shift,
const TMask & mask,
const TValue & value
);
| Name | Description | |
|---|---|---|
| in | flags | The current bit field. |
| in | shift | Bit shift used for the setting. |
| in | mask | Mask used for the setting. |
| in | value | Bit value to be set. |
Sets the bit value of the specified mask in the bit field.
CONFIDENTIAL