|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| class | blender::ListBaseWrapperTemplate< LB, T > |
| class | blender::ListBaseWrapperTemplate< LB, T >::Iterator |
Namespaces | |
| namespace | blender |
Typedefs | |
| template<typename T > | |
| using | blender::ListBaseWrapper = ListBaseWrapperTemplate<ListBase, T> |
| template<typename T > | |
| using | blender::ConstListBaseWrapper = ListBaseWrapperTemplate<const ListBase, const T> |
Functions | |
| template<typename T > | |
| Vector< T * > | blender::listbase_to_vector (ListBase &list) |
| template<typename T > | |
| Vector< T * > | blender::listbase_to_vector (const ListBase &list) |
blender::ListBaseWrapper is a typed wrapper for the ListBase struct. That makes it safer and more convenient to use in C++ in some cases. However, if you find yourself iterating over a linked list a lot, consider to convert it into a vector for further processing. This improves performance and debug-ability.
Definition in file BLI_listbase_wrapper.hh.