|
Blender
V2.93
|
#include <BLI_map.hh>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | difference_type = std::ptrdiff_t |
Public Member Functions | |
| BaseIterator (const Slot *slots, int64_t total_slots, int64_t current_slot) | |
| BaseIterator & | operator++ () |
| BaseIterator | operator++ (int) const |
| SubIterator | begin () const |
| SubIterator | end () const |
| Slot & | current_slot () const |
Public Attributes | |
| Slot * | slots_ |
| int64_t | total_slots_ |
| int64_t | current_slot_ |
Friends | |
| bool | operator!= (const BaseIterator &a, const BaseIterator &b) |
| bool | operator== (const BaseIterator &a, const BaseIterator &b) |
A utility iterator that reduces the amount of code when implementing the actual iterators. This uses the "curiously recurring template pattern" (CRTP).
Definition at line 628 of file BLI_map.hh.
| using blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::difference_type = std::ptrdiff_t |
Definition at line 630 of file BLI_map.hh.
| using blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::iterator_category = std::forward_iterator_tag |
Definition at line 629 of file BLI_map.hh.
|
inline |
Definition at line 636 of file BLI_map.hh.
|
inline |
Definition at line 670 of file BLI_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::end(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::slots_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::total_slots_.
Referenced by blender::tests::TEST().
|
inline |
Definition at line 685 of file BLI_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::current_slot_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::slots_.
|
inline |
Definition at line 680 of file BLI_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::slots_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::total_slots_.
Referenced by blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::begin(), and blender::tests::TEST().
|
inline |
Definition at line 641 of file BLI_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::current_slot_, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::slots_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::total_slots_.
|
inline |
Definition at line 651 of file BLI_map.hh.
|
friend |
Definition at line 658 of file BLI_map.hh.
|
friend |
Definition at line 665 of file BLI_map.hh.
| int64_t blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::current_slot_ |
Definition at line 634 of file BLI_map.hh.
Referenced by blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::current_slot(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::operator++().
| Slot* blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::slots_ |
Definition at line 632 of file BLI_map.hh.
Referenced by blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::begin(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::current_slot(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::end(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::operator++().
| int64_t blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::total_slots_ |
Definition at line 633 of file BLI_map.hh.
Referenced by blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::begin(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::end(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< SubIterator >::operator++().