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

#include <FN_generic_virtual_array.hh>

Inherits blender::VArray< T >.

Public Member Functions

 VArrayForGVArray (const GVArray &array)
 
- Public Member Functions inherited from blender::VArray< T >
 VArray (const int64_t size)
 
virtual ~VArray ()=default
 
T get (const int64_t index) const
 
int64_t size () const
 
bool is_empty () const
 
bool is_span () const
 
Span< Tget_span () const
 
bool is_single () const
 
T get_single () const
 
T operator[] (const int64_t index) const
 

Protected Member Functions

T get_impl (const int64_t index) const override
 
bool is_span_impl () const override
 
Span< Tget_span_impl () const override
 
bool is_single_impl () const override
 
T get_single_impl () const override
 

Additional Inherited Members

- Protected Attributes inherited from blender::VArray< T >
int64_t size_
 

Detailed Description

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

Definition at line 234 of file FN_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ VArrayForGVArray()

template<typename T >
blender::fn::VArrayForGVArray< T >::VArrayForGVArray ( const GVArray array)
inline

Definition at line 239 of file FN_generic_virtual_array.hh.

References BLI_assert, and blender::fn::GVArray::type().

Member Function Documentation

◆ get_impl()

template<typename T >
T blender::fn::VArrayForGVArray< T >::get_impl ( const int64_t  index) const
inlineoverrideprotectedvirtual

Implements blender::VArray< T >.

Definition at line 245 of file FN_generic_virtual_array.hh.

References blender::fn::GVArray::get(), and T.

◆ get_single_impl()

template<typename T >
T blender::fn::VArrayForGVArray< T >::get_single_impl ( ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::VArray< T >.

Definition at line 267 of file FN_generic_virtual_array.hh.

References blender::fn::GVArray::get_single(), and T.

◆ get_span_impl()

template<typename T >
Span<T> blender::fn::VArrayForGVArray< T >::get_span_impl ( ) const
inlineoverrideprotectedvirtual

Reimplemented from blender::VArray< T >.

Definition at line 257 of file FN_generic_virtual_array.hh.

References blender::fn::GVArray::get_span().

◆ is_single_impl()

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

Reimplemented from blender::VArray< T >.

Definition at line 262 of file FN_generic_virtual_array.hh.

References blender::fn::GVArray::is_single().

◆ is_span_impl()

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

Reimplemented from blender::VArray< T >.

Definition at line 252 of file FN_generic_virtual_array.hh.

References blender::fn::GVArray::is_span().


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