CvBitfield::GetBit(uint) const
- Defined in
- CvBitfield.h, line 23
- Class
- CvBitfield
- Not a hook point
- written in a header
Code
22 /// Get a bit23 bool GetBit(uint uiIndex) const24 {25 uint uiByteIndex = uiIndex >> 3;26 if (uiByteIndex < m_uiByteSize)27 {28 return (m_pBits[uiByteIndex] & (1 << (uiIndex&0x7))) != 0;29 }30 return false;31 }