|
Blender V5.3
|
Classes | |
| class | GetIDFn |
Public Member Functions | |
| void | add_builtin (const StringRef name, const short size, const int expected_type_index) |
| void | add_struct (StringRefNull name) |
| int | lookup_index (StringRefNull name) const |
| TypeInfo & | lookup (StringRefNull name) |
| const TypeInfo & | lookup (StringRefNull name) const |
Public Attributes | |
| CustomIDVectorSet< TypeInfo, GetIDFn > | types |
Table of unique SDNA types.
Definition at line 109 of file makesdna.cc.
|
inline |
Definition at line 121 of file makesdna.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::BLI_assert(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and UNUSED_VARS_NDEBUG.
Referenced by blender::build_type_table().
|
inline |
Add a struct type if it doesn't exist yet. Sizes will be computed later.
Definition at line 135 of file makesdna.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
Referenced by blender::build_type_table().
|
inline |
Look up an existing type by name.
Definition at line 153 of file makesdna.cc.
References lookup_index().
Referenced by blender::compute_type_size_and_alignment(), blender::write_sdna_blob(), and blender::write_sdna_verify().
|
inline |
Definition at line 158 of file makesdna.cc.
References lookup_index().
|
inline |
Look up the index of an existing type.
Definition at line 147 of file makesdna.cc.
Referenced by lookup(), lookup(), and blender::write_sdna_blob().
| CustomIDVectorSet<TypeInfo, GetIDFn> blender::TypeTable::types |
Definition at line 119 of file makesdna.cc.
Referenced by blender::write_sdna_blob().