|
Blender
V2.93
|
#include <FN_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 (IndexMask mask, const GVVectorArray &values) |
| void | extend (IndexMask mask, const GVectorArray &values) |
| GMutableSpan | operator[] (int64_t index) |
| GSpan | operator[] (int64_t index) const |
Definition at line 35 of file FN_generic_vector_array.hh.
|
delete |
Definition at line 23 of file generic_vector_array.cc.
| blender::fn::GVectorArray::~GVectorArray | ( | ) |
Definition at line 28 of file generic_vector_array.cc.
References blender::fn::CPPType::destruct_n(), and blender::fn::CPPType::is_trivially_destructible().
| void blender::fn::GVectorArray::append | ( | int64_t | index, |
| const void * | value | ||
| ) |
Definition at line 38 of file generic_vector_array.cc.
References blender::fn::CPPType::copy_to_uninitialized(), and POINTER_OFFSET.
Referenced by blender::fn::GVectorArray_TypedMutableRef< T >::append(), extend(), and blender::fn::tests::TEST().
| void blender::fn::GVectorArray::extend | ( | IndexMask | mask, |
| const GVectorArray & | values | ||
| ) |
Definition at line 75 of file generic_vector_array.cc.
References extend().
| void blender::fn::GVectorArray::extend | ( | IndexMask | mask, |
| const GVVectorArray & | values | ||
| ) |
Definition at line 67 of file generic_vector_array.cc.
Definition at line 50 of file generic_vector_array.cc.
References append(), BLI_assert, buffer, BUFFER_FOR_CPP_TYPE_VALUE, blender::fn::CPPType::destruct(), blender::fn::GVArray::get(), blender::fn::GVArray::size(), and blender::fn::GVArray::type().
Referenced by blender::fn::CustomMF_GenericConstantArray::call(), blender::fn::GVectorArray_TypedMutableRef< T >::extend(), extend(), blender::fn::MFNetworkEvaluationStorage::get_mutable_vector__full(), blender::fn::MFNetworkEvaluationStorage::get_mutable_vector__single(), and blender::fn::tests::TEST().
Definition at line 61 of file generic_vector_array.cc.
References extend().
|
inline |
Definition at line 65 of file FN_generic_vector_array.hh.
References blender::Array< T, InlineBufferCapacity, Allocator >::is_empty().
Referenced by blender::fn::GVectorArray_TypedMutableRef< T >::is_empty().
| GMutableSpan blender::fn::GVectorArray::operator[] | ( | int64_t | index | ) |
Definition at line 81 of file generic_vector_array.cc.
Definition at line 87 of file generic_vector_array.cc.
|
inline |
Definition at line 60 of file FN_generic_vector_array.hh.
References blender::Array< T, InlineBufferCapacity, Allocator >::size().
Referenced by blender::fn::MFParamsBuilder::add_vector_mutable(), blender::fn::MFParamsBuilder::add_vector_output(), blender::fn::MFNetworkEvaluationStorage::add_vector_output_from_caller(), blender::fn::MFNetworkEvaluationStorage::get_mutable_vector__single(), blender::fn::MFNetworkEvaluationStorage::get_vector_input__full(), blender::fn::MFNetworkEvaluationStorage::get_vector_input__single(), blender::fn::MFNetworkEvaluationStorage::get_vector_output__single(), blender::fn::GVVectorArrayForGVectorArray::get_vector_size_impl(), and blender::fn::GVectorArray_TypedMutableRef< T >::size().
|
inline |
Definition at line 70 of file FN_generic_vector_array.hh.
Referenced by blender::fn::MFParamsBuilder::add_vector_mutable(), blender::fn::MFParamsBuilder::add_vector_output(), and blender::fn::GVectorArray_TypedMutableRef< T >::GVectorArray_TypedMutableRef().