|
Blender V5.3
|
Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
| void | blender::BKE_main_namemap_destroy (UniqueName_Map **r_name_map) ATTR_NONNULL() |
| void | blender::BKE_main_namemap_clear (Main &bmain) |
| bool | blender::BKE_main_global_namemap_contain_name (Main &bmain, short id_type, StringRef name) |
| bool | blender::BKE_main_namemap_contain_name (Main &bmain, Library *lib, short id_type, StringRef name) |
| bool | blender::BKE_main_global_namemap_get_unique_name (Main &bmain, ID &id, char *r_name) |
| bool | blender::BKE_main_namemap_get_unique_name (Main &bmain, ID &id, char *r_name) |
| void | blender::BKE_main_namemap_remove_id (Main &bmain, ID &id) |
| bool | blender::BKE_main_namemap_validate (Main &bmain) |
| bool | blender::BKE_main_namemap_validate_and_fix (Main &bmain) |
API to ensure name uniqueness.
Main database contains the UniqueName_Map which is a cache that tracks names, base names and their suffixes currently in use. So that whenever a new name has to be assigned or validated, it can quickly ensure uniqueness and adjust the name in case of collisions.
Definition in file BKE_main_namemap.hh.