Blender V4.3
blender::VMutableArrayImpl< T > Class Template Referenceabstract

#include <BLI_virtual_array.hh>

Inherits blender::VArrayImpl< T >.

Inherited by blender::VArrayImpl_For_Span< T >, and blender::VMutableArrayImpl_For_GVMutableArray< T >.

Public Member Functions

virtual void set (int64_t index, T value)=0
 
virtual void set_all (Span< T > src)
 
virtual bool try_assign_GVMutableArray (GVMutableArray &) const
 
- Public Member Functions inherited from blender::VArrayImpl< T >
 VArrayImpl (const int64_t size)
 
virtual ~VArrayImpl ()=default
 
int64_t size () const
 
virtual T get (int64_t index) const =0
 
virtual CommonVArrayInfo common_info () const
 
virtual void materialize (const IndexMask &mask, T *dst) const
 
virtual void materialize_to_uninitialized (const IndexMask &mask, T *dst) const
 
virtual void materialize_compressed (const IndexMask &mask, T *dst) const
 
virtual void materialize_compressed_to_uninitialized (const IndexMask &mask, T *dst) const
 
virtual bool try_assign_GVArray (GVArray &) const
 

Additional Inherited Members

- Protected Attributes inherited from blender::VArrayImpl< T >
int64_t size_
 

Detailed Description

template<typename T>
class blender::VMutableArrayImpl< T >

Similar to VArrayImpl, but adds methods that allow modifying the referenced elements.

Definition at line 157 of file BLI_virtual_array.hh.

Member Function Documentation

◆ set()

template<typename T >
virtual void blender::VMutableArrayImpl< T >::set ( int64_t index,
T value )
pure virtual

◆ set_all()

◆ try_assign_GVMutableArray()

template<typename T >
virtual bool blender::VMutableArrayImpl< T >::try_assign_GVMutableArray ( GVMutableArray & ) const
inlinevirtual

Similar to VArrayImpl::try_assign_GVArray but for mutable virtual arrays.

Definition at line 187 of file BLI_virtual_array.hh.


The documentation for this class was generated from the following file: