Blender
V3.3
|
#include <BLI_generic_virtual_vector_array.hh>
Public Member Functions | |
GVVectorArray (const CPPType &type, const int64_t size) | |
virtual | ~GVVectorArray ()=default |
int64_t | size () const |
bool | is_empty () const |
const CPPType & | type () const |
int64_t | get_vector_size (const int64_t index) const |
void | get_vector_element (const int64_t index, const int64_t index_in_vector, void *r_value) const |
bool | is_single_vector () const |
Protected Member Functions | |
virtual int64_t | get_vector_size_impl (int64_t index) const =0 |
virtual void | get_vector_element_impl (int64_t index, int64_t index_in_vector, void *r_value) const =0 |
virtual bool | is_single_vector_impl () const |
Protected Attributes | |
const CPPType * | type_ |
int64_t | size_ |
Definition at line 18 of file BLI_generic_virtual_vector_array.hh.
Definition at line 24 of file BLI_generic_virtual_vector_array.hh.
|
virtualdefault |
|
inline |
Definition at line 57 of file BLI_generic_virtual_vector_array.hh.
References BLI_assert, get_vector_element_impl(), get_vector_size(), and size_.
Referenced by blender::GVArray_For_GVVectorArrayIndex::get(), blender::GVArray_For_GVVectorArrayIndex::get_to_uninitialized(), and blender::VVectorArray_For_GVVectorArray< T >::get_vector_element_impl().
|
protectedpure virtual |
Implemented in blender::GVVectorArray_For_SingleGVArray, and blender::GVVectorArray_For_GVectorArray.
Referenced by get_vector_element().
Definition at line 48 of file BLI_generic_virtual_vector_array.hh.
References BLI_assert, get_vector_size_impl(), and size_.
Referenced by get_vector_element(), and blender::VVectorArray_For_GVVectorArray< T >::get_vector_size_impl().
|
protectedpure virtual |
Implemented in blender::GVVectorArray_For_SingleGVArray, and blender::GVVectorArray_For_GVectorArray.
Referenced by get_vector_size().
|
inline |
Definition at line 37 of file BLI_generic_virtual_vector_array.hh.
References size_.
|
inline |
Definition at line 67 of file BLI_generic_virtual_vector_array.hh.
References is_single_vector_impl(), and size_.
Referenced by blender::VVectorArray_For_GVVectorArray< T >::is_single_vector_impl().
|
inlineprotectedvirtual |
Reimplemented in blender::GVVectorArray_For_SingleGSpan, and blender::GVVectorArray_For_SingleGVArray.
Definition at line 82 of file BLI_generic_virtual_vector_array.hh.
Referenced by is_single_vector().
|
inline |
Definition at line 31 of file BLI_generic_virtual_vector_array.hh.
References size_.
Referenced by blender::fn::MFParamsBuilder::add_readonly_vector_input().
|
inline |
Definition at line 42 of file BLI_generic_virtual_vector_array.hh.
References type_.
Referenced by blender::fn::MFParamsBuilder::add_readonly_vector_input().
|
protected |
Definition at line 21 of file BLI_generic_virtual_vector_array.hh.
Referenced by get_vector_element(), get_vector_size(), is_empty(), is_single_vector(), and size().
|
protected |
Definition at line 20 of file BLI_generic_virtual_vector_array.hh.
Referenced by blender::GVVectorArray_For_GVectorArray::get_vector_element_impl(), blender::GVVectorArray_For_SingleGSpan::get_vector_element_impl(), and type().