ConstIterator Class
Forward iterator over dense bindings. More...
Declaration
Public Member Typedefs Index
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = Binding |
| using | difference_type = std::ptrdiff_t |
| using | pointer = void |
| using | reference = value_type |
Public Constructors Index
| ConstIterator (const HandleMultiMap *map, std::size_t start_idx) noexcept | |
|
Constructs an iterator at the given dense value index. More... | |
Public Operators Index
| reference | operator* () const noexcept |
|
Returns the current binding by value. More... | |
| ConstIterator & | operator++ () noexcept |
|
Advances to the next dense binding. More... | |
| ConstIterator | operator++ (int) noexcept |
|
Advances to the next dense binding and returns the previous iterator state. More... | |
| bool | operator== (const ConstIterator &other) const noexcept |
|
Checks iterator equality. More... | |
| bool | operator!= (const ConstIterator &other) const noexcept |
|
Checks iterator inequality. More... | |
Private Member Attributes Index
| const HandleMultiMap * | map_ |
| std::size_t | current_idx_ |
Description
Forward iterator over dense bindings.
Definition at line 69 of file HandleMultiMap.ixx.
Public Member Typedefs
difference_type
|
Definition at line 76 of file HandleMultiMap.ixx.
iterator_category
|
Definition at line 74 of file HandleMultiMap.ixx.
pointer
|
Definition at line 77 of file HandleMultiMap.ixx.
reference
|
Definition at line 78 of file HandleMultiMap.ixx.
value_type
|
Definition at line 75 of file HandleMultiMap.ixx.
Public Constructors
ConstIterator()
| inline noexcept |
Constructs an iterator at the given dense value index.
- Parameters
-
map Owning map.
start_idx Start index within denseValues_.
Definition at line 86 of file HandleMultiMap.ixx.
Public Operators
operator!=()
| inline noexcept |
Checks iterator inequality.
Definition at line 125 of file HandleMultiMap.ixx.
Reference helios::registerComponents.
operator*()
| inline noexcept |
Returns the current binding by value.
Definition at line 90 of file HandleMultiMap.ixx.
Reference helios::registerComponents.
operator++()
| inline noexcept |
Advances to the next dense binding.
Definition at line 106 of file HandleMultiMap.ixx.
operator++()
| inline noexcept |
Advances to the next dense binding and returns the previous iterator state.
Definition at line 112 of file HandleMultiMap.ixx.
Reference helios::registerComponents.
operator==()
| inline noexcept |
Checks iterator equality.
Definition at line 119 of file HandleMultiMap.ixx.
Reference helios::registerComponents.
Private Member Attributes
current_idx_
|
Definition at line 71 of file HandleMultiMap.ixx.
map_
|
Definition at line 70 of file HandleMultiMap.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.