#include <BLI_generic_span.hh>
Inherited by blender::GMutableVArraySpan.
A generic mutable span. It behaves just like a blender::MutableSpan<T>, but the type is only known at run-time.
Definition at line 139 of file BLI_generic_span.hh.
◆ GMutableSpan() [1/6]
| blender::GMutableSpan::GMutableSpan |
( |
| ) |
|
|
default |
◆ GMutableSpan() [2/6]
| blender::GMutableSpan::GMutableSpan |
( |
const CPPType * | type, |
|
|
void * | buffer, |
|
|
int64_t | size ) |
|
inline |
◆ GMutableSpan() [3/6]
| blender::GMutableSpan::GMutableSpan |
( |
const CPPType & | type, |
|
|
void * | buffer, |
|
|
int64_t | size ) |
|
inline |
◆ GMutableSpan() [4/6]
| blender::GMutableSpan::GMutableSpan |
( |
const CPPType & | type | ) |
|
|
inline |
◆ GMutableSpan() [5/6]
| blender::GMutableSpan::GMutableSpan |
( |
const CPPType * | type | ) |
|
|
inline |
◆ GMutableSpan() [6/6]
| blender::GMutableSpan::GMutableSpan |
( |
MutableSpan< T > | array | ) |
|
|
inline |
◆ copy_from()
| void blender::GMutableSpan::copy_from |
( |
GSpan | values | ) |
|
|
inline |
Copy all values from another span into this span. This invokes undefined behavior when the destination contains uninitialized data and T is not trivially copy constructible. The size of both spans is expected to be the same.
Definition at line 268 of file BLI_generic_span.hh.
◆ data()
| void * blender::GMutableSpan::data |
( |
| ) |
const |
|
inline |
◆ drop_back()
◆ drop_front()
◆ is_empty()
| bool blender::GMutableSpan::is_empty |
( |
| ) |
const |
|
inline |
◆ operator GSpan()
| blender::GMutableSpan::operator GSpan |
( |
| ) |
const |
|
inline |
◆ operator[]()
| void * blender::GMutableSpan::operator[] |
( |
int64_t | index | ) |
const |
|
inline |
◆ size()
| int64_t blender::GMutableSpan::size |
( |
| ) |
const |
|
inline |
◆ size_in_bytes()
| int64_t blender::GMutableSpan::size_in_bytes |
( |
| ) |
const |
|
inline |
◆ slice() [1/2]
◆ slice() [2/2]
◆ take_back()
◆ take_front()
◆ type()
| const CPPType & blender::GMutableSpan::type |
( |
| ) |
const |
|
inline |
◆ type_ptr()
| const CPPType * blender::GMutableSpan::type_ptr |
( |
| ) |
const |
|
inline |
◆ typed()
◆ data_
| void* blender::GMutableSpan::data_ = nullptr |
|
protected |
◆ size_
| int64_t blender::GMutableSpan::size_ = 0 |
|
protected |
◆ type_
| const CPPType* blender::GMutableSpan::type_ = nullptr |
|
protected |
The documentation for this class was generated from the following file: