ReactPhysics3D  v0.10.2
C++ Physics engine library
Loading...
Searching...
No Matches
reactphysics3d::Set< V, Hash, KeyEqual >::Iterator Class Reference

Class Iterator. More...

#include <include/reactphysics3d/containers/Set.h>

Public Types

using value_type = V
 
using difference_type = std::ptrdiff_t
 
using pointer = V *
 
using reference = V &
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 Iterator ()=default
 Constructor.
 
 Iterator (const Set *set, uint64 bucketIndex, uint64 entryIndex)
 Constructor.
 
reference operator* () const
 Deferencable.
 
pointer operator-> () const
 Deferencable.
 
Iteratoroperator++ ()
 Pre increment (++it)
 
Iterator operator++ (int)
 Post increment (it++)
 
bool operator== (const Iterator &iterator) const
 Equality operator (it == end())
 
bool operator!= (const Iterator &iterator) const
 Inequality operator (it != end())
 

Detailed Description

template<typename V, class Hash = std::hash<V>, class KeyEqual = std::equal_to<V>>
class reactphysics3d::Set< V, Hash, KeyEqual >::Iterator

Class Iterator.

This class represents an iterator for the Set


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