|
Blender
V2.93
|
#include <FN_generic_virtual_vector_array.hh>
Inherited by blender::fn::GVVectorArrayForGVectorArray, blender::fn::GVVectorArrayForSingleGSpan, and blender::fn::GVVectorArrayForSingleGVArray.
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 (const int64_t index) const =0 |
| virtual void | get_vector_element_impl (const int64_t index, const 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 33 of file FN_generic_virtual_vector_array.hh.
Definition at line 39 of file FN_generic_virtual_vector_array.hh.
|
virtualdefault |
|
inline |
Definition at line 72 of file FN_generic_virtual_vector_array.hh.
References BLI_assert, get_vector_element_impl(), get_vector_size(), and size_.
Referenced by blender::fn::GVArrayForGVVectorArrayIndex::get_impl(), blender::fn::GVArrayForGVVectorArrayIndex::get_to_uninitialized_impl(), and blender::fn::VVectorArrayForGVVectorArray< T >::get_vector_element_impl().
|
protectedpure virtual |
Implemented in blender::fn::GVVectorArrayForSingleGVArray, and blender::fn::GVVectorArrayForGVectorArray.
Referenced by get_vector_element().
Definition at line 63 of file FN_generic_virtual_vector_array.hh.
References BLI_assert, get_vector_size_impl(), and size_.
Referenced by get_vector_element(), and blender::fn::VVectorArrayForGVVectorArray< T >::get_vector_size_impl().
|
protectedpure virtual |
Implemented in blender::fn::GVVectorArrayForSingleGVArray, and blender::fn::GVVectorArrayForGVectorArray.
Referenced by get_vector_size().
|
inline |
Definition at line 52 of file FN_generic_virtual_vector_array.hh.
References size_.
|
inline |
Definition at line 82 of file FN_generic_virtual_vector_array.hh.
References is_single_vector_impl(), and size_.
Referenced by blender::fn::MFNetworkEvaluationStorage::get_vector_input__single(), and blender::fn::VVectorArrayForGVVectorArray< T >::is_single_vector_impl().
|
inlineprotectedvirtual |
Reimplemented in blender::fn::GVVectorArrayForSingleGSpan, and blender::fn::GVVectorArrayForSingleGVArray.
Definition at line 97 of file FN_generic_virtual_vector_array.hh.
Referenced by is_single_vector().
|
inline |
Definition at line 46 of file FN_generic_virtual_vector_array.hh.
References size_.
Referenced by blender::fn::MFParamsBuilder::add_readonly_vector_input(), and blender::fn::MFNetworkEvaluationStorage::add_vector_input_from_caller().
|
inline |
Definition at line 57 of file FN_generic_virtual_vector_array.hh.
References type_.
Referenced by blender::fn::MFParamsBuilder::add_readonly_vector_input().
|
protected |
Definition at line 36 of file FN_generic_virtual_vector_array.hh.
Referenced by get_vector_element(), get_vector_size(), is_empty(), is_single_vector(), and size().
|
protected |
Definition at line 35 of file FN_generic_virtual_vector_array.hh.
Referenced by blender::fn::GVVectorArrayForGVectorArray::get_vector_element_impl(), blender::fn::GVVectorArrayForSingleGSpan::get_vector_element_impl(), and type().