|
Blender V5.3
|
#include <BLI_set.hh>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = Key |
| using | pointer = const Key * |
| using | reference = const Key & |
| using | difference_type = std::ptrdiff_t |
Public Member Functions | |
| Iterator (const Slot *slots, int64_t total_slots, int64_t current_slot) | |
| Iterator & | operator++ () |
| Iterator | operator++ (int) |
| const Key & | operator* () const |
| const Key * | operator-> () const |
Protected Member Functions | |
| const Slot & | current_slot () const |
Friends | |
| bool | operator!= (const Iterator &a, const Iterator &b) |
| bool | operator== (const Iterator &a, const Iterator &b) |
An iterator that can iterate over all keys in the set. The iterator is invalidated when the set is moved or when it is grown.
Keys returned by this iterator are always const. They should not change, because this might also change their hash.
Definition at line 432 of file BLI_set.hh.
| using blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::Iterator::difference_type = std::ptrdiff_t |
Definition at line 438 of file BLI_set.hh.
| using blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::Iterator::iterator_category = std::forward_iterator_tag |
Definition at line 434 of file BLI_set.hh.
| using blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::Iterator::pointer = const Key * |
Definition at line 436 of file BLI_set.hh.
| using blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::Iterator::reference = const Key & |
Definition at line 437 of file BLI_set.hh.
| using blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::Iterator::value_type = Key |
Definition at line 435 of file BLI_set.hh.
|
inline |
Definition at line 448 of file BLI_set.hh.
References current_slot().
Referenced by blender::Set< std::string >::begin(), blender::Set< std::string >::end(), operator!=, operator++(), operator++(), and operator==.
|
inlineprotected |
Definition at line 493 of file BLI_set.hh.
Referenced by Iterator().
|
inline |
Definition at line 470 of file BLI_set.hh.
|
inline |
Definition at line 453 of file BLI_set.hh.
References Iterator().
|
inline |
Definition at line 463 of file BLI_set.hh.
References Iterator().
|
inline |
Definition at line 475 of file BLI_set.hh.
|
friend |
Definition at line 480 of file BLI_set.hh.
References b, blender::BLI_assert(), and Iterator().
|
friend |
Definition at line 487 of file BLI_set.hh.
References b, and Iterator().