|
Blender
V3.3
|
#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 1256 of file BLI_map.hh.
|
inline |
Definition at line 1284 of file BLI_map.hh.
References Value.
|
inline |
Definition at line 1278 of file BLI_map.hh.
References Value.
|
inline |
Definition at line 1311 of file BLI_map.hh.
|
inline |
Definition at line 1291 of file BLI_map.hh.
|
inline |
Definition at line 1267 of file BLI_map.hh.
|
inline |
Definition at line 1301 of file BLI_map.hh.
References Value.
|
inline |
Definition at line 1306 of file BLI_map.hh.
References Value.
|
inline |
Definition at line 1316 of file BLI_map.hh.
|
inline |
Definition at line 1296 of file BLI_map.hh.
|
inline |
Definition at line 1272 of file BLI_map.hh.
|
inline |
Definition at line 1262 of file BLI_map.hh.