|
Blender V5.3
|
#include <id_map.h>
Public Member Functions | |
| id_map (Scene *scene_) | |
| ~id_map () | |
| T * | find (const K &key) |
| void | set_recalc (void *id_ptr) |
| bool | check_recalc (const blender::ID *id) |
| bool | has_recalc () |
| void | pre_sync () |
| void | add (const K &key, T *data) |
| bool | update (T *data, const blender::ID *id) |
| bool | update (T *data, const blender::ID *id, const blender::ID *parent) |
| bool | add_or_update (T **r_data, const blender::ID *id) |
| bool | add_or_update (T **r_data, const blender::ID *id, const K &key) |
| bool | add_or_update (T **r_data, const blender::ID *id, const blender::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< const void * > | b_recalc |
| Scene * | scene |
Definition at line 30 of file id_map.h.
References b_map, Scene::delete_nodes(), and scene.
|
inline |
Definition at line 96 of file id_map.h.
References add_or_update(), and T.
Referenced by add_or_update(), and add_or_update().
|
inline |
|
inline |
Definition at line 100 of file id_map.h.
References add_or_update(), and T.
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 200 of file id_map.h.
Referenced by add(), find(), key_to_scene_data(), post_sync(), set_default(), and ~id_map().
|
protected |
Definition at line 203 of file id_map.h.
Referenced by check_recalc(), has_recalc(), post_sync(), set_recalc(), and update().
|
protected |
Definition at line 202 of file id_map.h.
Referenced by clear_flag(), post_sync(), set_flag(), and test_flag().
|
protected |
Definition at line 204 of file id_map.h.
Referenced by add_or_update(), id_map(), post_sync(), and ~id_map().
|
protected |
Definition at line 201 of file id_map.h.
Referenced by is_used(), post_sync(), pre_sync(), and used().