Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::cnt::paged_ilist_iterator< TPagedIList, IsConst > Class Template Reference

Forward iterator used by paged_ilist. Kept outside the container template so the container body stays smaller to compile. More...

#include <ilist.h>

Public Types

using value_type = typename TPagedIList::value_type
 
using reference = std::conditional_t< IsConst, typename TPagedIList::const_reference, typename TPagedIList::reference >
 
using pointer = std::conditional_t< IsConst, typename TPagedIList::const_pointer, typename TPagedIList::pointer >
 
using difference_type = typename TPagedIList::difference_type
 
using iterator_category = core::forward_iterator_tag
 

Public Member Functions

 paged_ilist_iterator (owner_pointer pOwner, typename TPagedIList::size_type index)
 
GAIA_NODISCARD reference operator* () const
 
GAIA_NODISCARD pointer operator-> () const
 
paged_ilist_iteratoroperator++ ()
 
paged_ilist_iterator operator++ (int)
 
GAIA_NODISCARD bool operator== (const paged_ilist_iterator &other) const
 
GAIA_NODISCARD bool operator!= (const paged_ilist_iterator &other) const
 

Detailed Description

template<typename TPagedIList, bool IsConst>
class gaia::cnt::paged_ilist_iterator< TPagedIList, IsConst >

Forward iterator used by paged_ilist. Kept outside the container template so the container body stays smaller to compile.

Template Parameters
TPagedIListOwning paged_ilist type.
IsConstWhether the iterator yields const references.

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