|
Blender V5.0
|
#include <BLI_generic_virtual_array.hh>
Inherits blender::GVArrayImpl.
Inherited by blender::GVArrayImpl_For_GSpan, blender::GVMutableArrayImpl_For_VMutableArray< T >, and blender::bke::GVMutableArray_For_ConvertedGVMutableArray.
Public Member Functions | |
| GVMutableArrayImpl (const CPPType &type, int64_t size) | |
| virtual void | set_by_move (int64_t index, void *value)=0 |
#GVMutableArrayImpl | |
| virtual void | set_by_copy (int64_t index, const void *value) |
| virtual void | set_by_relocate (int64_t index, void *value) |
| virtual void | set_all (const void *src) |
| virtual bool | try_assign_VMutableArray (void *varray) const |
| Public Member Functions inherited from blender::GVArrayImpl | |
| virtual | ~GVArrayImpl ()=default |
| virtual void | get_to_uninitialized (int64_t index, void *r_value) const =0 |
| GVArrayImpl (const CPPType &type, int64_t size) | |
| const CPPType & | type () const |
| int64_t | size () const |
| 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 |
Additional Inherited Members | |
| Protected Attributes inherited from blender::GVArrayImpl | |
| const CPPType * | type_ |
| int64_t | size_ |
Definition at line 57 of file BLI_generic_virtual_array.hh.
Definition at line 59 of file BLI_generic_virtual_array.hh.
References blender::GVArrayImpl::GVArrayImpl(), blender::GVArrayImpl::size(), and blender::GVArrayImpl::type().
Referenced by blender::GVArrayImpl_For_GSpan::GVArrayImpl_For_GSpan(), blender::GVArrayImpl_For_GSpan::GVArrayImpl_For_GSpan(), blender::bke::GVMutableArray_For_ConvertedGVMutableArray::GVMutableArray_For_ConvertedGVMutableArray(), and blender::GVMutableArrayImpl_For_VMutableArray< T >::GVMutableArrayImpl_For_VMutableArray().
|
virtual |
Reimplemented in blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 91 of file generic_virtual_array.cc.
References blender::GVArrayImpl::common_info(), blender::CommonVArrayInfo::data, i, POINTER_OFFSET, set_by_copy(), blender::GVArrayImpl::size_, blender::CommonVArrayInfo::Span, blender::CommonVArrayInfo::type, and blender::GVArrayImpl::type_.
|
virtual |
Reimplemented in blender::GVArrayImpl_For_GSpan, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 77 of file generic_virtual_array.cc.
References BUFFER_FOR_CPP_TYPE_VALUE, set_by_move(), and blender::GVArrayImpl::type_.
Referenced by set_all().
|
pure virtual |
Implemented in blender::GVArrayImpl_For_GSpan, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Referenced by set_by_copy(), and set_by_relocate().
|
virtual |
Reimplemented in blender::GVArrayImpl_For_GSpan, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 85 of file generic_virtual_array.cc.
References set_by_move(), and blender::GVArrayImpl::type_.
|
virtual |
Reimplemented in blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 117 of file generic_virtual_array.cc.