|
Blender
V2.93
|
#include <BLI_map.hh>
Public Member Functions | |
| int64_t | size () const |
| bool | is_empty () const |
| void | reserve (int64_t n) |
| template<typename ForwardKey , typename ForwardValue > | |
| void | add_new (ForwardKey &&key, ForwardValue &&value) |
| template<typename ForwardKey , typename ForwardValue > | |
| bool | add (ForwardKey &&key, ForwardValue &&value) |
| bool | contains (const Key &key) const |
| bool | remove (const Key &key) |
| Value & | lookup (const Key &key) |
| const Value & | lookup (const Key &key) const |
| void | clear () |
| void | print_stats (StringRef UNUSED(name)="") const |
A wrapper for std::unordered_map with the API of blender::Map. This can be used for benchmarking.
Definition at line 1203 of file BLI_map.hh.
|
inline |
Definition at line 1231 of file BLI_map.hh.
|
inline |
Definition at line 1225 of file BLI_map.hh.
|
inline |
Definition at line 1256 of file BLI_map.hh.
|
inline |
Definition at line 1236 of file BLI_map.hh.
|
inline |
Definition at line 1214 of file BLI_map.hh.
|
inline |
Definition at line 1246 of file BLI_map.hh.
References Value.
|
inline |
Definition at line 1251 of file BLI_map.hh.
References Value.
|
inline |
Definition at line 1261 of file BLI_map.hh.
|
inline |
Definition at line 1241 of file BLI_map.hh.
|
inline |
Definition at line 1219 of file BLI_map.hh.
|
inline |
Definition at line 1209 of file BLI_map.hh.