|
Blender V4.3
|
#include <BLI_multi_value_map.hh>
Public Types | |
| using | size_type = int64_t |
Public Member Functions | |
| void | add (const Key &key, const Value &value) |
| void | add (const Key &key, Value &&value) |
| void | add (Key &&key, const Value &value) |
| void | add (Key &&key, Value &&value) |
| template<typename ForwardKey , typename ForwardValue > | |
| void | add_as (ForwardKey &&key, ForwardValue &&value) |
| void | add_non_duplicates (const Key &key, const Value &value) |
| void | add_multiple (const Key &key, Span< Value > values) |
| void | add_multiple (Key &&key, Span< Value > values) |
| template<typename ForwardKey > | |
| void | add_multiple_as (ForwardKey &&key, Span< Value > values) |
| Span< Value > | lookup (const Key &key) const |
| template<typename ForwardKey > | |
| Span< Value > | lookup_as (const ForwardKey &key) const |
| MutableSpan< Value > | lookup (const Key &key) |
| template<typename ForwardKey > | |
| MutableSpan< Value > | lookup_as (const ForwardKey &key) |
| int64_t | size () const |
| MapType::ItemIterator | items () const |
| MapType::KeyIterator | keys () const |
| MapType::ValueIterator | values () const |
| void | clear () |
| void | clear_and_shrink () |
Definition at line 29 of file BLI_multi_value_map.hh.
| using blender::MultiValueMap< Key, Value >::size_type = int64_t |
Definition at line 31 of file BLI_multi_value_map.hh.
|
inline |
Add a new value for the given key. If the map contains the key already, the value will be appended to the list of corresponding values.
Definition at line 42 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
Referenced by blender::ed::asset::build_filtered_all_catalog_tree(), blender::geometry::components_supported_reordering(), blender::compositor::NodeOperationBuilder::convert_to_operations(), blender::nodes::find_output_attributes_to_store(), fix_geometry_nodes_object_info_scale(), move_face_map_data_to_attributes(), ntree_update_reroute_nodes(), blender::nodes::node_geo_interpolate_curves_cc::separate_guides_by_group(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), and version_geometry_nodes_extrude_smooth_propagation().
|
inline |
Definition at line 46 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
|
inline |
Definition at line 50 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
|
inline |
Definition at line 54 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
|
inline |
Definition at line 59 of file BLI_multi_value_map.hh.
Referenced by blender::MultiValueMap< Key, Value >::add(), blender::MultiValueMap< Key, Value >::add(), blender::MultiValueMap< Key, Value >::add(), and blender::MultiValueMap< Key, Value >::add().
|
inline |
Add all given values to the key.
Definition at line 74 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_multiple_as().
Referenced by blender::geometry::components_supported_reordering(), blender::tests::TEST(), and blender::tests::TEST().
|
inline |
Definition at line 78 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_multiple_as().
|
inline |
Definition at line 82 of file BLI_multi_value_map.hh.
Referenced by blender::MultiValueMap< Key, Value >::add_multiple(), and blender::MultiValueMap< Key, Value >::add_multiple().
|
inline |
Definition at line 65 of file BLI_multi_value_map.hh.
|
inline |
Definition at line 152 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear().
|
inline |
Definition at line 157 of file BLI_multi_value_map.hh.
|
inline |
NOTE: This signature will change when the implementation changes.
Definition at line 131 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items().
Referenced by blender::nodes::node_geo_interpolate_curves_cc::build_kdtrees_for_root_positions(), blender::nodes::compute_attributes_to_store(), and blender::nodes::node_geo_interpolate_curves_cc::compute_points_per_curve_by_group().
|
inline |
NOTE: This signature will change when the implementation changes.
Definition at line 139 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::keys().
Referenced by blender::nodes::store_output_attributes().
|
inline |
Get a mutable span to all the values that are stored for the given key.
Definition at line 107 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::lookup_as().
|
inline |
Get a span to all the values that are stored for the given key.
Definition at line 91 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::lookup_as().
Referenced by blender::ed::asset::build_filtered_all_catalog_tree(), blender::compositor::NodeOperationBuilder::convert_to_operations(), fix_geometry_nodes_object_info_scale(), propagate_reroute_type_from_start_socket(), and version_geometry_nodes_extrude_smooth_propagation().
|
inline |
Definition at line 111 of file BLI_multi_value_map.hh.
|
inline |
Definition at line 95 of file BLI_multi_value_map.hh.
Referenced by blender::MultiValueMap< Key, Value >::lookup(), and blender::MultiValueMap< Key, Value >::lookup().
|
inline |
Get the number of keys.
Definition at line 123 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by blender::nodes::store_output_attributes().
|
inline |
NOTE: This signature will change when the implementation changes.
Definition at line 147 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().