|
Blender V4.3
|
#include <BLI_generic_virtual_array.hh>
Inherits blender::GSpan.
Public Member Functions | |
#GVArraySpan | |
| GVArraySpan () | |
| GVArraySpan (GVArray varray) | |
| GVArraySpan (GVArraySpan &&other) | |
| ~GVArraySpan () | |
| GVArraySpan & | operator= (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 CPPType & | type () const |
| const CPPType * | type_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< T > | typed () 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 CPPType * | type_ = nullptr |
| const void * | data_ = nullptr |
| int64_t | size_ = 0 |
Definition at line 265 of file BLI_generic_virtual_array.hh.
|
default |
Referenced by operator=().
| blender::GVArraySpan::GVArraySpan | ( | GVArray | varray | ) |
Definition at line 308 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 327 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 347 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 355 of file generic_virtual_array.cc.
References GVArraySpan().