Quantum 3
3.0.9
A bitmask with 1024 bits. More...
Public Member Functions | |
| void | Clear (Int32 bit) |
| Clear a bit in the bitmask. More... | |
| void | ClearAll () |
| Clear all bits in the bitmask. More... | |
| readonly override Int32 | GetHashCode () |
| Returns the hash code for the BitSet1024. More... | |
| readonly Boolean | IsSet (Int32 bit) |
| Check if a bit is set in the bitmask. More... | |
| void | Set (Int32 bit) |
| Set a bit in the bitmask. More... | |
Static Public Member Functions | |
| static BitSet1024 | FromArray (UInt64[] values) |
| Create a new BitSet1024 and initialize the data from an array. More... | |
| static void | Print (void *ptr, FramePrinter printer) |
| Prints the BitSet1024 using a FramePrinter. More... | |
| static void | Serialize (void *ptr, FrameSerializer serializer) |
| Serializes a BitSet1024 into a FrameSerializer to write or read from a frame snapshot. More... | |
Public Attributes | |
| fixed UInt64 | Bits [16] |
| The data that the bitmask is actually saved to. More... | |
Static Public Attributes | |
| const Int32 | ALIGNMENT = 8 |
| The alignment of the component. More... | |
| const Int32 | BitsSize = 1024 |
| The maximum number of bits that can be stored in this bitmask. More... | |
| const Int32 | SIZE = 128 |
| The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed. More... | |
Properties | |
| readonly Int32 | Length [get] |
| The maximum number of bits that can be stored in this bitmask. More... | |
A bitmask with 1024 bits.
|
inlinestatic |
Prints the BitSet1024 using a FramePrinter.
| ptr | Pointer to BitSet1024 instance |
| printer | Printer object |
|
inlinestatic |
Create a new BitSet1024 and initialize the data from an array.
| values | Array of UInt64 values |
|
inline |
Set a bit in the bitmask.
| bit | Bit index, must be less than Length |
|
inline |
Clear a bit in the bitmask.
| bit | Bit index, must be less than Length |
|
inline |
Clear all bits in the bitmask.
|
inline |
Check if a bit is set in the bitmask.
| bit | Bit index, must be less than Length |
|
inline |
Returns the hash code for the BitSet1024.
|
inlinestatic |
Serializes a BitSet1024 into a FrameSerializer to write or read from a frame snapshot.
| ptr | The pointer to the BitSet1024. |
| serializer | The FrameSerializer instance into which the struct will be serialized. |
|
static |
The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed.
|
static |
The alignment of the component.
| fixed UInt64 Quantum.BitSet1024.Bits[16] |
The data that the bitmask is actually saved to.
|
static |
The maximum number of bits that can be stored in this bitmask.
|
get |
The maximum number of bits that can be stored in this bitmask.