|
Blender V5.3
|
Go to the source code of this file.
Classes | |
| struct | blender::GHashIterator |
| struct | blender::GHashIterState |
| struct | blender::_gh_Entry |
| struct | blender::GSetIterator |
| struct | blender::GHashPair |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | _GHASH_INTERNAL_ATTR |
GHash/GSet Macros | |
| #define | GHASH_FOREACH_BEGIN(type, var, what) |
| #define | GHASH_FOREACH_END() |
| #define | GSET_FOREACH_BEGIN(type, var, what) |
| #define | GSET_FOREACH_END() |
Typedefs | |
GSet Types | |
A "set" implementation (unordered collection of unique elements). Internally this is a 'GHash' without any keys, which is why this API's are in the same header & source file. | |
| typedef GHashHashFP | blender::GSetHashFP |
| typedef GHashCmpFP | blender::GSetCmpFP |
| typedef GHashKeyFreeFP | blender::GSetKeyFreeFP |
| typedef GHashKeyCopyFP | blender::GSetKeyCopyFP |
| typedef GHashIterState | blender::GSetIterState |
GHash Iterator | |
| #define | _gh_Entry void |
| #define | GHASH_ITER(gh_iter_, ghash_) |
| #define | GHASH_ITER_INDEX(gh_iter_, ghash_, i_) |
| GHashIterator * | blender::BLI_ghashIterator_new (GHash *gh) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT |
| void | blender::BLI_ghashIterator_init (GHashIterator *ghi, GHash *gh) |
| void | blender::BLI_ghashIterator_free (GHashIterator *ghi) |
| void | blender::BLI_ghashIterator_step (GHashIterator *ghi) |
| BLI_INLINE void * | blender::BLI_ghashIterator_getKey (GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT |
| BLI_INLINE void * | blender::BLI_ghashIterator_getValue (GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT |
| BLI_INLINE void ** | blender::BLI_ghashIterator_getValue_p (GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT |
| BLI_INLINE bool | blender::BLI_ghashIterator_done (const GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT |
GSet Iterator | |
| #define | GSET_ITER(gs_iter_, gset_) |
| #define | GSET_ITER_INDEX(gs_iter_, gset_, i_) |
| BLI_INLINE GSetIterator * | blender::BLI_gsetIterator_new (GSet *gs) |
| BLI_INLINE void | blender::BLI_gsetIterator_init (GSetIterator *gsi, GSet *gs) |
| BLI_INLINE void | blender::BLI_gsetIterator_free (GSetIterator *gsi) |
| BLI_INLINE void * | blender::BLI_gsetIterator_getKey (GSetIterator *gsi) |
| BLI_INLINE void | blender::BLI_gsetIterator_step (GSetIterator *gsi) |
| BLI_INLINE bool | blender::BLI_gsetIterator_done (const GSetIterator *gsi) |
GHash Types | |
| enum | { blender::GHASH_FLAG_ALLOW_DUPES = (1 << 0) , blender::GHASH_FLAG_ALLOW_SHRINK = (1 << 1) } |
| typedef unsigned int(*) | blender::GHashHashFP(const void *key) |
| typedef bool(*) | blender::GHashCmpFP(const void *a, const void *b) |
| typedef void(*) | blender::GHashKeyFreeFP(void *key) |
| typedef void(*) | blender::GHashValFreeFP(void *val) |
| typedef void *(*) | blender::GHashKeyCopyFP(const void *key) |
| typedef void *(*) | blender::GHashValCopyFP(const void *val) |
GHash is a hash-map implementation (unordered key, value pairs).
This is also used to implement a 'set' (see #GSet below).
Definition in file BLI_ghash.hh.
| #define _gh_Entry void |
Definition at line 317 of file BLI_ghash.hh.
| #define _GHASH_INTERNAL_ATTR |
Definition at line 21 of file BLI_ghash.hh.
| #define BLI_ghashutil_inthash | ( | key | ) |
Definition at line 579 of file BLI_ghash.hh.
Referenced by blender::ed::object::DupliObjectInstancerHash::operator()().
| #define BLI_ghashutil_inthash_v4 | ( | key | ) |
Definition at line 590 of file BLI_ghash.hh.
| #define BLI_ghashutil_inthash_v4_cmp BLI_ghashutil_uinthash_v4_cmp |
Definition at line 601 of file BLI_ghash.hh.
Referenced by blender::BM_mesh_intersect().
| #define BLI_ghashutil_inthash_v4_murmur | ( | key | ) |
Definition at line 595 of file BLI_ghash.hh.
| #define BLI_ghashutil_inthash_v4_p ((GSetHashFP)BLI_ghashutil_uinthash_v4) |
Definition at line 592 of file BLI_ghash.hh.
Referenced by blender::BM_mesh_intersect().
| #define BLI_ghashutil_inthash_v4_p_murmur ((GSetHashFP)BLI_ghashutil_uinthash_v4_murmur) |
Definition at line 598 of file BLI_ghash.hh.
| #define BLI_ghashutil_strhash | ( | key | ) |
Definition at line 573 of file BLI_ghash.hh.
Referenced by blender::do_map(), blender::idkey_hash(), and blender::modify_mesh().
| #define BLI_ghashutil_uinthash_v4_p ((GSetHashFP)BLI_ghashutil_uinthash_v4) |
Definition at line 593 of file BLI_ghash.hh.
Referenced by blender::TEST().
| #define BLI_ghashutil_uinthash_v4_p_murmur ((GSetHashFP)BLI_ghashutil_uinthash_v4_murmur) |
Definition at line 599 of file BLI_ghash.hh.
Referenced by blender::TEST().
| #define GHASH_FOREACH_BEGIN | ( | type, | |
| var, | |||
| what ) |
Definition at line 523 of file BLI_ghash.hh.
| #define GHASH_FOREACH_END | ( | ) |
Definition at line 529 of file BLI_ghash.hh.
| #define GHASH_ITER | ( | gh_iter_, | |
| ghash_ ) |
Definition at line 320 of file BLI_ghash.hh.
Referenced by blender::_bmo_slot_copy(), blender::bke::asset_edit_id_ensure_local(), blender::BM_mesh_intersect(), blender::bm_uidwalk_pass_add(), blender::bm_uidwalk_rehash(), blender::BMO_slot_map_to_flag(), blender::BPY_rna_exit(), blender::bpy_slot_to_py(), blender::IMB_cache_get_cache_segments(), blender::joined_armature_fix_animdata_cb(), blender::stitch_init(), blender::text_autocomplete_build(), and blender::uv_sculpt_stroke_init().
| #define GHASH_ITER_INDEX | ( | gh_iter_, | |
| ghash_, | |||
| i_ ) |
Definition at line 324 of file BLI_ghash.hh.
Referenced by blender::bm_mesh_region_match_pair().
| #define GSET_FOREACH_BEGIN | ( | type, | |
| var, | |||
| what ) |
Definition at line 534 of file BLI_ghash.hh.
| #define GSET_FOREACH_END | ( | ) |
Definition at line 540 of file BLI_ghash.hh.
| #define GSET_ITER | ( | gs_iter_, | |
| gset_ ) |
Definition at line 471 of file BLI_ghash.hh.
| #define GSET_ITER_INDEX | ( | gs_iter_, | |
| gset_, | |||
| i_ ) |
Definition at line 475 of file BLI_ghash.hh.