IsBitSet (class MKI_BITFIELD) Renamed in Version 2019.1 |
www.CAD6.com |
C++ Syntaxbool MKI_BITFIELD::IsBitSet( const unsigned f_unBitNum ) const;
Checks the state of the given bit.
ParametersBitNum [const unsigned] Number of the bit to access. Bit 0 is the highest bit in the first byte, bit 7 is the lowest bit in the first byte, bit 8 is the highest bit in the second byte, and so on.
Return ValueReturns true if the given bit is 1. If BitNum is out of range, false will be returned.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH