Blender
V3.3
|
#include <BLI_generic_virtual_array.hh>
Public Member Functions | |
#GVArraySpan | |
GVArraySpan () | |
GVArraySpan (GVArray varray) | |
GVArraySpan (GVArraySpan &&other) | |
~GVArraySpan () | |
GVArraySpan & | operator= (GVArraySpan &&other) |
![]() | |
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 CPPType & | type () const |
const CPPType * | type_ptr () const |
bool | is_empty () const |
int64_t | size () const |
const void * | data () const |
const void * | operator[] (int64_t index) const |
template<typename T > | |
Span< T > | typed () const |
GSpan | slice (const int64_t start, int64_t size) const |
GSpan | slice (const IndexRange range) const |
Additional Inherited Members | |
![]() | |
const CPPType * | type_ = nullptr |
const void * | data_ = nullptr |
int64_t | size_ = 0 |
Definition at line 264 of file BLI_generic_virtual_array.hh.
|
default |
Referenced by operator=().
blender::GVArraySpan::GVArraySpan | ( | GVArray | varray | ) |
Definition at line 292 of file generic_virtual_array.cc.
References blender::CPPType::alignment(), blender::GVArrayCommon::common_info(), blender::CommonVArrayInfo::data, blender::GSpan::data_, blender::GVArrayCommon::materialize_to_uninitialized(), MEM_mallocN_aligned, blender::CPPType::size(), blender::GVArrayCommon::size(), blender::GSpan::size_, blender::CommonVArrayInfo::Span, blender::CommonVArrayInfo::type, and blender::GSpan::type_.
blender::GVArraySpan::GVArraySpan | ( | GVArraySpan && | other | ) |
Definition at line 311 of file generic_virtual_array.cc.
References blender::GVArrayCommon::common_info(), blender::CommonVArrayInfo::data, blender::GSpan::data_, blender::GVArrayCommon::size(), blender::GSpan::size_, blender::CommonVArrayInfo::Span, and blender::CommonVArrayInfo::type.
blender::GVArraySpan::~GVArraySpan | ( | ) |
Definition at line 331 of file generic_virtual_array.cc.
References blender::CPPType::destruct_n(), MEM_freeN, blender::GSpan::size_, and blender::GSpan::type_.
GVArraySpan & blender::GVArraySpan::operator= | ( | GVArraySpan && | other | ) |
Definition at line 339 of file generic_virtual_array.cc.
References GVArraySpan().