Blender
V3.3
|
Public Member Functions | |
void | clear () |
bool | is_empty () const |
void | add (ID *old_id, ID *new_id) |
bool | contains_mappings_for_any (IDTypeFilter filter) const |
IDRemapperApplyResult | get_mapping_result (ID *id, IDRemapperApplyOptions options, const ID *id_self) const |
IDRemapperApplyResult | apply (ID **r_id_ptr, IDRemapperApplyOptions options, ID *id_self) const |
void | iter (IDRemapperIterFunction func, void *user_data) const |
Definition at line 17 of file lib_id_remapper.cc.
Definition at line 34 of file lib_id_remapper.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_idtype_idcode_to_idfilter(), BLI_assert, GS, and ID::name.
Referenced by BKE_id_remapper_add().
|
inline |
Definition at line 66 of file lib_id_remapper.cc.
References BLI_assert, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), ID_REMAP_APPLY_ENSURE_REAL, ID_REMAP_APPLY_UNMAP_WHEN_REMAPPING_TO_SELF, ID_REMAP_APPLY_UPDATE_REFCOUNT, ID_REMAP_RESULT_SOURCE_NOT_MAPPABLE, ID_REMAP_RESULT_SOURCE_REMAPPED, ID_REMAP_RESULT_SOURCE_UNASSIGNED, ID_REMAP_RESULT_SOURCE_UNAVAILABLE, id_us_ensure_real(), id_us_min(), id_us_plus_no_lib(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and options.
Referenced by BKE_id_remapper_apply_ex().
|
inline |
Definition at line 23 of file lib_id_remapper.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear().
Referenced by BKE_id_remapper_clear().
|
inline |
Definition at line 43 of file lib_id_remapper.cc.
References filter().
Referenced by BKE_id_remapper_has_mapping_for().
|
inline |
Definition at line 48 of file lib_id_remapper.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), ID_REMAP_APPLY_UNMAP_WHEN_REMAPPING_TO_SELF, ID_REMAP_RESULT_SOURCE_REMAPPED, ID_REMAP_RESULT_SOURCE_UNASSIGNED, ID_REMAP_RESULT_SOURCE_UNAVAILABLE, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and options.
Referenced by BKE_id_remapper_get_mapping_result().
|
inline |
Definition at line 29 of file lib_id_remapper.cc.
Referenced by BKE_id_remapper_is_empty().
|
inline |
Definition at line 100 of file lib_id_remapper.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), and user_data.
Referenced by BKE_id_remapper_iter().