Blender  V3.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::GVMutableArrayImpl_For_VMutableArray< T > Class Template Reference

#include <BLI_generic_virtual_array.hh>

Inheritance diagram for blender::GVMutableArrayImpl_For_VMutableArray< T >:
blender::GVMutableArrayImpl blender::GVArrayImpl

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 override
 
void materialize_to_uninitialized (const IndexMask mask, void *dst) const override
 
void materialize_compressed (const IndexMask mask, void *dst) const override
 
void materialize_compressed_to_uninitialized (const IndexMask mask, void *dst) 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 412 of file BLI_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVMutableArrayImpl_For_VMutableArray()

Definition at line 417 of file BLI_generic_virtual_array.hh.

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 433 of file BLI_generic_virtual_array.hh.

References blender::VArrayCommon< T >::common_info().

◆ 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 423 of file BLI_generic_virtual_array.hh.

References T.

◆ 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 428 of file BLI_generic_virtual_array.hh.

References T.

◆ materialize()

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

Reimplemented from blender::GVArrayImpl.

Definition at line 462 of file BLI_generic_virtual_array.hh.

References mask(), blender::VArrayCommon< T >::materialize(), and T.

◆ materialize_compressed()

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

◆ materialize_compressed_to_uninitialized()

template<typename T >
void blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_compressed_to_uninitialized ( const IndexMask  mask,
void dst 
) const
inlineoverrideprotectedvirtual

◆ materialize_to_uninitialized()

template<typename T >
void blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_to_uninitialized ( const IndexMask  mask,
void dst 
) const
inlineoverrideprotectedvirtual

◆ set_all()

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

Reimplemented from blender::GVMutableArrayImpl.

Definition at line 457 of file BLI_generic_virtual_array.hh.

References blender::VMutableArray< T >::set_all(), src, and T.

◆ 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 438 of file BLI_generic_virtual_array.hh.

References blender::VMutableArray< T >::set(), and T.

◆ 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 451 of file BLI_generic_virtual_array.hh.

References blender::VMutableArray< T >::set(), and T.

◆ 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 444 of file BLI_generic_virtual_array.hh.

References blender::VMutableArray< T >::set(), and T.

◆ 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 482 of file BLI_generic_virtual_array.hh.

◆ 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 488 of file BLI_generic_virtual_array.hh.

Member Data Documentation

◆ varray_

template<typename T >
VMutableArray<T> blender::GVMutableArrayImpl_For_VMutableArray< T >::varray_
protected

Definition at line 414 of file BLI_generic_virtual_array.hh.


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