Cflags

C++Python
Cflags<Cprecision>CflagsWord

Template class to manage flags. In Python a instantiated class is available where Cprecision = word (unsigned short).

Inherited by

CoptionsReadMXS.

Methods

NameDescription
CflagsClass constructor.
clearSets flags to zero.
getGets mask value.
setSets mask value.
enableEnables passed mask bits.
enableOnlyEnables only mask passed.
enableMaskEnables mask and value.
disableDisable bits passed.
isAnyEnabledChecks whether any bit is enabled.
isAnyDisabledChecks whether any bit is disabled.
isEnabledChecks the mask passed.
isEnabledOnlyChecks whether the mask passed is the same as it have.
isDisabledChecks whether the mask passed is disabled.
areAllEnabledChecks whether all bits passed are enabled.
areAllDisabledChecks whetehr all bits passed are disabled.
invertInverts mask.
isEqualChecks another Cflags object is equal.