|
Blender V4.3
|
#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) const |
| virtual void | materialize_to_uninitialized (const IndexMask &mask, void *dst) const |
| virtual void | materialize_compressed (const IndexMask &mask, void *dst) const |
| virtual void | materialize_compressed_to_uninitialized (const IndexMask &mask, void *dst) 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 59 of file BLI_generic_virtual_array.hh.
Definition at line 61 of file BLI_generic_virtual_array.hh.
|
virtual |
Reimplemented in blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 83 of file generic_virtual_array.cc.
References blender::GVArrayImpl::common_info(), blender::CPPType::copy_assign_n(), blender::CommonVArrayInfo::data, POINTER_OFFSET, set_by_copy(), blender::CPPType::size(), blender::GVArrayImpl::size_, blender::CommonVArrayInfo::Span, blender::CommonVArrayInfo::type, and blender::GVArrayImpl::type_.
Referenced by blender::GVMutableArray::set_all().
|
virtual |
Reimplemented in blender::GVArrayImpl_For_GSpan, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 69 of file generic_virtual_array.cc.
References BUFFER_FOR_CPP_TYPE_VALUE, blender::CPPType::copy_construct(), blender::CPPType::destruct(), set_by_move(), and blender::GVArrayImpl::type_.
Referenced by set_all(), and blender::GVMutableArray::set_by_copy().
|
pure virtual |
Implemented in blender::GVArrayImpl_For_GSpan, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Referenced by set_by_copy(), blender::GVMutableArray::set_by_move(), and set_by_relocate().
|
virtual |
Reimplemented in blender::GVArrayImpl_For_GSpan, and blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 77 of file generic_virtual_array.cc.
References blender::CPPType::destruct(), set_by_move(), and blender::GVArrayImpl::type_.
Referenced by blender::GVMutableArray::set_by_relocate().
|
virtual |
Reimplemented in blender::GVMutableArrayImpl_For_VMutableArray< T >.
Definition at line 109 of file generic_virtual_array.cc.
Referenced by blender::GVMutableArray::try_assign_VMutableArray().