|
Blender V4.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 | check_recalc (const BL::ID &id) |
| 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 () |
| bool | test_flag (T *data, Flags val) |
| void | set_flag (T *data, Flags val) |
| void | clear_flag (T *data, Flags val) |
Protected Attributes | |
| map< K, T * > | b_map |
| set< T * > | used_set |
| map< T *, uint > | flags |
| set< void * > | b_recalc |
| Scene * | scene |
Definition at line 27 of file id_map.h.
References id_map< K, T, Flags >::b_map.
Definition at line 80 of file id_map.h.
References id_map< K, T, Flags >::b_map, data, id_map< K, T, Flags >::find(), NULL, and id_map< K, T, Flags >::used().
Referenced by id_map< K, T, Flags >::add_or_update().
Definition at line 103 of file id_map.h.
References id_map< K, T, Flags >::add_or_update(), PointerRNA::owner_id, and ptr.
Referenced by id_map< K, T, Flags >::add_or_update(), and id_map< K, T, Flags >::add_or_update().
|
inline |
Definition at line 111 of file id_map.h.
References id_map< K, T, Flags >::add(), data, id_map< K, T, Flags >::find(), and id_map< K, T, Flags >::update().
Definition at line 107 of file id_map.h.
References id_map< K, T, Flags >::add_or_update().
Definition at line 64 of file id_map.h.
References id_map< K, T, Flags >::b_recalc, PointerRNA::data, and ptr.
Definition at line 189 of file id_map.h.
References id_map< K, T, Flags >::flags.
Definition at line 39 of file id_map.h.
References id_map< K, T, Flags >::find(), PointerRNA::owner_id, and ptr.
Referenced by id_map< K, T, Flags >::add(), id_map< K, T, Flags >::add_or_update(), id_map< K, T, Flags >::find(), and id_map< K, T, Flags >::is_used().
Definition at line 44 of file id_map.h.
References id_map< K, T, Flags >::b_map, data, and NULL.
Definition at line 69 of file id_map.h.
References id_map< K, T, Flags >::b_recalc.
Definition at line 133 of file id_map.h.
References id_map< K, T, Flags >::find(), and id_map< K, T, Flags >::used_set.
Definition at line 173 of file id_map.h.
References id_map< K, T, Flags >::b_map.
Referenced by BlenderSync::sync_recalc().
Definition at line 150 of file id_map.h.
References id_map< K, T, Flags >::b_map, id_map< K, T, Flags >::b_recalc, id_map< K, T, Flags >::flags, and id_map< K, T, Flags >::used_set.
Referenced by BlenderSync::sync_data().
Definition at line 74 of file id_map.h.
References id_map< K, T, Flags >::used_set.
Definition at line 145 of file id_map.h.
References id_map< K, T, Flags >::b_map, data, and NULL.
Definition at line 184 of file id_map.h.
References data, and id_map< K, T, Flags >::flags.
Definition at line 54 of file id_map.h.
References id_map< K, T, Flags >::b_recalc, PointerRNA::data, and ptr.
Referenced by BlenderSync::sync_recalc().
Definition at line 59 of file id_map.h.
References id_map< K, T, Flags >::b_recalc.
Definition at line 178 of file id_map.h.
References id_map< K, T, Flags >::flags.
Definition at line 88 of file id_map.h.
References id_map< K, T, Flags >::update().
Referenced by id_map< K, T, Flags >::add_or_update(), and id_map< K, T, Flags >::update().
Definition at line 92 of file id_map.h.
References id_map< K, T, Flags >::b_recalc, PointerRNA::data, ptr, and id_map< K, T, Flags >::used().
Definition at line 139 of file id_map.h.
References id_map< K, T, Flags >::used_set.
Referenced by id_map< K, T, Flags >::add(), and id_map< K, T, Flags >::update().
Definition at line 202 of file id_map.h.
Referenced by id_map< K, T, Flags >::add(), id_map< K, T, Flags >::find(), id_map< K, T, Flags >::key_to_scene_data(), id_map< K, T, Flags >::post_sync(), id_map< K, T, Flags >::set_default(), and id_map< K, T, Flags >::~id_map().
Definition at line 205 of file id_map.h.
Referenced by id_map< K, T, Flags >::check_recalc(), id_map< K, T, Flags >::has_recalc(), id_map< K, T, Flags >::post_sync(), id_map< K, T, Flags >::set_recalc(), id_map< K, T, Flags >::set_recalc(), and id_map< K, T, Flags >::update().
Definition at line 204 of file id_map.h.
Referenced by id_map< K, T, Flags >::clear_flag(), id_map< K, T, Flags >::post_sync(), id_map< K, T, Flags >::set_flag(), and id_map< K, T, Flags >::test_flag().
Definition at line 203 of file id_map.h.
Referenced by id_map< K, T, Flags >::is_used(), id_map< K, T, Flags >::post_sync(), id_map< K, T, Flags >::pre_sync(), and id_map< K, T, Flags >::used().