Return true if permissions uses only bits defined in Enum.
Declared in <bdls_filepermissions.h>
static
bool
isValid(int permissions);
Return true if the specified permissions bit mask consists only of bits defined in Enum (i.e., bits in k_MASK), and false otherwise. A negative value always returns false.
true if permissions uses only defined bits, and false otherwise
| Name | Description |
|---|---|
| permissions | permission bit mask to validate |