Blender  V2.93
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::fn::GVArrayForGSpan Class Reference

#include <FN_generic_virtual_array.hh>

Inherits blender::fn::GVArray.

Public Member Functions

 GVArrayForGSpan (const GSpan span)
 
- Public Member Functions inherited from blender::fn::GVArray
 GVArray (const CPPType &type, const int64_t size)
 
virtual ~GVArray ()=default
 
const CPPTypetype () const
 
int64_t size () const
 
bool is_empty () const
 
void get (const int64_t index, void *r_value) const
 
void get_to_uninitialized (const int64_t index, void *r_value) const
 
bool is_span () const
 
GSpan get_span () const
 
bool is_single () const
 
void get_single (void *r_value) const
 
void get_single_to_uninitialized (void *r_value) const
 
void materialize_to_uninitialized (const IndexMask mask, void *dst) const
 

Protected Member Functions

void get_impl (const int64_t index, void *r_value) const override
 
void get_to_uninitialized_impl (const int64_t index, void *r_value) const override
 
bool is_span_impl () const override
 
GSpan get_span_impl () const override
 
- Protected Member Functions inherited from blender::fn::GVArray
virtual bool is_single_impl () const
 
virtual void get_single_impl (void *UNUSED(r_value)) const
 

Protected Attributes

const void * data_
 
const int64_t element_size_
 
- Protected Attributes inherited from blender::fn::GVArray
const CPPTypetype_
 
int64_t size_
 

Detailed Description

Definition at line 139 of file FN_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVArrayForGSpan()

blender::fn::GVArrayForGSpan::GVArrayForGSpan ( const GSpan  span)
inline

Definition at line 145 of file FN_generic_virtual_array.hh.

Member Function Documentation

◆ get_impl()

void blender::fn::GVArrayForGSpan::get_impl ( const int64_t  index,
void *  r_value 
) const
overrideprotectedvirtual

◆ get_span_impl()

GSpan blender::fn::GVArrayForGSpan::get_span_impl ( ) const
overrideprotectedvirtual

Reimplemented from blender::fn::GVArray.

Definition at line 71 of file generic_virtual_array.cc.

References data_, blender::fn::GVArray::size_, and blender::fn::GVArray::type_.

◆ get_to_uninitialized_impl()

void blender::fn::GVArrayForGSpan::get_to_uninitialized_impl ( const int64_t  index,
void *  r_value 
) const
overrideprotectedvirtual

◆ is_span_impl()

bool blender::fn::GVArrayForGSpan::is_span_impl ( ) const
overrideprotectedvirtual

Reimplemented from blender::fn::GVArray.

Definition at line 66 of file generic_virtual_array.cc.

Member Data Documentation

◆ data_

const void* blender::fn::GVArrayForGSpan::data_
protected

Definition at line 141 of file FN_generic_virtual_array.hh.

Referenced by get_impl(), get_span_impl(), and get_to_uninitialized_impl().

◆ element_size_

const int64_t blender::fn::GVArrayForGSpan::element_size_
protected

Definition at line 142 of file FN_generic_virtual_array.hh.

Referenced by get_impl(), and get_to_uninitialized_impl().


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