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
Name | Description |
---|
Cflags | Class constructor. |
clear | Sets flags to zero. |
get | Gets mask value. |
set | Sets mask value. |
enable | Enables passed mask bits. |
enableOnly | Enables only mask passed. |
enableMask | Enables mask and value. |
disable | Disable bits passed. |
isAnyEnabled | Checks whether any bit is enabled. |
isAnyDisabled | Checks whether any bit is disabled. |
isEnabled | Checks the mask passed. |
isEnabledOnly | Checks whether the mask passed is the same as it have. |
isDisabled | Checks whether the mask passed is disabled. |
areAllEnabled | Checks whether all bits passed are enabled. |
areAllDisabled | Checks whetehr all bits passed are disabled. |
invert | Inverts mask. |
isEqual | Checks another Cflags object is equal. |