|
Blender
V2.93
|
#include <blender_id_map.h>
Public Member Functions | |
| id_map (Scene *scene_) | |
| ~id_map () | |
| T * | find (const BL::ID &id) |
| T * | find (const K &key) |
| void | set_recalc (const BL::ID &id) |
| void | set_recalc (void *id_ptr) |
| bool | has_recalc () |
| void | pre_sync () |
| void | add (const K &key, T *data) |
| bool | update (T *data, const BL::ID &id) |
| bool | update (T *data, const BL::ID &id, const BL::ID &parent) |
| bool | add_or_update (T **r_data, const BL::ID &id) |
| bool | add_or_update (T **r_data, const BL::ID &id, const K &key) |
| bool | add_or_update (T **r_data, const BL::ID &id, const BL::ID &parent, const K &key) |
| bool | is_used (const K &key) |
| void | used (T *data) |
| void | set_default (T *data) |
| void | post_sync (bool do_delete=true) |
| const map< K, T * > & | key_to_scene_data () |
Protected Attributes | |
| map< K, T * > | b_map |
| set< T * > | used_set |
| set< void * > | b_recalc |
| Scene * | scene |
Definition at line 36 of file blender_id_map.h.
Definition at line 38 of file blender_id_map.h.
Definition at line 42 of file blender_id_map.h.
References id_map< K, T >::b_map, Scene::delete_nodes(), and id_map< K, T >::scene.
Definition at line 90 of file blender_id_map.h.
References id_map< K, T >::b_map, data, id_map< K, T >::find(), NULL, and id_map< K, T >::used().
Referenced by id_map< K, T >::add_or_update().
|
inline |
Definition at line 113 of file blender_id_map.h.
References PointerRNA::owner_id, and ptr.
Referenced by id_map< K, T >::add_or_update().
|
inline |
Definition at line 121 of file blender_id_map.h.
References id_map< K, T >::add(), Scene::create_node(), data, id_map< K, T >::find(), id_map< K, T >::scene, T, and id_map< K, T >::update().
|
inline |
Definition at line 117 of file blender_id_map.h.
References id_map< K, T >::add_or_update().
Definition at line 54 of file blender_id_map.h.
References PointerRNA::owner_id, and ptr.
Referenced by id_map< K, T >::add(), id_map< K, T >::add_or_update(), and id_map< K, T >::is_used().
Definition at line 59 of file blender_id_map.h.
References id_map< K, T >::b_map, data, NULL, and T.
Definition at line 79 of file blender_id_map.h.
References id_map< K, T >::b_recalc.
Definition at line 143 of file blender_id_map.h.
References data, id_map< K, T >::find(), T, and id_map< K, T >::used_set.
Definition at line 182 of file blender_id_map.h.
References id_map< K, T >::b_map.
Referenced by BlenderSync::sync_recalc().
Definition at line 160 of file blender_id_map.h.
References id_map< K, T >::b_map, id_map< K, T >::b_recalc, Scene::delete_node(), id_map< K, T >::scene, and id_map< K, T >::used_set.
Referenced by BlenderSync::sync_data().
Definition at line 84 of file blender_id_map.h.
References id_map< K, T >::used_set.
Definition at line 155 of file blender_id_map.h.
References id_map< K, T >::b_map, data, and NULL.
Definition at line 69 of file blender_id_map.h.
References id_map< K, T >::b_recalc, PointerRNA::data, and ptr.
Referenced by BlenderSync::sync_recalc().
Definition at line 74 of file blender_id_map.h.
References id_map< K, T >::b_recalc.
|
inline |
Definition at line 98 of file blender_id_map.h.
References data.
Referenced by id_map< K, T >::add_or_update().
|
inline |
Definition at line 102 of file blender_id_map.h.
References id_map< K, T >::b_recalc, data, PointerRNA::data, ptr, and id_map< K, T >::used().
Definition at line 149 of file blender_id_map.h.
References data, and id_map< K, T >::used_set.
Referenced by id_map< K, T >::add(), and id_map< K, T >::update().
Definition at line 188 of file blender_id_map.h.
Referenced by id_map< K, T >::add(), id_map< K, T >::find(), id_map< K, T >::key_to_scene_data(), id_map< K, T >::post_sync(), id_map< K, T >::set_default(), and id_map< K, T >::~id_map().
Definition at line 190 of file blender_id_map.h.
Referenced by id_map< K, T >::has_recalc(), id_map< K, T >::post_sync(), id_map< K, T >::set_recalc(), and id_map< K, T >::update().
Definition at line 191 of file blender_id_map.h.
Referenced by id_map< K, T >::add_or_update(), blo_lib_link_restore(), id_map< K, T >::post_sync(), and id_map< K, T >::~id_map().
Definition at line 189 of file blender_id_map.h.
Referenced by id_map< K, T >::is_used(), id_map< K, T >::post_sync(), id_map< K, T >::pre_sync(), and id_map< K, T >::used().