Plasma Engine  2.0
Loading...
Searching...
No Matches
plHashSetBase< KeyType, Hasher >::ConstIterator Class Reference

Const iterator. More...

#include <HashSet.h>

Public Member Functions

bool IsValid () const
 Checks whether this iterator points to a valid element.
 
bool operator== (const typename plHashSetBase< KeyType, Hasher >::ConstIterator &rhs) const
 Checks whether the two iterators point to the same element.
 
 PL_ADD_DEFAULT_OPERATOR_NOTEQUAL (const typename plHashSetBase< KeyType, Hasher >::ConstIterator &)
 
const KeyType & Key () const
 Returns the 'key' of the element that this iterator points to.
 
PL_ALWAYS_INLINE const KeyType & operator* () const
 Returns the 'key' 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.
 
void operator++ ()
 Shorthand for 'Next'.
 

Protected Member Functions

 ConstIterator (const plHashSetBase< KeyType, Hasher > &hashSet)
 
void SetToBegin ()
 
void SetToEnd ()
 

Protected Attributes

const plHashSetBase< KeyType, Hasher > * m_pHashSet = nullptr
 
plUInt32 m_uiCurrentIndex = 0
 
plUInt32 m_uiCurrentCount = 0
 

Friends

class plHashSetBase< KeyType, Hasher >
 

Detailed Description

template<typename KeyType, typename Hasher>
class plHashSetBase< KeyType, Hasher >::ConstIterator

Const iterator.


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