ReactPhysics3D: reactphysics3d::Map< K, V, Hash, KeyEqual >::Iterator Class Reference

| ReactPhysics3D v0.10.2 C++ Physics engine library

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
reactphysics3d::Map< K, V, Hash, KeyEqual >::Iterator Class Reference

Class Iterator. More...

`#include <include/reactphysics3d/containers/Map.h>`

## Public Types
using | value_type = Pair<K,V>
using | difference_type = std::ptrdiff_t
using | pointer = Pair<K, V>*
using | reference = Pair<K,V>&
using | iterator_category = std::forward_iterator_tag

## Public Member Functions
| Iterator ()=default
| Constructor.
| Iterator (const Map *map, uint64 bucketIndex, uint64 entryIndex)
| Constructor.
reference | operator* () const
| Deferencable.
pointer | operator-> () const
| Deferencable.
Iterator & | operator++ ()
| 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 K, typename V, class Hash = std::hash<K>, class KeyEqual = std::equal_to<K>>
class reactphysics3d::Map< K, V, Hash, KeyEqual >::Iterator

Class Iterator.

This class represents an iterator for the Map.

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

- include/reactphysics3d/containers/Map.h