Open 3D Engine AzNetworking API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Interface for a structure optimized for representing an array of bits. More...
#include <IBitset.h>
Inherited by AzNetworking::FixedSizeBitset< 1, uint8_t >, AzNetworking::FixedSizeBitset< CAPACITY, uint8_t >, AzNetworking::FixedSizeVectorBitset< 255 >, AzNetworking::FixedSizeBitset< SIZE, ElementType >, AzNetworking::FixedSizeBitsetView, and AzNetworking::FixedSizeVectorBitset< CAPACITY, ElementType >.
Public Member Functions | |
virtual void | SetBit (uint32_t index, bool value)=0 |
virtual bool | GetBit (uint32_t index) const =0 |
virtual bool | AnySet () const =0 |
virtual uint32_t | GetValidBitCount () const =0 |
Interface for a structure optimized for representing an array of bits.
|
pure virtual |
Returns true if any bit is raised, false otherwise.
Implemented in AzNetworking::FixedSizeVectorBitset< CAPACITY, ElementType >, AzNetworking::FixedSizeVectorBitset< 255 >, AzNetworking::FixedSizeBitsetView, AzNetworking::FixedSizeBitset< SIZE, ElementType >, AzNetworking::FixedSizeBitset< 1, uint8_t >, and AzNetworking::FixedSizeBitset< CAPACITY, uint8_t >.
|
pure virtual |
Gets the current value of the specified bit.
index | index of the bit to retrieve the value of |
Implemented in AzNetworking::FixedSizeVectorBitset< CAPACITY, ElementType >, AzNetworking::FixedSizeVectorBitset< 255 >, AzNetworking::FixedSizeBitsetView, AzNetworking::FixedSizeBitset< SIZE, ElementType >, AzNetworking::FixedSizeBitset< 1, uint8_t >, and AzNetworking::FixedSizeBitset< CAPACITY, uint8_t >.
|
pure virtual |
Returns the number of bits that are represented in this fixed size bitset.
Implemented in AzNetworking::FixedSizeVectorBitset< CAPACITY, ElementType >, AzNetworking::FixedSizeVectorBitset< 255 >, AzNetworking::FixedSizeBitsetView, AzNetworking::FixedSizeBitset< SIZE, ElementType >, AzNetworking::FixedSizeBitset< 1, uint8_t >, and AzNetworking::FixedSizeBitset< CAPACITY, uint8_t >.
|
pure virtual |
Sets the specified bit to the provided value.
index | index of the bit to set |
value | value to set the bit to |
Implemented in AzNetworking::FixedSizeVectorBitset< CAPACITY, ElementType >, AzNetworking::FixedSizeVectorBitset< 255 >, AzNetworking::FixedSizeBitsetView, AzNetworking::FixedSizeBitset< SIZE, ElementType >, AzNetworking::FixedSizeBitset< 1, uint8_t >, and AzNetworking::FixedSizeBitset< CAPACITY, uint8_t >.