|
Blender V4.3
|
#include <BLI_generic_vector_array.hh>
Inherits blender::NonCopyable, and blender::NonMovable.
Public Member Functions | |
| GVectorArray ()=delete | |
| GVectorArray (const CPPType &type, int64_t array_size) | |
| ~GVectorArray () | |
| int64_t | size () const |
| bool | is_empty () const |
| const CPPType & | type () const |
| void | append (int64_t index, const void *value) |
| void | extend (int64_t index, const GVArray &values) |
| void | extend (int64_t index, GSpan values) |
| void | extend (const IndexMask &mask, const GVVectorArray &values) |
| void | extend (const IndexMask &mask, const GVectorArray &values) |
| void | clear (const IndexMask &mask) |
| GMutableSpan | operator[] (int64_t index) |
| GSpan | operator[] (int64_t index) const |
Definition at line 22 of file BLI_generic_vector_array.hh.
|
delete |
Definition at line 9 of file generic_vector_array.cc.
| blender::GVectorArray::~GVectorArray | ( | ) |
Definition at line 14 of file generic_vector_array.cc.
References blender::CPPType::destruct_n(), and blender::CPPType::is_trivially_destructible().
| void blender::GVectorArray::append | ( | int64_t | index, |
| const void * | value ) |
Definition at line 24 of file generic_vector_array.cc.
References blender::CPPType::copy_construct(), and POINTER_OFFSET.
Referenced by blender::GVectorArray_TypedMutableRef< T >::append(), and blender::fn::multi_function::tests::GenericAppendFunction::call().
| void blender::GVectorArray::clear | ( | const IndexMask & | mask | ) |
Definition at line 66 of file generic_vector_array.cc.
References blender::CPPType::destruct_n().
| void blender::GVectorArray::extend | ( | const IndexMask & | mask, |
| const GVectorArray & | values ) |
Definition at line 60 of file generic_vector_array.cc.
References extend().
| void blender::GVectorArray::extend | ( | const IndexMask & | mask, |
| const GVVectorArray & | values ) |
Definition at line 52 of file generic_vector_array.cc.
References extend().
Definition at line 36 of file generic_vector_array.cc.
References append, BLI_assert, BUFFER_FOR_CPP_TYPE_VALUE, and blender::CPPType::destruct().
Referenced by blender::fn::multi_function::CustomMF_GenericConstantArray::call(), blender::fn::multi_function::VariableState::ensure_is_mutable(), blender::fn::multi_function::VariableState::ensure_is_mutable__one(), extend(), extend(), extend(), blender::GVectorArray_TypedMutableRef< T >::extend(), and blender::GVectorArray_TypedMutableRef< T >::extend().
Definition at line 47 of file generic_vector_array.cc.
References extend(), and blender::GVArray::ForSpan().
|
inline |
Definition at line 52 of file BLI_generic_vector_array.hh.
References blender::Array< T, InlineBufferCapacity, Allocator >::is_empty().
Referenced by blender::GVectorArray_TypedMutableRef< T >::is_empty().
| GMutableSpan blender::GVectorArray::operator[] | ( | int64_t | index | ) |
Definition at line 75 of file generic_vector_array.cc.
Definition at line 81 of file generic_vector_array.cc.
|
inline |
Definition at line 47 of file BLI_generic_vector_array.hh.
References blender::Array< T, InlineBufferCapacity, Allocator >::size().
Referenced by blender::fn::multi_function::ParamsBuilder::add_vector_mutable(), blender::fn::multi_function::ParamsBuilder::add_vector_output(), blender::GVVectorArray_For_GVectorArray::get_vector_size_impl(), and blender::GVectorArray_TypedMutableRef< T >::size().
|
inline |