|
Blender V5.0
|
#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 () | |
| 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) | |
| template<typename T> | |
| GSpan (MutableSpan< 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 262 of file BLI_generic_virtual_array.hh.
|
default |
References GVArraySpan().
Referenced by GVArraySpan(), GVArraySpan(), GVArraySpan(), and operator=().
| blender::GVArraySpan::GVArraySpan | ( | GVArray | varray | ) |
Definition at line 318 of file generic_virtual_array.cc.
References blender::GSpan::GSpan(), nullptr, blender::GSpan::size_, blender::CommonVArrayInfo::Span, blender::CommonVArrayInfo::type, and blender::GSpan::type().
Definition at line 270 of file BLI_generic_virtual_array.hh.
References GVArraySpan().
| blender::GVArraySpan::GVArraySpan | ( | GVArraySpan && | other | ) |
Definition at line 337 of file generic_virtual_array.cc.
References blender::GSpan::GSpan(), GVArraySpan(), blender::GSpan::size_, blender::CommonVArrayInfo::Span, blender::CommonVArrayInfo::type, and blender::GSpan::type_ptr().
| blender::GVArraySpan::~GVArraySpan | ( | ) |
Definition at line 357 of file generic_virtual_array.cc.
References MEM_freeN(), blender::GSpan::size_, and blender::GSpan::type_.
| GVArraySpan & blender::GVArraySpan::operator= | ( | GVArraySpan && | other | ) |
Definition at line 365 of file generic_virtual_array.cc.
References GVArraySpan().