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

#include <BLI_generic_virtual_array.hh>

Inherits blender::GVArrayImpl.

Public Member Functions

 GVArrayImpl_For_VArray (VArray< T > varray)
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
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
CommonVArrayInfo common_info () const override

Protected Attributes

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

Detailed Description

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

Definition at line 304 of file BLI_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVArrayImpl_For_VArray()

template<typename T>
blender::GVArrayImpl_For_VArray< T >::GVArrayImpl_For_VArray ( VArray< T > varray)
inline

Member Function Documentation

◆ common_info()

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

Reimplemented from blender::GVArrayImpl.

Definition at line 346 of file BLI_generic_virtual_array.hh.

References varray_.

◆ get()

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

Reimplemented from blender::GVArrayImpl.

Definition at line 315 of file BLI_generic_virtual_array.hh.

References T, and varray_.

Referenced by GVArrayImpl_For_VArray().

◆ get_to_uninitialized()

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

Implements blender::GVArrayImpl.

Definition at line 320 of file BLI_generic_virtual_array.hh.

References T, and varray_.

◆ materialize()

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

Reimplemented from blender::GVArrayImpl.

Definition at line 325 of file BLI_generic_virtual_array.hh.

References mask(), T, and varray_.

◆ materialize_compressed()

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

Reimplemented from blender::GVArrayImpl.

Definition at line 332 of file BLI_generic_virtual_array.hh.

References mask(), T, and varray_.

◆ try_assign_VArray()

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

Reimplemented from blender::GVArrayImpl.

Definition at line 340 of file BLI_generic_virtual_array.hh.

References varray_.

Member Data Documentation

◆ varray_


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