Blender  V3.3
Public Member Functions | List of all members
blender::VMutableArrayImpl< T > Class Template Referenceabstract

#include <BLI_virtual_array.hh>

Inheritance diagram for blender::VMutableArrayImpl< T >:
blender::VArrayImpl< T > blender::VArrayImpl_For_Span< typename Container::value_type > blender::VArrayImpl_For_Span< T > blender::VMutableArrayImpl_For_GVMutableArray< T > blender::bke::VArrayImpl_For_SplinePoints< T > blender::VArrayImpl_For_ArrayContainer< Container, T > blender::VArrayImpl_For_Span_final< 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 &UNUSED(varray)) 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 (IndexMask mask, MutableSpan< T > r_span) const
 
virtual void materialize_to_uninitialized (IndexMask mask, MutableSpan< T > r_span) const
 
virtual void materialize_compressed (IndexMask mask, MutableSpan< T > r_span) const
 
virtual void materialize_compressed_to_uninitialized (IndexMask mask, MutableSpan< T > r_span) const
 
virtual bool try_assign_GVArray (GVArray &UNUSED(varray)) const
 
virtual bool is_same (const VArrayImpl< T > &UNUSED(other)) 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 207 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()

template<typename T >
virtual void blender::VMutableArrayImpl< T >::set_all ( Span< T src)
inlinevirtual

◆ try_assign_GVMutableArray()

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

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

Definition at line 237 of file BLI_virtual_array.hh.


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