Blender V5.0
blender::GVArraySpan Class Reference

#include <BLI_generic_virtual_array.hh>

Inherits blender::GSpan.

Public Member Functions

template<typename T>
 GVArraySpan (VArray< T > varray)
#GVArraySpan
 GVArraySpan ()
 GVArraySpan (GVArray varray)
 GVArraySpan (GVArraySpan &&other)
 ~GVArraySpan ()
GVArraySpanoperator= (GVArraySpan &&other)
Public Member Functions inherited from blender::GSpan
 GSpan ()=default
 GSpan (const CPPType *type, const void *buffer, int64_t size)
 GSpan (const CPPType &type, const void *buffer, int64_t size)
 GSpan (const CPPType &type)
 GSpan (const CPPType *type)
template<typename T>
 GSpan (Span< T > array)
template<typename T>
 GSpan (MutableSpan< T > array)
const CPPTypetype () const
const CPPTypetype_ptr () const
bool is_empty () const
int64_t size () const
int64_t size_in_bytes () const
const void * data () const
const void * operator[] (int64_t index) const
template<typename T>
Span< Ttyped () const
GSpan slice (const int64_t start, int64_t size) const
GSpan slice (const IndexRange range) const
GSpan drop_front (const int64_t n) const
GSpan drop_back (const int64_t n) const
GSpan take_front (const int64_t n) const
GSpan take_back (const int64_t n) const

Additional Inherited Members

Protected Attributes inherited from blender::GSpan
const CPPTypetype_ = nullptr
const void * data_ = nullptr
int64_t size_ = 0

Detailed Description

Definition at line 262 of file BLI_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVArraySpan() [1/4]

blender::GVArraySpan::GVArraySpan ( )
default

◆ GVArraySpan() [2/4]

◆ GVArraySpan() [3/4]

template<typename T>
blender::GVArraySpan::GVArraySpan ( VArray< T > varray)
inline

Definition at line 270 of file BLI_generic_virtual_array.hh.

References GVArraySpan().

◆ GVArraySpan() [4/4]

blender::GVArraySpan::GVArraySpan ( GVArraySpan && other)

◆ ~GVArraySpan()

blender::GVArraySpan::~GVArraySpan ( )

Member Function Documentation

◆ operator=()

GVArraySpan & blender::GVArraySpan::operator= ( GVArraySpan && other)

Definition at line 365 of file generic_virtual_array.cc.

References GVArraySpan().


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