|
Blender V4.3
|
#include <BLI_map.hh>
Public Member Functions | |
| BaseIteratorRange (const Slot *slots, int64_t total_slots, int64_t current_slot) | |
| SubIterator | begin () const |
| SubIterator | end () const |
Public Member Functions inherited from blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator | |
| BaseIterator (const Slot *slots, const int64_t total_slots, const int64_t current_slot) | |
| BaseIterator & | operator++ () |
| BaseIterator | operator++ (int) |
Additional Inherited Members | |
Public Types inherited from blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator | |
| using | iterator_category = std::forward_iterator_tag |
| using | difference_type = std::ptrdiff_t |
Protected Member Functions inherited from blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator | |
| Slot & | current_slot () const |
Protected Attributes inherited from blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator | |
| Slot * | slots_ |
| int64_t | total_slots_ |
| int64_t | current_slot_ |
| friend | Map |
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 723 of file BLI_map.hh.
|
inline |
Definition at line 725 of file BLI_map.hh.
|
inline |
Definition at line 730 of file BLI_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::end(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator::slots_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator::total_slots_.
Referenced by blender::ed::space_node::add_reroute_exec(), blender::nodes::node_geo_split_to_instances_cc::node_geo_exec(), blender::bke::bake::rename_attributes(), blender::tests::TEST(), and blender::try_find_baked_data().
|
inline |
Definition at line 740 of file BLI_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator::slots_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator::total_slots_.
Referenced by blender::ed::space_node::add_reroute_exec(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::begin(), blender::nodes::node_geo_split_to_instances_cc::node_geo_exec(), blender::bke::bake::rename_attributes(), blender::tests::TEST(), and blender::try_find_baked_data().