XII Release 0.1.0
Loading...
Searching...
No Matches
xiiBitfield< Container >::ConstIterator Struct Reference

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = xiiUInt32
 
using sub_iterator = ::xiiBitIterator<xiiUInt32, true>
 

Public Member Functions

 ConstIterator (const xiiBitfield< Container > &bitfield)
 
bool IsValid () const
 Checks whether this iterator points to a valid element.
 
xiiUInt32 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
 
xiiUInt32 operator* () const
 Returns 'Value()' to enable foreach.
 
void operator++ ()
 Shorthand for 'Next'.
 

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