|
Blender
V2.93
|
#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) |
| MapType::ItemIterator | items () const |
| MapType::KeyIterator | keys () const |
| MapType::ValueIterator | values () const |
Definition at line 40 of file BLI_multi_value_map.hh.
| using blender::MultiValueMap< Key, Value >::size_type = int64_t |
Definition at line 42 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 53 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
Referenced by blender::nodes::MFNetworkTreeMap::add(), BLI_string_search_query(), blender::compositor::NodeOperationBuilder::convertToOperations(), blender::fn::mf_network_optimization::group_nodes_by_hash(), and blender::tests::TEST().
|
inline |
Definition at line 57 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
|
inline |
Definition at line 61 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
|
inline |
Definition at line 65 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_as().
|
inline |
Definition at line 70 of file BLI_multi_value_map.hh.
Referenced by blender::MultiValueMap< Key, Value >::add().
|
inline |
Add all given values to the key.
Definition at line 85 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_multiple_as(), and blender::MultiValueMap< Key, Value >::values().
Referenced by blender::tests::TEST().
|
inline |
Definition at line 89 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::add_multiple_as(), and blender::MultiValueMap< Key, Value >::values().
|
inline |
Definition at line 93 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default_as(), and blender::MultiValueMap< Key, Value >::values().
Referenced by blender::MultiValueMap< Key, Value >::add_multiple().
|
inline |
Definition at line 76 of file BLI_multi_value_map.hh.
Referenced by find_sockets_to_preview().
|
inline |
Note: This signature will change when the implementation changes.
Definition at line 134 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items().
Referenced by blender::tests::TEST().
|
inline |
Note: This signature will change when the implementation changes.
Definition at line 142 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::keys().
Referenced by BLI_string_search_query(), and blender::tests::TEST().
|
inline |
Get a mutable span to all the values that are stored for the given key.
Definition at line 118 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 102 of file BLI_multi_value_map.hh.
References blender::MultiValueMap< Key, Value >::lookup_as().
Referenced by blender::nodes::MFNetworkTreeMap::add(), BLI_string_search_query(), compute_geometry(), blender::compositor::NodeOperationBuilder::convertToOperations(), blender::nodes::MFNetworkTreeMap::is_mapped(), blender::nodes::MFNetworkTreeMap::lookup(), and blender::tests::TEST().
|
inline |
Definition at line 122 of file BLI_multi_value_map.hh.
|
inline |
Definition at line 106 of file BLI_multi_value_map.hh.
Referenced by blender::MultiValueMap< Key, Value >::lookup().
|
inline |
Note: This signature will change when the implementation changes.
Definition at line 150 of file BLI_multi_value_map.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by blender::MultiValueMap< Key, Value >::add_multiple(), blender::MultiValueMap< Key, Value >::add_multiple_as(), blender::fn::mf_network_optimization::relink_duplicate_nodes(), and blender::tests::TEST().