|
Blender
V2.93
|
#include <BLI_virtual_array.hh>
Inherits blender::VArray< T >.
Public Member Functions | |
| VArrayForSingle (T value, const int64_t size) | |
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 UNUSED(index)) const override |
| bool | is_span_impl () const override |
| Span< T > | get_span_impl () const override |
| bool | is_single_impl () const override |
| T | get_single_impl () const override |
Protected Member Functions inherited from blender::VArray< T > | |
| virtual T | get_impl (const int64_t index) const =0 |
Additional Inherited Members | |
Protected Attributes inherited from blender::VArray< T > | |
| int64_t | size_ |
A virtual array implementation that returns the same value for every index. 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 182 of file BLI_virtual_array.hh.
|
inline |
Definition at line 187 of file BLI_virtual_array.hh.
|
inlineoverrideprotected |
Definition at line 192 of file BLI_virtual_array.hh.
|
inlineoverrideprotectedvirtual |
Reimplemented from blender::VArray< T >.
Definition at line 212 of file BLI_virtual_array.hh.
|
inlineoverrideprotectedvirtual |
Reimplemented from blender::VArray< T >.
Definition at line 202 of file BLI_virtual_array.hh.
|
inlineoverrideprotectedvirtual |
Reimplemented from blender::VArray< T >.
Definition at line 207 of file BLI_virtual_array.hh.
|
inlineoverrideprotectedvirtual |
Reimplemented from blender::VArray< T >.
Definition at line 197 of file BLI_virtual_array.hh.
References blender::VArray< T >::size_.