API Documentation
Loading...
Searching...
No Matches
ConstBitIterator Class Reference

Simple bit iterator, typically used for parsing Buffer of bools in loops. More...

#include <BitIterator.hpp>

Public Member Functions

 ConstBitIterator (const BitFlag *flag, sint04 offset)
 
 ConstBitIterator (const BitFlag *flag, uint04 offset)
 
 ConstBitIterator (const ConstBitIterator &iter)=default
 
constexpr operator bool () const
 
bool operator! () const
 
bool operator!= (const ConstBitIterator &rawIterator) const
 
bool operator* ()
 
bool operator* () const
 
template<class t_type >
ConstBitIterator operator+ (const t_type &movement)
 
ConstBitIteratoroperator++ ()
 
ConstBitIterator operator++ (int)
 
template<class t_type >
ConstBitIteratoroperator+= (const t_type &movement)
 
ptrdiff_t operator- (const ConstBitIterator &rawIterator)
 
template<class t_type >
ConstBitIterator operator- (const t_type &movement)
 
ConstBitIteratoroperator-- ()
 
ConstBitIterator operator-- (int)
 
template<class t_type >
ConstBitIteratoroperator-= (const t_type &movement)
 
ConstBitIteratoroperator= (const ConstBitIterator &rawIterator)=default
 
bool operator== (bool ref) const
 
bool operator== (const ConstBitIterator &rawIterator) const
 

Detailed Description

Simple bit iterator, typically used for parsing Buffer of bools in loops.


Constructor & Destructor Documentation

◆ ConstBitIterator() [1/3]

ConstBitIterator ( const BitFlag * flag,
sint04 offset )
inline

◆ ConstBitIterator() [2/3]

ConstBitIterator ( const BitFlag * flag,
uint04 offset )
inline

◆ ConstBitIterator() [3/3]

ConstBitIterator ( const ConstBitIterator & iter)
default

Member Function Documentation

◆ operator bool()

operator bool ( ) const
inlineconstexpr

◆ operator!()

bool operator! ( ) const
inline

◆ operator!=()

bool operator!= ( const ConstBitIterator & rawIterator) const
inline

◆ operator*() [1/2]

bool operator* ( )
inline

◆ operator*() [2/2]

bool operator* ( ) const
inline

◆ operator+()

template<class t_type >
ConstBitIterator operator+ ( const t_type & movement)
inline

◆ operator++() [1/2]

ConstBitIterator & operator++ ( )
inline

◆ operator++() [2/2]

ConstBitIterator operator++ ( int )
inline

◆ operator+=()

template<class t_type >
ConstBitIterator & operator+= ( const t_type & movement)
inline

◆ operator-() [1/2]

ptrdiff_t operator- ( const ConstBitIterator & rawIterator)
inline

◆ operator-() [2/2]

template<class t_type >
ConstBitIterator operator- ( const t_type & movement)
inline

◆ operator--() [1/2]

ConstBitIterator & operator-- ( )
inline

◆ operator--() [2/2]

ConstBitIterator operator-- ( int )
inline

◆ operator-=()

template<class t_type >
ConstBitIterator & operator-= ( const t_type & movement)
inline

◆ operator=()

ConstBitIterator & operator= ( const ConstBitIterator & rawIterator)
default

◆ operator==() [1/2]

bool operator== ( bool ref) const
inline

◆ operator==() [2/2]

bool operator== ( const ConstBitIterator & rawIterator) const
inline

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