Some useful constants to manipulate bits typically within an unsigned integer of 32 bits.
More...
#include <bayeux/datatools/bit_mask.h>
Some useful constants to manipulate bits typically within an unsigned integer of 32 bits.
!
◆ bit00
const uint32_t datatools::bit_mask::bit00 = 0x00000001 |
|
static |
◆ bit01
const uint32_t datatools::bit_mask::bit01 = 0x00000002 |
|
static |
◆ bit02
const uint32_t datatools::bit_mask::bit02 = 0x00000004 |
|
static |
◆ bit03
const uint32_t datatools::bit_mask::bit03 = 0x00000008 |
|
static |
◆ bit04
const uint32_t datatools::bit_mask::bit04 = 0x00000010 |
|
static |
◆ bit05
const uint32_t datatools::bit_mask::bit05 = 0x00000020 |
|
static |
◆ bit06
const uint32_t datatools::bit_mask::bit06 = 0x00000040 |
|
static |
◆ bit07
const uint32_t datatools::bit_mask::bit07 = 0x00000080 |
|
static |
◆ bit08
const uint32_t datatools::bit_mask::bit08 = 0x00000100 |
|
static |
◆ bit09
const uint32_t datatools::bit_mask::bit09 = 0x00000200 |
|
static |
◆ bit10
const uint32_t datatools::bit_mask::bit10 = 0x00000400 |
|
static |
◆ bit11
const uint32_t datatools::bit_mask::bit11 = 0x00000800 |
|
static |
◆ bit12
const uint32_t datatools::bit_mask::bit12 = 0x00001000 |
|
static |
◆ bit13
const uint32_t datatools::bit_mask::bit13 = 0x00002000 |
|
static |
◆ bit14
const uint32_t datatools::bit_mask::bit14 = 0x00004000 |
|
static |
◆ bit15
const uint32_t datatools::bit_mask::bit15 = 0x00008000 |
|
static |
◆ bit16
const uint32_t datatools::bit_mask::bit16 = 0x00010000 |
|
static |
◆ bit17
const uint32_t datatools::bit_mask::bit17 = 0x00020000 |
|
static |
◆ bit18
const uint32_t datatools::bit_mask::bit18 = 0x00040000 |
|
static |
◆ bit19
const uint32_t datatools::bit_mask::bit19 = 0x00080000 |
|
static |
◆ bit20
const uint32_t datatools::bit_mask::bit20 = 0x00100000 |
|
static |
◆ bit21
const uint32_t datatools::bit_mask::bit21 = 0x00200000 |
|
static |
◆ bit22
const uint32_t datatools::bit_mask::bit22 = 0x00400000 |
|
static |
◆ bit23
const uint32_t datatools::bit_mask::bit23 = 0x00800000 |
|
static |
◆ bit24
const uint32_t datatools::bit_mask::bit24 = 0x01000000 |
|
static |
◆ bit25
const uint32_t datatools::bit_mask::bit25 = 0x02000000 |
|
static |
◆ bit26
const uint32_t datatools::bit_mask::bit26 = 0x04000000 |
|
static |
◆ bit27
const uint32_t datatools::bit_mask::bit27 = 0x08000000 |
|
static |
◆ bit28
const uint32_t datatools::bit_mask::bit28 = 0x10000000 |
|
static |
◆ bit29
const uint32_t datatools::bit_mask::bit29 = 0x20000000 |
|
static |
◆ bit30
const uint32_t datatools::bit_mask::bit30 = 0x40000000 |
|
static |
◆ bit31
const uint32_t datatools::bit_mask::bit31 = 0x80000000 |
|
static |
◆ nbits00
const uint32_t datatools::bit_mask::nbits00 = 0x00000000 |
|
static |
◆ nbits01
const uint32_t datatools::bit_mask::nbits01 = 0x00000001 |
|
static |
◆ nbits02
const uint32_t datatools::bit_mask::nbits02 = 0x00000003 |
|
static |
◆ nbits03
const uint32_t datatools::bit_mask::nbits03 = 0x00000007 |
|
static |
◆ nbits04
const uint32_t datatools::bit_mask::nbits04 = 0x0000000f |
|
static |
◆ nbits05
const uint32_t datatools::bit_mask::nbits05 = 0x0000001f |
|
static |
◆ nbits06
const uint32_t datatools::bit_mask::nbits06 = 0x0000003f |
|
static |
◆ nbits07
const uint32_t datatools::bit_mask::nbits07 = 0x0000007f |
|
static |
◆ nbits08
const uint32_t datatools::bit_mask::nbits08 = 0x000000ff |
|
static |
◆ nbits09
const uint32_t datatools::bit_mask::nbits09 = 0x000001ff |
|
static |
◆ nbits10
const uint32_t datatools::bit_mask::nbits10 = 0x000003ff |
|
static |
◆ nbits11
const uint32_t datatools::bit_mask::nbits11 = 0x000007ff |
|
static |
◆ nbits12
const uint32_t datatools::bit_mask::nbits12 = 0x00000fff |
|
static |
◆ nbits13
const uint32_t datatools::bit_mask::nbits13 = 0x00001fff |
|
static |
◆ nbits14
const uint32_t datatools::bit_mask::nbits14 = 0x00003fff |
|
static |
◆ nbits15
const uint32_t datatools::bit_mask::nbits15 = 0x00007fff |
|
static |
◆ nbits16
const uint32_t datatools::bit_mask::nbits16 = 0x0000ffff |
|
static |
◆ nbits17
const uint32_t datatools::bit_mask::nbits17 = 0x0001ffff |
|
static |
◆ nbits18
const uint32_t datatools::bit_mask::nbits18 = 0x0003ffff |
|
static |
◆ nbits19
const uint32_t datatools::bit_mask::nbits19 = 0x0007ffff |
|
static |
◆ nbits20
const uint32_t datatools::bit_mask::nbits20 = 0x000fffff |
|
static |
◆ nbits21
const uint32_t datatools::bit_mask::nbits21 = 0x001fffff |
|
static |
◆ nbits22
const uint32_t datatools::bit_mask::nbits22 = 0x003fffff |
|
static |
◆ nbits23
const uint32_t datatools::bit_mask::nbits23 = 0x007fffff |
|
static |
◆ nbits24
const uint32_t datatools::bit_mask::nbits24 = 0x00ffffff |
|
static |
◆ nbits25
const uint32_t datatools::bit_mask::nbits25 = 0x01ffffff |
|
static |
◆ nbits26
const uint32_t datatools::bit_mask::nbits26 = 0x03ffffff |
|
static |
◆ nbits27
const uint32_t datatools::bit_mask::nbits27 = 0x07ffffff |
|
static |
◆ nbits28
const uint32_t datatools::bit_mask::nbits28 = 0x0fffffff |
|
static |
◆ nbits29
const uint32_t datatools::bit_mask::nbits29 = 0x1fffffff |
|
static |
◆ nbits30
const uint32_t datatools::bit_mask::nbits30 = 0x3fffffff |
|
static |
◆ nbits31
const uint32_t datatools::bit_mask::nbits31 = 0x7fffffff |
|
static |
◆ nbits32
const uint32_t datatools::bit_mask::nbits32 = 0xffffffff |
|
static |
The documentation for this struct was generated from the following file: