Blender V5.0
blender::VArrayImpl_For_ArrayContainer< Container, T > Class Template Reference

#include <BLI_virtual_array.hh>

Inherits blender::VArrayImpl_For_Span< typename Container::value_type >.

Public Member Functions

 VArrayImpl_For_ArrayContainer (Container container)
Public Member Functions inherited from blender::VArrayImpl_For_Span< typename Container::value_type >
 VArrayImpl_For_Span (const MutableSpan< typename Container::value_type > data)
Public Member Functions inherited from blender::VMutableArrayImpl< typename Container::value_type >
virtual void set_all (Span< typename Container::value_type > src)
virtual bool try_assign_GVMutableArray (GVMutableArray &) const
Public Member Functions inherited from blender::VArrayImpl< typename Container::value_type >
 VArrayImpl (const int64_t size)
virtual ~VArrayImpl ()=default
int64_t size () const
virtual bool try_assign_GVArray (GVArray &) const

Additional Inherited Members

Protected Member Functions inherited from blender::VArrayImpl_For_Span< typename Container::value_type >
typename Container::value_type get (const int64_t index) const final
void set (const int64_t index, typename Container::value_type value) final
CommonVArrayInfo common_info () const override
void materialize (const IndexMask &mask, typename Container::value_type *dst, const bool dst_is_uninitialized) const override
void materialize_compressed (const IndexMask &mask, typename Container::value_type *dst, const bool dst_is_uninitialized) const override
Protected Attributes inherited from blender::VArrayImpl_For_Span< typename Container::value_type >
typename Container::value_type * data_
Protected Attributes inherited from blender::VArrayImpl< typename Container::value_type >
int64_t size_

Detailed Description

template<typename Container, typename T = typename Container::value_type>
class blender::VArrayImpl_For_ArrayContainer< Container, T >

A variant of VArrayImpl_For_Span that owns the underlying data. The Container type has to implement a size() and data() method. The data() method has to return a pointer to the first element in the continuous array of elements.

Definition at line 299 of file BLI_virtual_array.hh.

Constructor & Destructor Documentation

◆ VArrayImpl_For_ArrayContainer()

template<typename Container, typename T = typename Container::value_type>
blender::VArrayImpl_For_ArrayContainer< Container, T >::VArrayImpl_For_ArrayContainer ( Container container)
inline

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