Blender V4.3
blender::GVArraySpan Class Reference

#include <BLI_generic_virtual_array.hh>

Inherits blender::GSpan.

Public Member Functions

#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)
 
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 265 of file BLI_generic_virtual_array.hh.

Constructor & Destructor Documentation

◆ GVArraySpan() [1/3]

blender::GVArraySpan::GVArraySpan ( )
default

Referenced by operator=().

◆ GVArraySpan() [2/3]

◆ GVArraySpan() [3/3]

◆ ~GVArraySpan()

blender::GVArraySpan::~GVArraySpan ( )

Member Function Documentation

◆ operator=()

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

Definition at line 355 of file generic_virtual_array.cc.

References GVArraySpan().


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