Blender  V2.93
Public Member Functions | Protected Member Functions | List of all members
blender::fn::GVArrayForVArray< T > Class Template Reference

#include <FN_generic_virtual_array.hh>

Inherits blender::fn::GVArray.

Public Member Functions

 GVArrayForVArray (const VArray< T > &array)
 
- 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
 
bool is_single_impl () const override
 
void get_single_impl (void *r_value) const override
 
- Protected Member Functions inherited from blender::fn::GVArray
virtual void get_single_impl (void *UNUSED(r_value)) const
 

Additional Inherited Members

- Protected Attributes inherited from blender::fn::GVArray
const CPPTypetype_
 
int64_t size_
 

Detailed Description

template<typename T>
class blender::fn::GVArrayForVArray< T >

Definition at line 192 of file FN_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVArrayForVArray()

template<typename T >
blender::fn::GVArrayForVArray< T >::GVArrayForVArray ( const VArray< T > &  array)
inline

Definition at line 197 of file FN_generic_virtual_array.hh.

Member Function Documentation

◆ get_impl()

template<typename T >
void blender::fn::GVArrayForVArray< T >::get_impl ( const int64_t  index,
void *  r_value 
) const
inlineoverrideprotectedvirtual

Reimplemented from blender::fn::GVArray.

Definition at line 203 of file FN_generic_virtual_array.hh.

References blender::VArray< T >::get(), and T.

◆ get_single_impl()

template<typename T >
void blender::fn::GVArrayForVArray< T >::get_single_impl ( void *  r_value) const
inlineoverrideprotected

Definition at line 228 of file FN_generic_virtual_array.hh.

References blender::VArray< T >::get_single(), and T.

◆ get_span_impl()

template<typename T >
GSpan blender::fn::GVArrayForVArray< T >::get_span_impl ( ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::fn::GVArray.

Definition at line 218 of file FN_generic_virtual_array.hh.

References blender::VArray< T >::get_span().

◆ get_to_uninitialized_impl()

template<typename T >
void blender::fn::GVArrayForVArray< T >::get_to_uninitialized_impl ( const int64_t  index,
void *  r_value 
) const
inlineoverrideprotectedvirtual

Implements blender::fn::GVArray.

Definition at line 208 of file FN_generic_virtual_array.hh.

References blender::VArray< T >::get(), and T.

◆ is_single_impl()

template<typename T >
bool blender::fn::GVArrayForVArray< T >::is_single_impl ( ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::fn::GVArray.

Definition at line 223 of file FN_generic_virtual_array.hh.

References blender::VArray< T >::is_single().

◆ is_span_impl()

template<typename T >
bool blender::fn::GVArrayForVArray< T >::is_span_impl ( ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::fn::GVArray.

Definition at line 213 of file FN_generic_virtual_array.hh.

References blender::VArray< T >::is_span().


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