Alchemy
1.0
A framework to robustly process network messages and structured data
|
Represents a single entry for a bit field type definition. More...
#include <bit_field.h>
Public Types | |
enum | |
The BitField Mask can be described with this formula: More... | |
Represents a single entry for a bit field type definition.
In order for BitFields to be packed into a single byte, the BitFields must be grouped in a BitSet definition. This type must be contained within another class that supports a function called value() that returns a value that is convertable to type T.
Definition at line 34 of file bit_field.h.
anonymous enum |
The BitField Mask can be described with this formula:
Mask = (2 ^ (number of bits))-1 << shifted to the left by offset bits.
Definition at line 51 of file bit_field.h.