|
Blender
V2.93
|
#include <BLI_virtual_array.hh>
Inherits blender::VArray< T >.
Public Member Functions | |
| VArrayForSpan (const Span< T > data) | |
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< T > | get_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< T > | get_span_impl () const override |
Protected Member Functions inherited from blender::VArray< T > | |
| virtual bool | is_single_impl () const |
| virtual T | get_single_impl () const |
Additional Inherited Members | |
Protected Attributes inherited from blender::VArray< T > | |
| int64_t | size_ |
A virtual array implementation for a span. This class is final so that it can be devirtualized by the compiler in some cases (e.g. when devirtualize_varray is used).
Definition at line 151 of file BLI_virtual_array.hh.
|
inline |
Definition at line 156 of file BLI_virtual_array.hh.
References data_.
|
inlineoverrideprotectedvirtual |
Implements blender::VArray< T >.
Definition at line 161 of file BLI_virtual_array.hh.
References data_.
|
inlineoverrideprotectedvirtual |
Reimplemented from blender::VArray< T >.
Definition at line 171 of file BLI_virtual_array.hh.
References data_, and blender::VArray< T >::size_.
|
inlineoverrideprotectedvirtual |
Reimplemented from blender::VArray< T >.
Definition at line 166 of file BLI_virtual_array.hh.