|
Blender V4.3
|
#include <array.h>
Public Member Functions | |
| array () | |
| array (size_t newsize) | |
| array (const array &from) | |
| array & | operator= (const array &from) |
| array & | operator= (const vector< T > &from) |
| ~array () | |
| bool | operator== (const array< T > &other) const |
| bool | operator!= (const array< T > &other) const |
| void | steal_data (array &from) |
| void | set_data (T *ptr_, size_t datasize) |
| T * | steal_pointer () |
| T * | resize (size_t newsize) |
| T * | resize (size_t newsize, const T &value) |
| void | clear () |
| size_t | empty () const |
| size_t | size () const |
| T * | data () |
| const T * | data () const |
| T & | operator[] (size_t i) const |
| T * | begin () |
| const T * | begin () const |
| T * | end () |
| const T * | end () const |
| void | reserve (size_t newcapacity) |
| size_t | capacity () const |
| void | push_back_slow (const T &t) |
| void | push_back_reserved (const T &t) |
| void | append (const array< T > &from) |
Protected Member Functions | |
| T * | mem_allocate (size_t N) |
| void | mem_free (T *mem, size_t N) |
| void | mem_copy (T *mem_to, const T *mem_from, const size_t N) |
Protected Attributes | |
| T * | data_ |
| size_t | datasize_ |
| size_t | capacity_ |
Definition at line 25 of file cycles/util/array.h.
|
inline |
Definition at line 27 of file cycles/util/array.h.
References capacity_, data_, datasize_, and NULL.
Referenced by append(), array(), operator!=(), operator=(), operator=(), operator==(), RNA_property_collection_raw_array(), and steal_data().
|
inlineexplicit |
Definition at line 29 of file cycles/util/array.h.
References capacity_, data_, datasize_, mem_allocate(), and NULL.
|
inline |
Definition at line 43 of file cycles/util/array.h.
References array(), capacity_, data_, datasize_, mem_allocate(), mem_copy(), and NULL.
|
inline |
Definition at line 83 of file cycles/util/array.h.
References capacity_, data_, and mem_free().
|
inline |
Definition at line 263 of file cycles/util/array.h.
References array(), data(), data_, mem_copy(), resize(), and size().
Referenced by SVMCompiler::compile(), blender::io::serialize::convert_from_json_to_array(), blender::bke::idprop::IDPGroupSerializer::idprop_to_dictionary(), and texture_paint_image_from_view_exec().
|
inline |
Definition at line 209 of file cycles/util/array.h.
Referenced by blender::Vector< T, InlineBufferCapacity, RawAllocator >::insert().
|
inline |
Definition at line 214 of file cycles/util/array.h.
|
inline |
Definition at line 242 of file cycles/util/array.h.
References capacity_.
|
inline |
Definition at line 173 of file cycles/util/array.h.
References capacity_, data_, datasize_, mem_free(), and NULL.
Referenced by DeleteElements(), ObtainCacheParticleUV(), ObtainCacheParticleVcol(), resize(), set_data(), steal_data(), and steal_pointer().
|
inline |
Definition at line 193 of file cycles/util/array.h.
Referenced by blender::ed::object::add_shapekey_layers(), append(), Object::compute_bounds(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCyclesArray(), blender::opensubdiv::convertPatchCoordsToArray(), blender::Vector< T, InlineBufferCapacity, RawAllocator >::extend(), blender::Vector< T, InlineBufferCapacity, RawAllocator >::extend_unchecked(), IDP_CopyIDPArray(), merge_pixels(), read_layer_samples(), DenoiseImage::read_previous_pixels(), save_output(), KDL::JntArray::SetToZero, blender::bits::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), and blender::tests::TEST().
|
inline |
Definition at line 198 of file cycles/util/array.h.
|
inline |
Definition at line 183 of file cycles/util/array.h.
References datasize_.
|
inline |
Definition at line 219 of file cycles/util/array.h.
References data_, datasize_, and T.
Referenced by blender::Vector< T, InlineBufferCapacity, RawAllocator >::insert().
|
inline |
Definition at line 224 of file cycles/util/array.h.
|
inlineprotected |
Definition at line 273 of file cycles/util/array.h.
References N, NULL, T, util_aligned_malloc(), and util_guarded_mem_alloc().
|
inlineprotected |
Definition at line 296 of file cycles/util/array.h.
Referenced by append(), array(), operator=(), operator=(), reserve(), and resize().
|
inlineprotected |
Definition at line 288 of file cycles/util/array.h.
References N, NULL, T, util_aligned_free(), and util_guarded_mem_free().
|
inline |
Definition at line 100 of file cycles/util/array.h.
References array().
|
inline |
Definition at line 60 of file cycles/util/array.h.
References array(), data_, datasize_, mem_copy(), resize(), and size().
|
inline |
Definition at line 72 of file cycles/util/array.h.
References array(), data_, datasize_, mem_copy(), and resize().
|
inline |
Definition at line 203 of file cycles/util/array.h.
|
inline |
Definition at line 257 of file cycles/util/array.h.
References capacity_, datasize_, push_back_slow(), and T.
|
inline |
Definition at line 248 of file cycles/util/array.h.
References capacity_, data_, datasize_, reserve(), and T.
Referenced by SVMCompiler::compile(), ImageTextureNode::cull_tiles(), ObtainCacheParticleData(), ObtainCacheParticleUV(), ObtainCacheParticleVcol(), push_back_reserved(), and xml_read_mesh().
|
inline |
Definition at line 229 of file cycles/util/array.h.
References capacity_, data_, datasize_, mem_allocate(), mem_copy(), mem_free(), NULL, and T.
Referenced by HDCYCLES_NAMESPACE_OPEN_SCOPE::convertToCyclesArray< Transform, void >(), ObtainCacheParticleData(), ObtainCacheParticleUV(), ObtainCacheParticleVcol(), and push_back_slow().
|
inline |
Definition at line 136 of file cycles/util/array.h.
References capacity_, clear(), data_, datasize_, mem_allocate(), mem_copy(), mem_free(), NULL, and T.
Referenced by alloc_pixels(), append(), blender_camera_sync(), colorramp_to_array(), blender::opensubdiv::convertPatchCoordsToArray(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertToCyclesArray(), init_test_curve(), operator=(), operator=(), read_layer_samples(), resize(), blender::io::hydra::resize_uninitialized(), and xml_read_node().
|
inline |
Definition at line 120 of file cycles/util/array.h.
References capacity_, clear(), data_, datasize_, and T.
Referenced by device_vector< T >::give_data().
|
inline |
Definition at line 188 of file cycles/util/array.h.
References datasize_.
Referenced by append(), SVMCompiler::compile(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCyclesArray(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCyclesArray< float2, GfVec2f >(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCyclesArray< float3, GfVec3f >(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCyclesArray< Transform, void >(), HDCYCLES_NAMESPACE_OPEN_SCOPE::convertFromCyclesArray< ustring, void >(), create_mesh(), DeleteElements(), GeometryManager::device_update_bvh(), ExportCurveSegments(), ExportCurveSegmentsMotion(), blender::Vector< T, InlineBufferCapacity, RawAllocator >::extend(), blender::Vector< T, InlineBufferCapacity, RawAllocator >::extend_unchecked(), fill_shader_input(), merge_pixels(), ObtainCacheParticleData(), ObtainCacheParticleUV(), ObtainCacheParticleVcol(), operator=(), BVH2::pack_instances(), read_shader_output(), resize(), KDL::JntArray::SetToZero, shutter_curve_eval(), device_vector< T >::steal_data(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), xml_read_float3(), xml_read_float3_array(), xml_read_float4(), xml_read_node(), and xml_write_node().
|
inline |
Definition at line 128 of file cycles/util/array.h.
References clear(), data_, NULL, ptr, and T.
Referenced by device_vector< T >::steal_data().
|
protected |
Definition at line 303 of file cycles/util/array.h.
Referenced by array(), array(), array(), capacity(), clear(), push_back_reserved(), push_back_slow(), reserve(), resize(), set_data(), steal_data(), and ~array().
|
protected |
Definition at line 301 of file cycles/util/array.h.
Referenced by append(), array(), array(), array(), begin(), begin(), clear(), data(), data(), end(), end(), operator=(), operator=(), operator==(), operator[](), push_back_slow(), reserve(), resize(), resize(), set_data(), steal_data(), steal_pointer(), and ~array().
|
protected |
Definition at line 302 of file cycles/util/array.h.
Referenced by array(), array(), array(), clear(), empty(), end(), end(), operator=(), operator=(), operator==(), operator[](), push_back_reserved(), push_back_slow(), reserve(), resize(), set_data(), size(), and steal_data().