|
Blender V5.0
|
#include <BLI_generic_virtual_array.hh>
Inherited by blender::GVArrayImpl_For_SingleValueRef, blender::GVArrayImpl_For_SlicedGVArray, blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >, blender::GVArrayImpl_For_VArray< T >, blender::GVArray_For_GVVectorArrayIndex, blender::GVMutableArrayImpl, and blender::bke::GVArray_For_ConvertedGVArray.
Public Member Functions | |
| virtual | ~GVArrayImpl ()=default |
| virtual void | get_to_uninitialized (int64_t index, void *r_value) const =0 |
Inline methods for #GVArrayImpl. | |
| GVArrayImpl (const CPPType &type, int64_t size) | |
| const CPPType & | type () const |
| int64_t | size () const |
#GVArrayImpl | |
| virtual void | get (int64_t index, void *r_value) const |
| virtual CommonVArrayInfo | common_info () const |
| virtual void | materialize (const IndexMask &mask, void *dst, bool dst_is_uninitialized) const |
| virtual void | materialize_compressed (const IndexMask &mask, void *dst, bool dst_is_uninitialized) const |
| virtual bool | try_assign_VArray (void *varray) const |
Protected Attributes | |
| const CPPType * | type_ |
| int64_t | size_ |
Definition at line 30 of file BLI_generic_virtual_array.hh.
Definition at line 630 of file BLI_generic_virtual_array.hh.
References BLI_assert, size(), size_, type(), and type_.
Referenced by blender::bke::GVArray_For_ConvertedGVArray::GVArray_For_ConvertedGVArray(), blender::GVArray_For_GVVectorArrayIndex::GVArray_For_GVVectorArrayIndex(), blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef(), blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef(), blender::GVArrayImpl_For_SlicedGVArray::GVArrayImpl_For_SlicedGVArray(), blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >::GVArrayImpl_For_SmallTrivialSingleValue(), blender::GVArrayImpl_For_VArray< T >::GVArrayImpl_For_VArray(), and blender::GVMutableArrayImpl::GVMutableArrayImpl().
|
virtualdefault |
|
virtual |
Reimplemented in blender::GVArrayImpl_For_GSpan, blender::GVArrayImpl_For_SingleValueRef, blender::GVArrayImpl_For_SlicedGVArray, blender::GVArrayImpl_For_VArray< T >, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 61 of file generic_virtual_array.cc.
Referenced by blender::GVArrayDevirtualizer< T, UseSingle, UseSpan >::devirtualize(), blender::fn::multi_function::build::detail::execute_materialized(), and blender::GVMutableArrayImpl::set_all().
|
virtual |
Reimplemented in blender::GVArray_For_GVVectorArrayIndex, blender::GVArrayImpl_For_GSpan, blender::GVArrayImpl_For_SingleValueRef, blender::GVArrayImpl_For_SlicedGVArray, blender::GVArrayImpl_For_VArray< T >, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 55 of file generic_virtual_array.cc.
References get_to_uninitialized(), and type_.
Referenced by materialize(), and materialize_compressed().
|
pure virtual |
Implemented in blender::GVArray_For_GVVectorArrayIndex, blender::GVArrayImpl_For_GSpan, blender::GVArrayImpl_For_SingleValueRef, blender::GVArrayImpl_For_SlicedGVArray, blender::GVArrayImpl_For_VArray< T >, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
References mask().
Referenced by get(), materialize(), and materialize_compressed().
|
virtual |
Reimplemented in blender::GVArrayImpl_For_GSpan, blender::GVArrayImpl_For_SingleValueRef, blender::GVArrayImpl_For_SlicedGVArray, blender::GVArrayImpl_For_VArray< T >, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 19 of file generic_virtual_array.cc.
References get(), get_to_uninitialized(), i, mask(), POINTER_OFFSET, and type_.
|
virtual |
Reimplemented in blender::GVArrayImpl_For_GSpan, blender::GVArrayImpl_For_SingleValueRef, blender::GVArrayImpl_For_SlicedGVArray, blender::GVArrayImpl_For_VArray< T >, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 37 of file generic_virtual_array.cc.
References get(), get_to_uninitialized(), i, mask(), POINTER_OFFSET, pos, and type_.
Referenced by blender::fn::multi_function::build::detail::execute_materialized().
|
inline |
Definition at line 641 of file BLI_generic_virtual_array.hh.
References size_.
Referenced by blender::GVArrayDevirtualizer< T, UseSingle, UseSpan >::devirtualize(), blender::bke::GVArray_For_ConvertedGVArray::GVArray_For_ConvertedGVArray(), GVArrayImpl(), blender::GVArrayImpl_For_GSpan::GVArrayImpl_For_GSpan(), blender::GVArrayImpl_For_GSpan::GVArrayImpl_For_GSpan(), blender::GVArrayImpl_For_SingleValue::GVArrayImpl_For_SingleValue(), blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef(), blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef(), blender::GVArrayImpl_For_SlicedGVArray::GVArrayImpl_For_SlicedGVArray(), blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >::GVArrayImpl_For_SmallTrivialSingleValue(), blender::GVArrayImpl_For_VArray< T >::GVArrayImpl_For_VArray(), blender::bke::GVMutableArray_For_ConvertedGVMutableArray::GVMutableArray_For_ConvertedGVMutableArray(), blender::GVMutableArrayImpl::GVMutableArrayImpl(), and blender::GVMutableArrayImpl_For_VMutableArray< T >::GVMutableArrayImpl_For_VMutableArray().
|
virtual |
Reimplemented in blender::GVArrayImpl_For_VArray< T >, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 66 of file generic_virtual_array.cc.
|
inline |
Definition at line 636 of file BLI_generic_virtual_array.hh.
References type_.
Referenced by blender::bke::GVArray_For_ConvertedGVArray::GVArray_For_ConvertedGVArray(), blender::GVArray_For_GVVectorArrayIndex::GVArray_For_GVVectorArrayIndex(), GVArrayImpl(), blender::GVArrayImpl_For_GSpan::GVArrayImpl_For_GSpan(), blender::GVArrayImpl_For_GSpan::GVArrayImpl_For_GSpan(), blender::GVArrayImpl_For_SingleValue::GVArrayImpl_For_SingleValue(), blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef(), blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef(), blender::GVArrayImpl_For_SlicedGVArray::GVArrayImpl_For_SlicedGVArray(), blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >::GVArrayImpl_For_SmallTrivialSingleValue(), blender::bke::GVMutableArray_For_ConvertedGVMutableArray::GVMutableArray_For_ConvertedGVMutableArray(), and blender::GVMutableArrayImpl::GVMutableArrayImpl().
|
protected |
Definition at line 33 of file BLI_generic_virtual_array.hh.
Referenced by GVArrayImpl(), blender::GVMutableArrayImpl::set_all(), blender::GVMutableArrayImpl_For_VMutableArray< T >::set_all(), and size().
|
protected |
Definition at line 32 of file BLI_generic_virtual_array.hh.
Referenced by blender::GVArrayImpl_For_SlicedGVArray::common_info(), get(), blender::GVArrayImpl_For_GSpan::get(), blender::GVArrayImpl_For_SingleValueRef::get(), blender::GVArray_For_GVVectorArrayIndex::get_to_uninitialized(), blender::GVArrayImpl_For_GSpan::get_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::get_to_uninitialized(), GVArrayImpl(), materialize(), blender::GVArrayImpl_For_GSpan::materialize(), blender::GVArrayImpl_For_SingleValueRef::materialize(), blender::GVArrayImpl_For_SlicedGVArray::materialize(), materialize_compressed(), blender::GVArrayImpl_For_GSpan::materialize_compressed(), blender::GVArrayImpl_For_SingleValueRef::materialize_compressed(), blender::GVMutableArrayImpl::set_all(), blender::GVArrayImpl_For_GSpan::set_by_copy(), blender::GVMutableArrayImpl::set_by_copy(), blender::GVArrayImpl_For_GSpan::set_by_move(), blender::GVArrayImpl_For_GSpan::set_by_relocate(), blender::GVMutableArrayImpl::set_by_relocate(), type(), and blender::GVArrayImpl_For_SingleValue::~GVArrayImpl_For_SingleValue().