#include <CountersMap.h>
Public Types | |
using | value_type = typename CounterMap_t::value_type |
value type: pair More... | |
using | difference_type = std::ptrdiff_t |
using | pointer = const value_type * |
using | reference = const value_type & |
using | iterator_category = std::bidirectional_iterator_tag |
using | iterator_type = CounterMap_t::const_iterator |
this type More... | |
Public Member Functions | |
const_iterator ()=default | |
Default constructor. More... | |
value_type | operator* () const |
Access to the pointed pair. More... | |
iterator_type & | operator++ () |
iterator_type | operator++ (int) |
iterator_type & | operator-- () |
iterator_type | operator-- (int) |
bool | operator== (const iterator_type &as) const |
bool | operator!= (const iterator_type &as) const |
CounterKey_t | key () const |
Returns the key of the pointed item as a CounterKey_t. More... | |
Protected Member Functions | |
const_iterator (typename BaseMap_t::const_iterator it, size_t ix) | |
Private constructor (from a map iterator and a block index) More... | |
Protected Attributes | |
BaseMap_t::const_iterator | iter |
iterator to the block of counters More... | |
CounterIndex_t | index |
index of the counted in the subblock More... | |
Private Attributes | |
friend | CountersMap< K, C, S, A, SUB > |
Definition at line 435 of file CountersMap.h.
using lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::const_iterator::difference_type = std::ptrdiff_t |
Definition at line 442 of file CountersMap.h.
using lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::const_iterator::iterator_category = std::bidirectional_iterator_tag |
Definition at line 445 of file CountersMap.h.
using lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::const_iterator::iterator_type = CounterMap_t::const_iterator |
this type
Definition at line 447 of file CountersMap.h.
using lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::const_iterator::pointer = const value_type* |
Definition at line 443 of file CountersMap.h.
using lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::const_iterator::reference = const value_type& |
Definition at line 444 of file CountersMap.h.
using lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::const_iterator::value_type = typename CounterMap_t::value_type |
value type: pair
Definition at line 441 of file CountersMap.h.
|
default |
Default constructor.
|
inlineprotected |
Private constructor (from a map iterator and a block index)
Definition at line 487 of file CountersMap.h.
|
inline |
Returns the key of the pointed item as a CounterKey_t.
Definition at line 479 of file CountersMap.h.
|
inline |
Definition at line 474 of file CountersMap.h.
|
inline |
Access to the pointed pair.
Definition at line 453 of file CountersMap.h.
|
inline |
Definition at line 455 of file CountersMap.h.
|
inline |
Definition at line 460 of file CountersMap.h.
|
inline |
Definition at line 463 of file CountersMap.h.
|
inline |
Definition at line 469 of file CountersMap.h.
|
inline |
Definition at line 472 of file CountersMap.h.
|
private |
Definition at line 438 of file CountersMap.h.
|
protected |
index of the counted in the subblock
Definition at line 484 of file CountersMap.h.
|
protected |
iterator to the block of counters
Definition at line 482 of file CountersMap.h.