Blender
V3.3
|
#include <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 29 of file id_map.h.
References id_map< K, T >::b_map, Scene::delete_nodes(), and id_map< K, T >::scene.
Definition at line 77 of file 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 100 of file id_map.h.
References PointerRNA::owner_id, and ptr.
Referenced by id_map< K, T >::add_or_update().
|
inline |
Definition at line 108 of file 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 104 of file id_map.h.
References id_map< K, T >::add_or_update().
Definition at line 41 of file 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 66 of file id_map.h.
References id_map< K, T >::b_recalc.
Definition at line 130 of file id_map.h.
References data, id_map< K, T >::find(), T, and id_map< K, T >::used_set.
Definition at line 169 of file id_map.h.
References id_map< K, T >::b_map.
Referenced by BlenderSync::sync_recalc().
Definition at line 147 of file 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 71 of file id_map.h.
References id_map< K, T >::used_set.
Definition at line 142 of file id_map.h.
References id_map< K, T >::b_map, data, and NULL.
Definition at line 56 of file id_map.h.
References id_map< K, T >::b_recalc, PointerRNA::data, and ptr.
Referenced by BlenderSync::sync_recalc().
Definition at line 61 of file id_map.h.
References id_map< K, T >::b_recalc.
|
inline |
Definition at line 85 of file id_map.h.
References data.
Referenced by id_map< K, T >::add_or_update().
|
inline |
Definition at line 89 of file id_map.h.
References id_map< K, T >::b_recalc, data, PointerRNA::data, ptr, and id_map< K, T >::used().
Definition at line 136 of file 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 175 of file 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 177 of file 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 178 of file 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 176 of file 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().