|
Blender V5.0
|
#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.
Definition at line 13 of file generic_vector_array.cc.
| blender::GVectorArray::~GVectorArray | ( | ) |
Definition at line 18 of file generic_vector_array.cc.
| void blender::GVectorArray::append | ( | int64_t | index, |
| const void * | value ) |
Definition at line 28 of file generic_vector_array.cc.
References POINTER_OFFSET.
Referenced by blender::fn::multi_function::tests::GenericAppendFunction::call(), extend(), and blender::tests::TEST().
| void blender::GVectorArray::clear | ( | const IndexMask & | mask | ) |
Definition at line 70 of file generic_vector_array.cc.
| void blender::GVectorArray::extend | ( | const IndexMask & | mask, |
| const GVectorArray & | values ) |
Definition at line 64 of file generic_vector_array.cc.
References extend(), GVectorArray(), and mask().
| void blender::GVectorArray::extend | ( | const IndexMask & | mask, |
| const GVVectorArray & | values ) |
Definition at line 56 of file generic_vector_array.cc.
Definition at line 40 of file generic_vector_array.cc.
References append(), BLI_assert, BUFFER_FOR_CPP_TYPE_VALUE, blender::GVArrayCommon::get(), i, blender::GVArrayCommon::size(), and blender::GVArrayCommon::type().
Referenced by blender::fn::multi_function::CustomMF_GenericConstantArray::call(), blender::fn::multi_function::tests::ConcatVectorsFunction::call(), blender::fn::multi_function::VariableState::ensure_is_mutable(), blender::fn::multi_function::VariableState::ensure_is_mutable__one(), extend(), extend(), extend(), and blender::tests::TEST().
Definition at line 51 of file generic_vector_array.cc.
References extend(), and blender::GVArray::from_span().
|
inline |
Definition at line 52 of file BLI_generic_vector_array.hh.
Referenced by blender::tests::TEST().
| GMutableSpan blender::GVectorArray::operator[] | ( | int64_t | index | ) |
Definition at line 79 of file generic_vector_array.cc.
Definition at line 85 of file generic_vector_array.cc.
|
inline |
Definition at line 47 of file BLI_generic_vector_array.hh.
Referenced by blender::fn::multi_function::ParamsBuilder::add_vector_mutable(), blender::fn::multi_function::ParamsBuilder::add_vector_output(), GVectorArray(), and blender::tests::TEST().
|
inline |
Definition at line 57 of file BLI_generic_vector_array.hh.
Referenced by blender::fn::multi_function::ParamsBuilder::add_vector_mutable(), blender::fn::multi_function::ParamsBuilder::add_vector_output(), GVectorArray(), and GVectorArray().