Blender V4.3
blender::GVArrayImpl Class Referenceabstract

#include <BLI_generic_virtual_array.hh>

Inherited by blender::GVArrayImpl_For_SingleValueRef, blender::GVArrayImpl_For_SlicedGVArray, blender::GVArrayImpl_For_SmallTrivialSingleValue< BufferSize >, blender::GVArrayImpl_For_VArray< T >, blender::GVArray_For_GVVectorArrayIndex, blender::GVMutableArrayImpl, and blender::bke::GVArray_For_ConvertedGVArray.

Public Member Functions

virtual ~GVArrayImpl ()=default
 
virtual void get_to_uninitialized (int64_t index, void *r_value) const =0
 
Inline methods for #GVArrayImpl.
 GVArrayImpl (const CPPType &type, int64_t size)
 
const CPPTypetype () const
 
int64_t size () const
 
#GVArrayImpl
virtual void get (int64_t index, void *r_value) const
 
virtual CommonVArrayInfo common_info () const
 
virtual void materialize (const IndexMask &mask, void *dst) const
 
virtual void materialize_to_uninitialized (const IndexMask &mask, void *dst) const
 
virtual void materialize_compressed (const IndexMask &mask, void *dst) const
 
virtual void materialize_compressed_to_uninitialized (const IndexMask &mask, void *dst) const
 
virtual bool try_assign_VArray (void *varray) const
 

Protected Attributes

const CPPTypetype_
 
int64_t size_
 

Detailed Description

Definition at line 31 of file BLI_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVArrayImpl()

blender::GVArrayImpl::GVArrayImpl ( const CPPType & type,
int64_t size )
inline

Definition at line 663 of file BLI_generic_virtual_array.hh.

References BLI_assert, and size_.

◆ ~GVArrayImpl()

virtual blender::GVArrayImpl::~GVArrayImpl ( )
virtualdefault

Member Function Documentation

◆ common_info()

◆ get()

◆ get_to_uninitialized()

◆ materialize()

◆ materialize_compressed()

◆ materialize_compressed_to_uninitialized()

◆ materialize_to_uninitialized()

◆ size()

◆ try_assign_VArray()

bool blender::GVArrayImpl::try_assign_VArray ( void * varray) const
virtual

◆ type()

Member Data Documentation

◆ size_

int64_t blender::GVArrayImpl::size_
protected

◆ type_

const CPPType* blender::GVArrayImpl::type_
protected

Definition at line 33 of file BLI_generic_virtual_array.hh.

Referenced by blender::GVArrayImpl_For_SlicedGVArray::common_info(), get(), blender::GVArrayImpl_For_GSpan::get(), blender::GVArrayImpl_For_SingleValueRef::get(), blender::GVArray_For_GVVectorArrayIndex::get_to_uninitialized(), blender::GVArrayImpl_For_GSpan::get_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::get_to_uninitialized(), materialize(), blender::GVArrayImpl_For_GSpan::materialize(), blender::GVArrayImpl_For_SingleValueRef::materialize(), blender::GVArrayImpl_For_SlicedGVArray::materialize(), materialize_compressed(), blender::GVArrayImpl_For_GSpan::materialize_compressed(), blender::GVArrayImpl_For_SingleValueRef::materialize_compressed(), materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_GSpan::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::materialize_compressed_to_uninitialized(), materialize_to_uninitialized(), blender::GVArrayImpl_For_GSpan::materialize_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::materialize_to_uninitialized(), blender::GVArrayImpl_For_SlicedGVArray::materialize_to_uninitialized(), blender::GVMutableArrayImpl::set_all(), blender::GVArrayImpl_For_GSpan::set_by_copy(), blender::GVMutableArrayImpl::set_by_copy(), blender::GVArrayImpl_For_GSpan::set_by_move(), blender::GVArrayImpl_For_GSpan::set_by_relocate(), blender::GVMutableArrayImpl::set_by_relocate(), type(), and blender::GVArrayImpl_For_SingleValue::~GVArrayImpl_For_SingleValue().


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