Blender
V3.3
|
#include <BLI_vector_adaptor.hh>
Public Member Functions | |
VectorAdaptor () | |
VectorAdaptor (T *data, int64_t capacity, int64_t size=0) | |
VectorAdaptor (MutableSpan< T > span) | |
void | append (const T &value) |
void | append (T &&value) |
void | append_n_times (const T &value, int64_t n) |
void | extend (Span< T > values) |
int64_t | capacity () const |
int64_t | size () const |
bool | is_empty () const |
bool | is_full () const |
Definition at line 19 of file BLI_vector_adaptor.hh.
|
inline |
Definition at line 26 of file BLI_vector_adaptor.hh.
|
inline |
Definition at line 30 of file BLI_vector_adaptor.hh.
|
inline |
Definition at line 35 of file BLI_vector_adaptor.hh.
|
inline |
Definition at line 39 of file BLI_vector_adaptor.hh.
References BLI_assert, and T.
|
inline |
Definition at line 46 of file BLI_vector_adaptor.hh.
References BLI_assert, and T.
|
inline |
Definition at line 53 of file BLI_vector_adaptor.hh.
References BLI_assert, and blender::uninitialized_fill_n().
|
inline |
Definition at line 67 of file BLI_vector_adaptor.hh.
|
inline |
Definition at line 60 of file BLI_vector_adaptor.hh.
References BLI_assert, blender::Span< T >::data(), blender::Span< T >::size(), and blender::uninitialized_copy_n().
|
inline |
Definition at line 77 of file BLI_vector_adaptor.hh.
|
inline |
Definition at line 82 of file BLI_vector_adaptor.hh.
|
inline |
Definition at line 72 of file BLI_vector_adaptor.hh.