CbmRoot
Loading...
Searching...
No Matches
CbmStsAddress::Detail Namespace Reference

Variables

constexpr uint16_t kBits [kCurrentVersion+1][kStsNofLevels]
 
constexpr int32_t kShift [kCurrentVersion+1][kStsNofLevels]
 
constexpr int32_t kMask [kCurrentVersion+1][kStsNofLevels]
 

Variable Documentation

◆ kBits

uint16_t CbmStsAddress::Detail::kBits[kCurrentVersion+1][kStsNofLevels]
inlineconstexpr
Initial value:
= {
{
4,
4,
4,
1,
3,
2,
1
},
{
4,
6,
5,
1,
5,
4,
1
}
}

Definition at line 68 of file CbmStsAddress.h.

◆ kMask

int32_t CbmStsAddress::Detail::kMask[kCurrentVersion+1][kStsNofLevels]
inlineconstexpr
Initial value:
= {
{(1 << kBits[0][0]) - 1, (1 << kBits[0][1]) - 1, (1 << kBits[0][2]) - 1, (1 << kBits[0][3]) - 1,
(1 << kBits[0][4]) - 1, (1 << kBits[0][5]) - 1, (1 << kBits[0][6]) - 1},
{(1 << kBits[1][0]) - 1, (1 << kBits[1][1]) - 1, (1 << kBits[1][2]) - 1, (1 << kBits[1][3]) - 1,
(1 << kBits[1][4]) - 1, (1 << kBits[1][5]) - 1, (1 << kBits[1][6]) - 1}}

Definition at line 105 of file CbmStsAddress.h.

◆ kShift

int32_t CbmStsAddress::Detail::kShift[kCurrentVersion+1][kStsNofLevels]
inlineconstexpr
Initial value:
= {
{0, kShift[0][0] + kBits[0][0], kShift[0][1] + kBits[0][1], kShift[0][2] + kBits[0][2], kShift[0][3] + kBits[0][3],
kShift[0][4] + kBits[0][4], kShift[0][5] + kBits[0][5]},
{0, kShift[1][0] + kBits[1][0], kShift[1][1] + kBits[1][1], kShift[1][2] + kBits[1][2], kShift[1][3] + kBits[1][3],
kShift[1][4] + kBits[1][4], kShift[1][5] + kBits[1][5]}}

Definition at line 96 of file CbmStsAddress.h.