Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::cnt::sparse_iterator< T, PageCapacity, Allocator, typename > Struct Template Reference

Public Types

using iterator_category = core::random_access_iterator_tag
 
using value_type = T
 
using pointer = T *
 
using reference = T &
 
using difference_type = detail::difference_type
 
using size_type = detail::size_type
 
using iterator = sparse_iterator
 

Public Member Functions

 sparse_iterator (sparse_id *pDense, page_type *pPages)
 
reference operator* () const
 
pointer operator-> () const
 
iterator operator[] (size_type offset) const
 
iteratoroperator+= (size_type diff)
 
iteratoroperator-= (size_type diff)
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iterator operator+ (size_type offset) const
 
iterator operator- (size_type offset) const
 
difference_type operator- (const iterator &other) const
 
GAIA_NODISCARD bool operator== (const iterator &other) const
 
GAIA_NODISCARD bool operator!= (const iterator &other) const
 
GAIA_NODISCARD bool operator> (const iterator &other) const
 
GAIA_NODISCARD bool operator>= (const iterator &other) const
 
GAIA_NODISCARD bool operator< (const iterator &other) const
 
GAIA_NODISCARD bool operator<= (const iterator &other) const
 

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