Blender V5.0
blender::VArrayImpl_For_DerivedSpan< StructT, ElemT, GetFunc, SetFunc > Class Template Referencefinal

#include <BLI_virtual_array.hh>

Inherits blender::VMutableArrayImpl< ElemT >.

Public Member Functions

 VArrayImpl_For_DerivedSpan (const MutableSpan< StructT > data)
Public Member Functions inherited from blender::VMutableArrayImpl< ElemT >
virtual void set_all (Span< ElemT > src)
virtual bool try_assign_GVMutableArray (GVMutableArray &) const
Public Member Functions inherited from blender::VArrayImpl< ElemT >
 VArrayImpl (const int64_t size)
virtual ~VArrayImpl ()=default
int64_t size () const
virtual CommonVArrayInfo common_info () const
virtual bool try_assign_GVArray (GVArray &) const

Friends

template<typename OtherStructT, typename OtherElemT, OtherElemT(*)(const OtherStructT &) OtherGetFunc, void(*)(OtherStructT &, OtherElemT) OtherSetFunc>
class VArrayImpl_For_DerivedSpan

Additional Inherited Members

Protected Attributes inherited from blender::VArrayImpl< ElemT >
int64_t size_

Detailed Description

template<typename StructT, typename ElemT, ElemT(*)(const StructT &) GetFunc, void(*)(StructT &, ElemT) SetFunc = nullptr>
class blender::VArrayImpl_For_DerivedSpan< StructT, ElemT, GetFunc, SetFunc >
Note
This is final so that #may_have_ownership can be implemented reliably.

Definition at line 434 of file BLI_virtual_array.hh.

Constructor & Destructor Documentation

◆ VArrayImpl_For_DerivedSpan()

template<typename StructT, typename ElemT, ElemT(*)(const StructT &) GetFunc, void(*)(StructT &, ElemT) SetFunc = nullptr>
blender::VArrayImpl_For_DerivedSpan< StructT, ElemT, GetFunc, SetFunc >::VArrayImpl_For_DerivedSpan ( const MutableSpan< StructT > data)
inline

Definition at line 439 of file BLI_virtual_array.hh.

References data, and blender::VArrayImpl< ElemT >::size().

◆ VArrayImpl_For_DerivedSpan

template<typename StructT, typename ElemT, ElemT(*)(const StructT &) GetFunc, void(*)(StructT &, ElemT) SetFunc = nullptr>
template<typename OtherStructT, typename OtherElemT, OtherElemT(*)(const OtherStructT &) OtherGetFunc, void(*)(OtherStructT &, OtherElemT) OtherSetFunc>
friend class VArrayImpl_For_DerivedSpan
friend

Definition at line 448 of file BLI_virtual_array.hh.

References VArrayImpl_For_DerivedSpan.

Referenced by VArrayImpl_For_DerivedSpan.


The documentation for this class was generated from the following file: