Blender  V3.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::GVArrayImpl_For_SingleValueRef Class Reference

#include <BLI_generic_virtual_array.hh>

Inheritance diagram for blender::GVArrayImpl_For_SingleValueRef:
blender::GVArrayImpl blender::GVArrayImpl_For_SingleValue blender::GVArrayImpl_For_SingleValueRef_final

Public Member Functions

 GVArrayImpl_For_SingleValueRef (const CPPType &type, const int64_t size, const void *value)
 
- Public Member Functions inherited from blender::GVArrayImpl
virtual ~GVArrayImpl ()=default
 
 GVArrayImpl (const CPPType &type, int64_t size)
 
const CPPTypetype () const
 
int64_t size () const
 
virtual bool try_assign_VArray (void *varray) const
 

Protected Member Functions

 GVArrayImpl_For_SingleValueRef (const CPPType &type, const int64_t size)
 
#GVArrayImpl_For_SingleValueRef
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 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
 

Protected Attributes

const voidvalue_ = nullptr
 
- Protected Attributes inherited from blender::GVArrayImpl
const CPPTypetype_
 
int64_t size_
 

Detailed Description

Definition at line 619 of file BLI_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVArrayImpl_For_SingleValueRef() [1/2]

blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef ( const CPPType type,
const int64_t  size,
const void value 
)
inline

Definition at line 624 of file BLI_generic_virtual_array.hh.

◆ GVArrayImpl_For_SingleValueRef() [2/2]

blender::GVArrayImpl_For_SingleValueRef::GVArrayImpl_For_SingleValueRef ( const CPPType type,
const int64_t  size 
)
inlineprotected

Definition at line 630 of file BLI_generic_virtual_array.hh.

Member Function Documentation

◆ common_info()

CommonVArrayInfo blender::GVArrayImpl_For_SingleValueRef::common_info ( ) const
overrideprotectedvirtual

Reimplemented from blender::GVArrayImpl.

Definition at line 185 of file generic_virtual_array.cc.

References blender::CommonVArrayInfo::Single, and value_.

◆ get()

void blender::GVArrayImpl_For_SingleValueRef::get ( const int64_t  index,
void r_value 
) const
overrideprotectedvirtual

◆ get_to_uninitialized()

void blender::GVArrayImpl_For_SingleValueRef::get_to_uninitialized ( const int64_t  index,
void r_value 
) const
overrideprotectedvirtual

◆ materialize()

void blender::GVArrayImpl_For_SingleValueRef::materialize ( const IndexMask  mask,
void dst 
) const
overrideprotectedvirtual

◆ materialize_compressed()

void blender::GVArrayImpl_For_SingleValueRef::materialize_compressed ( const IndexMask  mask,
void dst 
) const
overrideprotectedvirtual

◆ materialize_compressed_to_uninitialized()

void blender::GVArrayImpl_For_SingleValueRef::materialize_compressed_to_uninitialized ( const IndexMask  mask,
void dst 
) const
overrideprotectedvirtual

◆ materialize_to_uninitialized()

void blender::GVArrayImpl_For_SingleValueRef::materialize_to_uninitialized ( const IndexMask  mask,
void dst 
) const
overrideprotectedvirtual

Member Data Documentation

◆ value_

const void* blender::GVArrayImpl_For_SingleValueRef::value_ = nullptr
protected

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