Plasma Engine  2.0
Loading...
Searching...
No Matches
plBitfield< Container >::ConstIterator Struct Reference

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = plUInt32
 
using sub_iterator = ::plBitIterator<plUInt32, true>
 

Public Member Functions

 ConstIterator (const plBitfield< Container > &bitfield)
 
bool IsValid () const
 Checks whether this iterator points to a valid element.
 
plUInt32 Value () const
 Returns the 'value' of the element that this iterator points to.
 
void Next ()
 Advances the iterator to the next element in the map. The iterator will not be valid anymore, if the end is reached.
 
bool operator== (const ConstIterator &other) const
 
bool operator!= (const ConstIterator &other) const
 
plUInt32 operator* () const
 Returns 'Value()' to enable foreach.
 
void operator++ ()
 Shorthand for 'Next'.
 

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