gwnavruntime/containers/bitfieldblob.h Source File
Go to the documentation of this file.
7 #ifndef Navigation_BitFieldBlob_H
8 #define Navigation_BitFieldBlob_H
23 KY_INLINE
KyUInt32 GetBitCount()
const {
return m_bitsCount; }
24 KY_INLINE
bool IsBitSet(
KyUInt32 bitIndex)
const {
return BitFieldUtils::IsBitSet(m_words.GetValues() , bitIndex); }
27 BlobArray<KyUInt32> m_words;
32 SwapEndianness(e,
self.m_bitsCount);
33 SwapEndianness(e,
self.m_words);
37 class BitFieldBlobBuilder :
public BaseBlobBuilder<BitFieldBlob>
40 BitFieldBlobBuilder(BitFieldBase* bitField) : m_bitField(bitField) {}
42 virtual void DoBuild();
45 BitFieldBase* m_bitField;
50 #endif // Navigation_BitFieldBlob_H
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
Definition: gamekitcrowddispersion.h:20
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36