nw::ut::GetFlagValue Function

Syntax

template <typename TResult, typename TFlags, typename TMask>
TResult GetFlagValue(
     const TFlags & flags,
     int shift,
     const TMask & mask
);

Arguments

Name Description
in flags The current bit field.
in shift Bit shift used for getting.
in mask Mask used for getting.

Return Values

Returns the bit value of the specified mask.

Description

Gets the bit value of the specified mask in the bit field.


CONFIDENTIAL