Open 3D Engine Atom Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Forward iterator for StableDynamicArray. More...
#include <StableDynamicArray.h>
Inherited by AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::const_iterator.
Public Types | |
using | iterator_category = AZStd::forward_iterator_tag |
using | value_type = T |
using | reference = T & |
using | pointer = T * |
Public Member Functions | |
iterator (Page *firstPage) | |
reference | operator* () const |
pointer | operator-> () const |
bool | operator== (const this_type &rhs) const |
bool | operator!= (const this_type &rhs) const |
this_type & | operator++ () |
this_type | operator++ (int) |
Protected Member Functions | |
bool | SkipEmptyPages () |
void | AdvanceIterator () |
Protected Attributes | |
Page * | m_page = nullptr |
Pointer to the current page being iterrated through. | |
size_t | m_bitGroupIndex = 0 |
The index of the current bit group in the m_page. | |
uint64_t | m_remainingBitsInBitGroup = 0 |
This starts out equivalent to the bits from the current bit group, but trailing 1s are changed to 0s as the iterator increments. | |
T * | m_item = nullptr |
The pointer to the current item. | |
Forward iterator for StableDynamicArray.