Blender
V3.3
|
#include <BLI_virtual_vector_array.hh>
Public Member Functions | |
VVectorArray (const int64_t size) | |
virtual | ~VVectorArray ()=default |
int64_t | size () const |
bool | is_empty () const |
int64_t | get_vector_size (const int64_t index) const |
T | get_vector_element (const int64_t index, const int64_t index_in_vector) const |
bool | is_single_vector () const |
Protected Member Functions | |
virtual int64_t | get_vector_size_impl (int64_t index) const =0 |
virtual T | get_vector_element_impl (int64_t index, int64_t index_in_vetor) const =0 |
virtual bool | is_single_vector_impl () const |
Protected Attributes | |
int64_t | size_ |
A read-only virtual array of vectors.
Definition at line 19 of file BLI_virtual_vector_array.hh.
|
inline |
Definition at line 24 of file BLI_virtual_vector_array.hh.
References BLI_assert, and blender::VVectorArray< T >::size().
|
virtualdefault |
|
inline |
Definition at line 52 of file BLI_virtual_vector_array.hh.
References BLI_assert, blender::VVectorArray< T >::get_vector_element_impl(), blender::VVectorArray< T >::get_vector_size(), and blender::VVectorArray< T >::size_.
Referenced by blender::fn::tests::SumVectorFunction::call().
|
protectedpure virtual |
Implemented in blender::VVectorArray_For_GVVectorArray< T >.
Referenced by blender::VVectorArray< T >::get_vector_element().
|
inline |
Definition at line 44 of file BLI_virtual_vector_array.hh.
References BLI_assert, blender::VVectorArray< T >::get_vector_size_impl(), and blender::VVectorArray< T >::size_.
Referenced by blender::fn::tests::SumVectorFunction::call(), and blender::VVectorArray< T >::get_vector_element().
|
protectedpure virtual |
Implemented in blender::VVectorArray_For_GVVectorArray< T >.
Referenced by blender::VVectorArray< T >::get_vector_size().
|
inline |
Definition at line 38 of file BLI_virtual_vector_array.hh.
References blender::VVectorArray< T >::size_.
|
inline |
Definition at line 62 of file BLI_virtual_vector_array.hh.
References blender::VVectorArray< T >::is_single_vector_impl(), and blender::VVectorArray< T >::size_.
|
inlineprotectedvirtual |
Reimplemented in blender::VVectorArray_For_GVVectorArray< T >.
Definition at line 75 of file BLI_virtual_vector_array.hh.
Referenced by blender::VVectorArray< T >::is_single_vector().
|
inline |
Definition at line 32 of file BLI_virtual_vector_array.hh.
References blender::VVectorArray< T >::size_.
Referenced by blender::VVectorArray< T >::VVectorArray().
|
protected |