Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::const_iterator Class Reference

Forward const iterator for StableDynamicArray. More...

#include <StableDynamicArray.h>

Inherits AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::iterator.

Public Types

using reference = const T &
 
using pointer = const T *
 
- Public Types inherited from AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::iterator
using iterator_category = AZStd::forward_iterator_tag
 
using value_type = T
 
using reference = T &
 
using pointer = T *
 

Public Member Functions

 const_iterator (Page *firstPage)
 
reference operator* () const
 
pointer operator-> () const
 
this_typeoperator++ ()
 
this_type operator++ (int)
 
- Public Member Functions inherited from AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::iterator
 iterator (Page *firstPage)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const this_type &rhs) const
 
bool operator!= (const this_type &rhs) const
 
this_typeoperator++ ()
 
this_type operator++ (int)
 

Additional Inherited Members

- Protected Member Functions inherited from AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::iterator
bool SkipEmptyPages ()
 
void AdvanceIterator ()
 
- Protected Attributes inherited from AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::iterator
Pagem_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.
 

Detailed Description

template<typename T, size_t ElementsPerPage = 512, class Allocator = AZStd::allocator>
class AZ::StableDynamicArray< T, ElementsPerPage, Allocator >::const_iterator

Forward const iterator for StableDynamicArray.


The documentation for this class was generated from the following files: