Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::cnt::bitset_const_iterator< TBitset, IsFwd, IsInverse > Class Template Reference

Bitset iterator. More...

#include <bitset_iterator.h>

Public Types

using value_type = uint32_t
 
using size_type = typename TBitset::size_type
 

Public Member Functions

 bitset_const_iterator (const TBitset &bitset, value_type pos, bool fwd)
 
GAIA_NODISCARD value_type operator* () const
 
GAIA_NODISCARD value_type operator-> () const
 
GAIA_NODISCARD value_type index () const
 
bitset_const_iteratoroperator++ ()
 
GAIA_NODISCARD bitset_const_iterator operator++ (int)
 
GAIA_NODISCARD bool operator== (const bitset_const_iterator &other) const
 
GAIA_NODISCARD bool operator!= (const bitset_const_iterator &other) const
 

Detailed Description

template<typename TBitset, bool IsFwd, bool IsInverse>
class gaia::cnt::bitset_const_iterator< TBitset, IsFwd, IsInverse >

Bitset iterator.

Template Parameters
TBitsetIterator's bitset parent
IsFwdIf true the iterator moves forward. Backwards iterations otherwise.
IsInverseIf true, all values are inverse

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