Blender  V3.3
Public Member Functions | Friends | List of all members
blender::VArrayImpl_For_DerivedSpan< StructT, ElemT, GetFunc, SetFunc > Class Template Referencefinal

#include <BLI_virtual_array.hh>

Inheritance diagram for blender::VArrayImpl_For_DerivedSpan< StructT, ElemT, GetFunc, SetFunc >:
blender::VMutableArrayImpl< ElemT > blender::VArrayImpl< T >

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 &UNUSED(varray)) const
 
- Public Member Functions inherited from blender::VArrayImpl< T >
 VArrayImpl (const int64_t size)
 
virtual ~VArrayImpl ()=default
 
int64_t size () const
 
virtual CommonVArrayInfo common_info () const
 
virtual void materialize (IndexMask mask, MutableSpan< T > r_span) const
 
virtual void materialize_to_uninitialized (IndexMask mask, MutableSpan< T > r_span) const
 
virtual void materialize_compressed (IndexMask mask, MutableSpan< T > r_span) const
 
virtual void materialize_compressed_to_uninitialized (IndexMask mask, MutableSpan< T > r_span) const
 
virtual bool try_assign_GVArray (GVArray &UNUSED(varray)) const
 
virtual bool is_same (const VArrayImpl< T > &UNUSED(other)) 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< T >
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 454 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 459 of file BLI_virtual_array.hh.

Friends And Related Function Documentation

◆ 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 468 of file BLI_virtual_array.hh.

References data_.


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