Structure with the index of the counter, split as needed. More...
#include <CountersMap.h>
Public Member Functions | |
CounterKey_t () | |
CounterKey_t (BlockKey_t major, CounterIndex_t minor) | |
Constructor from a pair. More... | |
CounterKey_t (Key_t key) | |
Initialize from a mangled key. More... | |
Key_t | Key () const |
Returns the full key. More... | |
operator Key_t () const | |
Conversion of this key into a number (. More... | |
CounterKey_t & | operator++ () |
CounterKey_t & | operator-- () |
CounterKey_t & | operator++ (int) |
CounterKey_t & | operator-- (int) |
CounterKey_t & | start_block () |
Skips to the beginning of this block. More... | |
CounterKey_t & | prev_block () |
Skips to the beginning of the previous block. More... | |
CounterKey_t & | next_block () |
Skips to the beginning of the next block. More... | |
Public Attributes | |
BlockKey_t | block |
key of the counter block More... | |
CounterIndex_t | counter |
index of the counter in the block More... | |
Static Public Attributes | |
static constexpr Key_t | MinorKeyRange = NSubcounters |
Number of values of the minor key. More... | |
static constexpr Key_t | MinorKeyBits = LowestSetBit(MinorKeyRange) |
Number of bits for the minor key. More... | |
static constexpr Key_t | MinorKeyMask = MinorKeyRange - 1 |
Bit mask for the minor key. More... | |
Structure with the index of the counter, split as needed.
Definition at line 296 of file CountersMap.h.
|
inline |
Definition at line 301 of file CountersMap.h.
|
inline |
Constructor from a pair.
Definition at line 304 of file CountersMap.h.
|
inline |
Initialize from a mangled key.
Definition at line 308 of file CountersMap.h.
|
inline |
Returns the full key.
Definition at line 314 of file CountersMap.h.
|
inline |
Skips to the beginning of the next block.
Definition at line 340 of file CountersMap.h.
|
inline |
Conversion of this key into a number (.
Definition at line 317 of file CountersMap.h.
|
inline |
Definition at line 320 of file CountersMap.h.
|
inline |
Definition at line 327 of file CountersMap.h.
|
inline |
Definition at line 322 of file CountersMap.h.
|
inline |
Definition at line 329 of file CountersMap.h.
|
inline |
Skips to the beginning of the previous block.
Definition at line 336 of file CountersMap.h.
|
inline |
Skips to the beginning of this block.
Definition at line 333 of file CountersMap.h.
BlockKey_t lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::CounterKey_t::block |
key of the counter block
Definition at line 297 of file CountersMap.h.
CounterIndex_t lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::CounterKey_t::counter |
index of the counter in the block
Definition at line 298 of file CountersMap.h.
|
static |
Number of bits for the minor key.
Definition at line 348 of file CountersMap.h.
|
static |
Bit mask for the minor key.
Definition at line 351 of file CountersMap.h.
|
static |
Number of values of the minor key.
Definition at line 345 of file CountersMap.h.