Blender V5.0
blender::GVMutableArrayImpl_For_VMutableArray< T > Class Template Reference

#include <BLI_generic_virtual_array.hh>

Inherits blender::GVMutableArrayImpl.

Public Member Functions

 GVMutableArrayImpl_For_VMutableArray (VMutableArray< T > varray)
Public Member Functions inherited from blender::GVMutableArrayImpl
 GVMutableArrayImpl (const CPPType &type, int64_t size)
Public Member Functions inherited from blender::GVArrayImpl
virtual ~GVArrayImpl ()=default
 GVArrayImpl (const CPPType &type, int64_t size)
const CPPTypetype () const
int64_t size () const

Protected Member Functions

void get (const int64_t index, void *r_value) const override
void get_to_uninitialized (const int64_t index, void *r_value) const override
CommonVArrayInfo common_info () const override
void set_by_copy (const int64_t index, const void *value) override
void set_by_relocate (const int64_t index, void *value) override
void set_by_move (const int64_t index, void *value) override
void set_all (const void *src) override
void materialize (const IndexMask &mask, void *dst, const bool dst_is_uninitialized) const override
void materialize_compressed (const IndexMask &mask, void *dst, const bool dst_is_uninitialized) const override
bool try_assign_VArray (void *varray) const override
bool try_assign_VMutableArray (void *varray) const override

Protected Attributes

VMutableArray< Tvarray_
Protected Attributes inherited from blender::GVArrayImpl
const CPPTypetype_
int64_t size_

Detailed Description

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

Definition at line 397 of file BLI_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVMutableArrayImpl_For_VMutableArray()

template<typename T>
blender::GVMutableArrayImpl_For_VMutableArray< T >::GVMutableArrayImpl_For_VMutableArray ( VMutableArray< T > varray)
inline

Member Function Documentation

◆ common_info()

template<typename T>
CommonVArrayInfo blender::GVMutableArrayImpl_For_VMutableArray< T >::common_info ( ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 418 of file BLI_generic_virtual_array.hh.

References varray_.

◆ get()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::get ( const int64_t index,
void * r_value ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 408 of file BLI_generic_virtual_array.hh.

References T, and varray_.

Referenced by GVMutableArrayImpl_For_VMutableArray().

◆ get_to_uninitialized()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::get_to_uninitialized ( const int64_t index,
void * r_value ) const
inlineoverrideprotectedvirtual

Implements blender::GVArrayImpl.

Definition at line 413 of file BLI_generic_virtual_array.hh.

References T, and varray_.

◆ materialize()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize ( const IndexMask & mask,
void * dst,
const bool dst_is_uninitialized ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 447 of file BLI_generic_virtual_array.hh.

References mask(), T, and varray_.

◆ materialize_compressed()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_compressed ( const IndexMask & mask,
void * dst,
const bool dst_is_uninitialized ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 454 of file BLI_generic_virtual_array.hh.

References mask(), T, and varray_.

◆ set_all()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::set_all ( const void * src)
inlineoverrideprotectedvirtual

Reimplemented from blender::GVMutableArrayImpl.

Definition at line 442 of file BLI_generic_virtual_array.hh.

References blender::GVArrayImpl::size_, T, and varray_.

◆ set_by_copy()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::set_by_copy ( const int64_t index,
const void * value )
inlineoverrideprotectedvirtual

Reimplemented from blender::GVMutableArrayImpl.

Definition at line 423 of file BLI_generic_virtual_array.hh.

References T, and varray_.

◆ set_by_move()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::set_by_move ( const int64_t index,
void * value )
inlineoverrideprotectedvirtual

Implements blender::GVMutableArrayImpl.

Definition at line 436 of file BLI_generic_virtual_array.hh.

References T, and varray_.

◆ set_by_relocate()

template<typename T>
void blender::GVMutableArrayImpl_For_VMutableArray< T >::set_by_relocate ( const int64_t index,
void * value )
inlineoverrideprotectedvirtual

Reimplemented from blender::GVMutableArrayImpl.

Definition at line 429 of file BLI_generic_virtual_array.hh.

References T, and varray_.

◆ try_assign_VArray()

template<typename T>
bool blender::GVMutableArrayImpl_For_VMutableArray< T >::try_assign_VArray ( void * varray) const
inlineoverrideprotectedvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 462 of file BLI_generic_virtual_array.hh.

References varray_.

◆ try_assign_VMutableArray()

template<typename T>
bool blender::GVMutableArrayImpl_For_VMutableArray< T >::try_assign_VMutableArray ( void * varray) const
inlineoverrideprotectedvirtual

Reimplemented from blender::GVMutableArrayImpl.

Definition at line 468 of file BLI_generic_virtual_array.hh.

References varray_.

Member Data Documentation

◆ varray_


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