|
Blender V4.3
|
Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::dna |
| namespace | blender::dna::array |
Functions | |
| template<typename T > | |
| void | blender::dna::array::remove_index (T **items, int *items_num, int *active_index, const int index, void(*destruct_item)(T *)) |
| template<typename T > | |
| void | blender::dna::array::clear (T **items, int *items_num, int *active_index, void(*destruct_item)(T *)) |
| template<typename T > | |
| void | blender::dna::array::move_index (T *items, const int items_num, const int from_index, const int to_index) |
Contains functions that help dealing with arrays that are stored in DNA. Due to the constraints of DNA, all structs are trivial from the language's point of view (std::is_trivial_v). However, semantically, these types may have non-trivial copy-constructors and destructors.
Definition in file DNA_array_utils.hh.