Blender V5.0
blender::Vector< T, InlineBufferCapacity, Allocator > Class Template Reference

#include <BLI_vector.hh>

Public Types

using value_type = T
using pointer = T *
using const_pointer = const T *
using reference = T &
using const_reference = const T &
using iterator = T *
using const_iterator = const T *
using size_type = int64_t
using allocator_type = Allocator

Public Member Functions

 Vector (Allocator allocator={}) noexcept
 Vector (NoExceptConstructor, Allocator allocator={}) noexcept
 Vector (int64_t size, Allocator allocator={})
 Vector (int64_t size, const T &value, Allocator allocator={})
template<typename U, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
 Vector (Span< U > values, Allocator allocator={})
template<typename U, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
 Vector (MutableSpan< U > values, Allocator allocator={})
template<typename U, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
 Vector (const std::initializer_list< U > &values)
 Vector (const std::initializer_list< T > &values)
template<typename U, size_t N, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
 Vector (const std::array< U, N > &values)
template<typename InputIt, BLI_ENABLE_IF((!std::is_convertible_v< InputIt, int >))>
 Vector (InputIt first, InputIt last, Allocator allocator={})
 Vector (const Vector &other)
template<int64_t OtherInlineBufferCapacity>
 Vector (const Vector< T, OtherInlineBufferCapacity, Allocator > &other)
template<int64_t OtherInlineBufferCapacity>
 Vector (Vector< T, OtherInlineBufferCapacity, Allocator > &&other) noexcept(is_nothrow_move_constructible())
 Vector (const VectorData< T, Allocator > &data)
 ~Vector ()
Vectoroperator= (const Vector &other)
Vectoroperator= (Vector &&other)
const Toperator[] (int64_t index) const
Toperator[] (int64_t index)
 operator Span< T > () const
 operator MutableSpan< T > ()
template<typename U, BLI_ENABLE_IF((is_span_convertible_pointer_v< T, U >))>
 operator Span< U > () const
template<typename U, BLI_ENABLE_IF((is_span_convertible_pointer_v< T, U >))>
 operator MutableSpan< U > ()
Span< Tas_span () const
MutableSpan< Tas_mutable_span ()
void reserve (const int64_t min_capacity)
void resize (const int64_t new_size)
void resize (const int64_t new_size, const T &value)
void reinitialize (const int64_t new_size)
void clear ()
void clear_and_shrink ()
void append (const T &value)
void append (T &&value)
template<typename... ForwardValue>
void append_as (ForwardValue &&...value)
int64_t append_and_get_index (const T &value)
int64_t append_and_get_index (T &&value)
template<typename... ForwardValue>
int64_t append_and_get_index_as (ForwardValue &&...value)
void append_non_duplicates (const T &value)
void append_unchecked (const T &value)
void append_unchecked (T &&value)
template<typename... ForwardT>
void append_unchecked_as (ForwardT &&...value)
void append_n_times (const T &value, const int64_t n)
void increase_size_by_unchecked (const int64_t n) noexcept
void extend (Span< T > array)
void extend (const T *start, int64_t amount)
template<int64_t OtherInlineBufferCapacity>
void extend (Vector< T, OtherInlineBufferCapacity, Allocator > &&other)
void extend_non_duplicates (Span< T > array)
void extend_unchecked (Span< T > array)
void extend_unchecked (const T *start, int64_t amount)
template<typename InputIt>
void extend (InputIt first, InputIt last)
void insert (const int64_t insert_index, const T &value)
void insert (const int64_t insert_index, T &&value)
void insert (const int64_t insert_index, Span< T > array)
template<typename InputIt>
void insert (const T *insert_position, InputIt first, InputIt last)
template<typename InputIt>
void insert (const int64_t insert_index, InputIt first, InputIt last)
void prepend (const T &value)
void prepend (T &&value)
void prepend (Span< T > values)
template<typename InputIt>
void prepend (InputIt first, InputIt last)
const Tlast (const int64_t n=0) const
Tlast (const int64_t n=0)
const Tfirst () const
Tfirst ()
int64_t size () const
bool is_empty () const
void remove_last ()
T pop_last ()
void remove_and_reorder (const int64_t index)
void remove_first_occurrence_and_reorder (const T &value)
void remove (const int64_t index)
void remove (const int64_t start_index, const int64_t amount)
template<typename Predicate>
int64_t remove_if (Predicate &&predicate)
int64_t first_index_of_try (const T &value) const
int64_t first_index_of (const T &value) const
bool contains (const T &value) const
void fill (const T &value) const
Tdata ()
const Tdata () const
Tbegin ()
Tend ()
const Tbegin () const
const Tend () const
std::reverse_iterator< T * > rbegin ()
std::reverse_iterator< T * > rend ()
std::reverse_iterator< const T * > rbegin () const
std::reverse_iterator< const T * > rend () const
int64_t capacity () const
bool is_at_capacity () const
IndexRange index_range () const
uint64_t hash () const
VectorData< T, Allocator > release ()
void print_stats (const char *name) const
bool is_inline () const

Static Public Member Functions

static uint64_t hash_as (const Span< T > values)

Friends

template<typename OtherT, int64_t OtherInlineBufferCapacity, typename OtherAllocator>
class Vector
bool operator== (const Vector &a, const Vector &b)
bool operator!= (const Vector &a, const Vector &b)

Detailed Description

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
class blender::Vector< T, InlineBufferCapacity, Allocator >
Template Parameters
TType of the values stored in this vector. It has to be movable.
InlineBufferCapacityThe number of values that can be stored in this vector, without doing a heap allocation. Sometimes it makes sense to increase this value a lot. The memory in the inline buffer is not initialized when it is not needed.

When T is large, the small buffer optimization is disabled by default to avoid large unexpected allocations on the stack. It can still be enabled explicitly though.

Template Parameters
AllocatorThe allocator used by this vector. Should rarely be changed, except when you don't want that MEM_* is used internally.

Definition at line 76 of file BLI_vector.hh.

Member Typedef Documentation

◆ allocator_type

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::allocator_type = Allocator

Definition at line 86 of file BLI_vector.hh.

◆ const_iterator

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::const_iterator = const T *

Definition at line 84 of file BLI_vector.hh.

◆ const_pointer

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::const_pointer = const T *

Definition at line 80 of file BLI_vector.hh.

◆ const_reference

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::const_reference = const T &

Definition at line 82 of file BLI_vector.hh.

◆ iterator

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::iterator = T *

Definition at line 83 of file BLI_vector.hh.

◆ pointer

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::pointer = T *

Definition at line 79 of file BLI_vector.hh.

◆ reference

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::reference = T &

Definition at line 81 of file BLI_vector.hh.

◆ size_type

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::size_type = int64_t

Definition at line 85 of file BLI_vector.hh.

◆ value_type

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
using blender::Vector< T, InlineBufferCapacity, Allocator >::value_type = T

Definition at line 78 of file BLI_vector.hh.

Constructor & Destructor Documentation

◆ Vector() [1/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( Allocator allocator = {})
inlinenoexcept

Create an empty vector. This does not do any memory allocation.

Definition at line 140 of file BLI_vector.hh.

◆ Vector() [2/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( NoExceptConstructor ,
Allocator allocator = {} )
inlinenoexcept

Definition at line 148 of file BLI_vector.hh.

◆ Vector() [3/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( int64_t size,
Allocator allocator = {} )
inlineexplicit

Create a vector with a specific size. The elements will be default constructed. If T is trivially constructible, the elements in the vector are not touched.

Definition at line 155 of file BLI_vector.hh.

◆ Vector() [4/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( int64_t size,
const T & value,
Allocator allocator = {} )
inline

Create a vector filled with a specific value.

Definition at line 164 of file BLI_vector.hh.

◆ Vector() [5/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename U, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( Span< U > values,
Allocator allocator = {} )
inline

Create a vector from a span. The values in the vector are copy constructed.

Definition at line 174 of file BLI_vector.hh.

◆ Vector() [6/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename U, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( MutableSpan< U > values,
Allocator allocator = {} )
inlineexplicit

Definition at line 183 of file BLI_vector.hh.

◆ Vector() [7/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename U, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( const std::initializer_list< U > & values)
inline

Create a vector that contains copies of the values in the initialized list.

This allows you to write code like: Vector<int> vec = {3, 4, 5};

Definition at line 195 of file BLI_vector.hh.

◆ Vector() [8/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( const std::initializer_list< T > & values)
inline

Definition at line 199 of file BLI_vector.hh.

◆ Vector() [9/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename U, size_t N, BLI_ENABLE_IF((std::is_convertible_v< U, T >))>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( const std::array< U, N > & values)
inline

Definition at line 202 of file BLI_vector.hh.

◆ Vector() [10/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename InputIt, BLI_ENABLE_IF((!std::is_convertible_v< InputIt, int >))>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( InputIt first,
InputIt last,
Allocator allocator = {} )
inline

Definition at line 210 of file BLI_vector.hh.

◆ Vector() [11/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( const Vector< T, InlineBufferCapacity, Allocator > & other)
inline

Create a copy of another vector. The other vector will not be changed. If the other vector has less than InlineBufferCapacity elements, no allocation will be made.

Definition at line 222 of file BLI_vector.hh.

◆ Vector() [12/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<int64_t OtherInlineBufferCapacity>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( const Vector< T, OtherInlineBufferCapacity, Allocator > & other)
inline

Create a copy of a vector with a different InlineBufferCapacity. This needs to be handled separately, so that the other one is a valid copy constructor.

Definition at line 229 of file BLI_vector.hh.

◆ Vector() [13/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<int64_t OtherInlineBufferCapacity>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( Vector< T, OtherInlineBufferCapacity, Allocator > && other)
inlinenoexcept

Steal the elements from another vector. This does not do an allocation. The other vector will have zero elements afterwards.

Definition at line 239 of file BLI_vector.hh.

◆ Vector() [14/14]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::Vector ( const VectorData< T, Allocator > & data)
inline

Initializes the Vector from an existing buffer. The Vector takes ownership of the buffer. The caller is responsible to make sure that the buffer has been allocated with the same allocator that the Vector will use to deallocate it.

Definition at line 307 of file BLI_vector.hh.

◆ ~Vector()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::~Vector ( )
inline

Definition at line 323 of file BLI_vector.hh.

Referenced by blender::tests::TEST().

Member Function Documentation

◆ append() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::append ( const T & value)
inline

Insert a new element at the end of the vector. This might cause a reallocation with the capacity is exceeded.

This is similar to std::vector::push_back.

Definition at line 489 of file BLI_vector.hh.

Referenced by action_move_fcurves_by_basepath(), blender::compositor::Operation::add_and_evaluate_input_processor(), add_bezt_vertices(), blender::fn::multi_function::ProcedureBuilder::add_call(), blender::geometry::add_curves_on_mesh(), blender::nodes::node_geo_dual_mesh_cc::add_edge(), blender::meshintersect::add_edge_constraint(), add_extrapolation_point_left(), add_extrapolation_point_right(), blender::meshintersect::add_face_ids(), blender::ed::sculpt_paint::pose::add_fake_neighbors(), blender::ed::space_node::add_flat_items_for_layout(), blender::ed::space_node::add_flat_items_for_panel(), blender::ed::space_node::add_flat_items_for_separator(), blender::ed::space_node::add_flat_items_for_socket(), blender::dot_export::NodeWithSockets::add_input(), blender::deg::Depsgraph::add_new_relation(), blender::ed::space_node::add_node_group_interface_from_declaration_recursive(), blender::dot_export::NodeWithSockets::add_output(), blender::ed::space_node::add_rect_corner_positions(), blender::ed::space_node::add_reroute_exec(), blender::nodes::DeclarationListBuilder::add_socket(), blender::ed::object::ComponentObjects::all_objects(), blender::bke::all_zone_input_node_types(), blender::bke::all_zone_node_types(), blender::bke::all_zone_output_node_types(), animdata_filter_shapekey(), animsys_blend_in_fcurves(), animviz_build_motionpath_targets(), appdir_app_template_directories(), blender::draw::command::DrawCommandBuf::append_draw(), blender::draw::command::DrawMultiBuf::append_draw(), append_frame_snap_target(), append_keyframe_snap_target(), blender::draw::overlay::append_line_loop(), append_marker_snap_target(), blender::ed::sculpt_paint::append_neighbors_to_vector(), append_nla_strip_snap_target(), blender::ed::transform::curves::append_positions_to_custom_data(), append_second_snap_target(), append_sequencer_strip_snap_target(), blender::draw::overlay::append_sphere(), blender::ed::greasepencil::apply_eval_grease_pencil_data(), blender::nodes::gizmos::apply_gizmo_change(), blender::nodes::assert_valid_panels_recursive(), blender::bke::attribute_legacy_convert_customdata_to_storage(), blender::nodes::attribute_search_update_fn(), blender::nodes::inverse_eval::backpropagate_socket_values(), blender::nodes::inverse_eval::backpropagate_socket_values_through_node(), blender::ed::object::bake_object_image_get_array(), blender::ed::object::bake_simulation::bake_simulation_gather_requests(), blender::ed::object::bake_simulation::bake_simulation_invoke(), blender::ed::object::bake_simulation::bake_single_node_gather_bake_request(), bev_rebuild_polygon(), bevel_build_poly(), bevel_edge_order_extend(), BKE_id_ordered_list(), BKE_lib_override_library_create_from_tag(), BKE_library_main_rebuild_hierarchy(), BKE_mesh_merge_customdata_for_apply_modifier(), BKE_view_layer_array_from_bases_in_mode_params(), BKE_view_layer_array_selected_objects_params(), blf_font_string_wrap_cb(), blf_str_selection_boxes(), blo_do_versions_400(), blo_split_main(), BM_edge_split(), blender::bm_face_loop_table_build(), bm_face_split_by_edges(), BM_face_split_edgenet(), BM_faces_join(), BM_mesh_bm_from_me(), bm_mesh_loops_calc_normals_for_loop(), BM_mesh_separate_faces(), bm_to_mesh_copy_info_calc(), bmo_edgenet_prepare_exec(), bmo_weld_verts_exec(), build_center_ngon(), blender::seq::build_character_info(), blender::ed::greasepencil::build_fill_boundary(), blender::ed::asset::build_filtered_all_catalog_tree(), blender::index_mask::build_result_mask_segments(), blender::ed::outliner::TreeDisplayIDOrphans::build_tree(), blender::nodes::gizmos::build_tree_gizmo_propagation(), blender::bke::build_vertex_groups_for_leaves(), button_section_bounds_calc(), blender::geometry::calc_corner_groups_for_vertex(), calc_duplicates_cb(), blender::AtomicDisjointSet::calc_reduced_ids(), blender::geometry::calc_vert_loose_edges(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_bmesh(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::ed::sculpt_paint::min_distance_edit::calculate_points_per_side(), blender::nodes::node_fn_separate_color_cc::SeparateRGBAFunction::call(), blender::nodes::node_shader_sepcomb_xyz_cc::sep::MF_SeparateXYZ::call(), blender::animrig::legacy::channel_groups_all(), channels_bake_exec(), blender::nodes::node_geo_attribute_capture_cc::clean_unused_attributes(), blender::animrig::clear_keyframe(), blender::ed::sculpt_paint::cloth::cloth_brush_collider_cache_create(), blender::ed::object::bake_simulation::collect_simulations_to_bake(), blender::fn::combine_field_inputs(), blender::gpu::ShaderCompiler::compile(), blender::nodes::materialx::GroupOutputNodeParser::compute(), blender::nodes::compute_attributes_to_store(), blender::ed::space_node::compute_context_for_tree_path(), blender::index_mask::compute_eval_order(), compute_interpolated_faces(), blender::compositor::compute_marker_points(), compute_vertex_mask__armature_mode(), blender::ed::animrig::construct_pose_rna_paths(), construct_rna_paths(), blender::bke::compare_geometry::construct_vert_mapping(), blender::ui::context_path_add_generic(), blender::geometry::convert_curves_to_bezier(), blender::compositor::convolve(), blender::ed::space_node::NodeClipboard::copy_add_node(), blender::bke::bake::copy_bake_items_to_socket_values(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::copy_bake_state_to_values(), blender::bke::copy_point_selection_custom_knots(), blender::nodes::node_geo_simulation_cc::copy_simulation_state_to_values(), blender::ed::transform::curves::create_curves_transform_custom_data(), blender::fn::multi_function::ProcedureDotExport::create_entry_node(), blender::geometry::create_nurbs_to_bezier_handles(), blender::ed::greasepencil::trim::Segments::create_segment(), blender::io::fbx::create_transform_curve_desc(), blender::ed::transform::createTransGraphEditData(), blender::ed::transform::greasepencil::createTransGreasePencilVerts(), blender::nodes::node_geo_curves_to_grease_pencil_cc::curve_instances_to_grease_pencil_layers(), blender::bke::curve_legacy_to_curves(), blender::ed::curves::curve_offsets_from_selection(), blender::ed::transform::curves::curve_populate_trans_data_structs(), curve_rename_fcurves(), CustomData_blend_write_prepare(), CustomData_shallow_copy_remove_non_bmesh_attributes(), blender::ed::space_node::cut_links_exec(), blender::deg::deg_graph_remove_unused_noops(), blender::deg::deg_graph_transitive_reduction(), blender::ed::object::bake_simulation::delete_baked_simulation_exec(), delete_key_v3d_without_keying_set(), delete_key_vse_without_keying_set(), blender::animrig::delete_keyframe(), blender::meshintersect::detect_holes(), blender::bke::discover_tree_zones(), blender::nodes::node_geo_dual_mesh_cc::dissolve_redundant_verts(), do_pose_tag_select_op_prepare(), blender::nodes::draw_named_attributes_panel(), blender::ed::vse::draw_strip_thumbnails(), blender::draw::DRW_mesh_batch_cache_create_requested(), blender::ed::object::duplicate_exec(), blender::nodes::node_geo_duplicate_elements_cc::duplicate_points(), ED_buttons_tabs_list(), ED_fileselect_selected_files_full_paths(), ED_operator_single_id_from_context_as_vec(), ED_undo_editmode_bases_from_view_layer(), ED_undo_editmode_objects_from_view_layer(), edbm_ripsel_looptag_helper(), edbm_select_linked_flat_faces_exec(), EDBM_select_mirrored_extend_all(), blender::nodes::node_geo_edge_paths_to_curves_cc::edge_paths_to_curves_convert(), blender::geometry::edges_to_curve_point_indices(), blender::eevee::VelocityModule::end_sync(), blender::ed::sculpt_paint::ensure_editable_drawings(), blender::bke::Instances::ensure_geometry_instances(), blender::draw::CurvesEvalCache::ensure_nurbs(), blender::draw::pbvh::DrawCacheImpl::ensure_tris_batches(), eval_template(), blender::index_mask::evaluate_coarse(), blender::index_mask::evaluate_coarse_and_split_until_segments_are_short(), blender::index_mask::evaluate_coarse_difference(), blender::index_mask::evaluate_coarse_intersection(), blender::index_mask::evaluate_coarse_union(), blender::fn::evaluate_fields(), blender::nodes::inverse_eval::evaluate_node_elem_downstream_filtered(), blender::nodes::inverse_eval::evaluate_node_elem_upstream(), blender::index_mask::evaluate_short_unknown_segments_exactly(), blender::ed::sculpt_paint::flood_fill::FillDataBMesh::execute(), blender::nodes::node_composite_denoise_cc::DenoiseOperation::execute(), blender::nodes::LazyFunctionForClosureZone::execute_impl(), blender::nodes::LazyFunctionForJoinReferenceSets::execute_impl(), blender::nodes::LazyFunctionForLogicalOr::execute_impl(), blender::nodes::execute_multi_function_on_value_variant__field(), blender::geometry::execute_realize_curve_tasks(), blender::geometry::execute_realize_grease_pencil_tasks(), blender::geometry::execute_realize_mesh_tasks(), blender::geometry::execute_realize_pointcloud_tasks(), blender::io::usd::export_deform_verts(), exr_channels_in_multi_part_file(), blender::bke::pbvh::uv_islands::extend_at_vert(), blender::io::grease_pencil::extend_curves_geometry(), blender::ed::curves::extend_range_by_1_within_bounds(), blender::gpu::extract_and_replace_clipping_distances(), blender::bke::pbvh::uv_islands::UVPrimitive::extract_border(), blender::bke::pbvh::uv_islands::UVIsland::extract_borders(), blender::geometry::extract_mesh_edges(), blender::geometry::extract_mesh_faces(), blender::geometry::extract_mesh_vertices(), blender::string_search::extract_normalized_words(), blender::draw::Manager::extract_object_attributes(), blender::geometry::extract_real_geometries_recursive(), blender::draw::extract_skin_roots(), blender::draw::extract_tan_init_common(), blender::draw::extract_uv_maps(), blender::bke::pbvh::uv_islands::extract_uv_neighbors(), blender::ed::greasepencil::extrude_grease_pencil_curves(), blender::ed::curves::extrude_knots(), blender::nodes::node_geo_extrude_mesh_cc::extrude_mesh_face_regions(), blender::animrig::legacy::fcurves_all_templated(), blender::bke::greasepencil::convert::AnimDataConvertor::fcurves_convert(), blender::animrig::fcurves_in_listbase_filtered(), blender::animrig::fcurves_in_span_filtered(), blender::bke::pbvh::pixels::Rows::filter_pixels_for_closer_examination(), blender::io::obj::filter_supported_objects(), blender::gpu::GLShader::finalize(), blender::gpu::VKShader::finalize(), blender::array_utils::find_all_ranges(), find_connected_links(), blender::geometry::find_connected_ranges(), blender::ed::sculpt_paint::greasepencil::find_curve_pair_offsets(), blender::ed::sculpt_paint::SlideOperationExecutor::find_curves_to_slide(), find_ik_constraints(), blender::bke::node_tree_runtime::find_logical_origins_for_socket_recursive(), blender::ed::space_node::find_nested_node_id_in_root(), blender::bke::pbvh::pixels::find_nodes_to_update(), blender::io::ply::find_or_add_attribute(), blender::ed::greasepencil::find_or_create_layer_in_dst_by_name(), blender::bke::node_tree_reference_lifetimes::find_reference_sets(), blender::ed::sculpt_paint::find_symm_verts_bmesh(), blender::ed::sculpt_paint::find_symm_verts_grids(), blender::ed::sculpt_paint::find_symm_verts_mesh(), blender::bke::find_zone_nodes(), blender::geometry::fit_poly_to_bezier_curves(), blender::io::obj::fixup_invalid_face(), blender::ed::transform::flushTransNodes(), blender::nodes::gizmos::foreach_active_gizmo_in_open_editors(), blender::ed::spreadsheet::ClosureSignatureDataSource::foreach_default_column_ids(), blender::geometry::foreach_real_geometry(), blender::bke::curves::foreach_selected_point_ranges_per_curve_(), blender::ed::greasepencil::frame_clean_duplicate_exec(), blender::index_mask::IndexMask::from_groups(), blender::index_mask::IndexMask::from_repeating(), blender::index_mask::IndexMask::from_union(), blender::ed::sculpt_paint::CurvesEffectOperationExecutor::gather_influences_projected(), blender::bke::node_field_inferencing::gather_input_socket_dependencies(), gather_local_ids_to_write(), blender::ed::space_node::gather_socket_link_operations(), blender::ed::geometry::gather_supported_objects(), generate(), blender::ed::greasepencil::generate_arc_from_point_to_point(), blender::ed::greasepencil::generate_cap(), blender::ed::greasepencil::generate_circle_from_point(), blender::ed::greasepencil::generate_corner(), blender::ed::animrig::generate_path_values(), blender::animrig::CombinedKeyingResult::generate_reports(), blender::ed::greasepencil::generate_stroke_perimeter(), blender::bke::generate_unique_instance_ids(), blender::io::ply::generate_vertex_map(), blender::io::obj::geom_add_curve_vertex_indices(), blender::ed::sculpt_paint::geometry_preview_lines_update(), blender::io::obj::geometry_to_blender_geometry_set(), blender::io::obj::geometry_to_blender_objects(), blender::ed::transform::get_affected_rna_paths_from_transform_mode(), blender::ed::transform::get_affected_rna_paths_from_transform_mode(), blender::io::usd::get_armature_bone_names(), blender::ed::space_node::get_attribute_info_from_context(), blender::ed::greasepencil::get_bake_targets(), blender::nodes::get_bundle_sync_tooltip(), blender::nodes::get_closure_sync_tooltip(), blender::bke::GeometrySet::get_components(), blender::ed::space_node::get_compute_context_hash_for_node_editor(), blender::nodes::DInputSocket::get_corresponding_group_input_sockets(), blender::ed::curves::get_curves_positions(), blender::ed::curves::get_curves_positions_for_write(), blender::modifier::greasepencil::get_drawing_infos_by_frame(), blender::modifier::greasepencil::get_drawing_infos_by_layer(), blender::ed::greasepencil::get_editable_frames_for_layer(), get_fcurves_of_property(), blender::fn::get_field_context_inputs(), blender::nodes::partial_eval::get_global_node_sort_vector_left_to_right(), blender::nodes::partial_eval::get_global_node_sort_vector_right_to_left(), blender::ed::space_node::get_grid_names_from_context(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::get_identifiers(), blender::bke::tests::ImageTest::get_image_layer_names(), blender::bke::tests::ImageTest::get_image_pass_names_for_layer(), blender::bke::node_tree_runtime::get_implicit_origin_nodes(), blender::bke::node_tree_runtime::get_implicit_target_nodes(), blender::nodes::inverse_eval::get_input_elems_to_propagate(), blender::fn::multi_function::ProcedureDotExport::get_instructions_in_block(), blender::animrig::get_keyable_id_property_paths(), blender::ed::space_node::get_layer_names_from_context(), blender::nodes::node_composite_legacy_cryptomatte_cc::LegacyCryptoMatteOperation::get_layers(), blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation::get_layers_from_image(), blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation::get_layers_from_render(), blender::ed::space_node::get_nodes_to_sync(), blender::nodes::ForeachGeometryElementZoneSideEffectProvider::get_nodes_with_side_effects(), blender::nodes::RepeatZoneSideEffectProvider::get_nodes_with_side_effects(), blender::ed::spreadsheet::InstancesTreeViewItem::get_parent_instance_ids(), get_path_environment_multiple(), get_poselib_objects(), blender::interface::internal::get_property_drivers(), blender::animrig::get_rna_values(), blender::ed::greasepencil::get_selected_frame_number_bounds(), blender::ed::animrig::get_selected_pose_objects(), get_selected_strips_rna_paths(), get_selection(), blender::ed::vse::get_seq_strip_thumbnails(), blender::ed::asset::shelf::get_shelf_for_popup(), blender::ed::greasepencil::get_skinnable_bones_and_deform_group_names(), blender::ed::greasepencil::get_sorted_layer_parents(), blender::ed::space_node::get_sorted_node_parents(), blender::ed::sculpt_paint::get_symmetry_brush_transforms(), blender::nodes::geo_eval_log::GeoNodesLog::get_tree_log(), get_udim_tiles(), blender::ed::space_node::viewer_linking::get_viewer_node_position_candidates(), blender::ed::greasepencil::get_visible_frames_for_layer(), blender::bke::bNodeTreeZones::get_zones_to_enter(), GPU_debug_group_begin(), blender::ed::greasepencil::grease_pencil_copy_keyframes(), blender::ed::greasepencil::grease_pencil_delete_breakdown_frames_exec(), blender::ed::sculpt_paint::grease_pencil_fill_extension_lines_from_circles(), blender::ed::sculpt_paint::grease_pencil_fill_get_extension_data(), blender::draw::grease_pencil_geom_batch_ensure(), blender::ed::greasepencil::grease_pencil_merge_layer_exec(), blender::ed::greasepencil::grease_pencil_paste_keyframes(), blender::ed::greasepencil::grease_pencil_remove_fill_guides_exec(), blender::draw::grease_pencil_wire_batch_ensure(), blender::ed::transform::GreasePencilLayerToTransData(), blender::render::texturemargin::TextureMarginMap::grow_dijkstra(), blender::bke::mesh::handle_fan_result_and_custom_normals(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::hard_eraser(), blender::bke::blendfile::PartialWriteContext::id_add(), blender::ed::outliner::OutlinerLibOverrideData::id_root_add(), blender::ed::outliner::OutlinerLibOverrideData::id_root_set(), image_exr_from_rgb_to_bw(), image_exr_from_scene_linear_to_output(), image_exr_opaque_alpha_buffer(), IMB_exr_begin_write(), blender::io::fbx::import_animations(), blender::io::usd::import_blendshapes(), blender::io::csv::import_csv_as_pointcloud(), blender::io::usd::import_mesh_skel_bindings(), blender::io::usd::import_skeleton(), blender::index_mask::index_range_to_mask_segments(), blender::ed::curves::init_selection_writers(), blender::gpu::init_struct(), blender::ed::curves::pen_tool::CurvesPenToolOperation::initialize(), blender::nodes::LazyFunctionForForeachGeometryElementZone::initialize_execution_graph(), blender::nodes::initialize_zone_wrapper(), blender::fn::multi_function::ProcedureDotExport::instruction_to_string(), blender::draw::interpolate_face_corner_attribute_to_curve(), blender::index_mask::ExprBuilder::intersect(), blender::ed::spreadsheet::ViewerDataTreeItem::items_path(), blender::nodes::node_geo_sort_elements_cc::items_value_in(), blender::geometry::join_component_type(), blender::ed::curves::join_objects_exec(), blender::ed::mesh::join_objects_exec(), blender::ed::pointcloud::join_objects_exec(), blender::ed::mesh::join_shape_keys(), blender::ed::mesh::join_vertex_groups(), knife_find_line_hits(), blender::ed::object::lattice_add_to_selected_collect_targets_and_calc_bounds(), blender::nodes::layer_name_search_update_fn(), blender::nodes::LazyFunctionForGeometryNode::LazyFunctionForGeometryNode(), blender::nodes::LazyFunctionForMultiInput::LazyFunctionForMultiInput(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), lib_override_library_remap(), lib_override_library_resync(), lightprobe_cache_irradiance_volume_subset_get(), blender::io::ply::load_vertex_element(), blender::nodes::geo_eval_log::GeoTreeLogger::log_value(), loop_find_region(), main_merge_add_id_to_move(), make_selected_objects_local(), blender::string_search::match_word_initials(), blender::eevee::ShaderModule::material_create_info_amend(), menu_items_from_all_operators(), blender::index_mask::ExprBuilder::merge(), blender::ed::greasepencil::merge_layers(), blender::geometry::merge_layers(), blender::bke::mesh_apply_spatial_organization(), blender::draw::mesh_buffer_cache_create_requested(), blender::bke::mesh_calc_edges(), blender::bke::pbvh::uv_islands::mesh_data_init_edges(), blender::bke::pbvh::uv_islands::mesh_data_init_primitive_uv_island_ids(), blender::bke::mesh_freestyle_marks_to_legacy(), blender::bke::mesh_remesh_reproject_attributes(), mesh_to_bm_copy_info_calc(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), mirror_bone_collection_assignments(), blender::gpu::missing_capabilities_get(), MOD_lineart_gpencil_generate_v3(), blender::ed::object::modifier_get_edit_objects(), blender::locale::MOMessages::MOMessages(), blender::bke::bake::move_bake_items_to_socket_values(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::move_bake_state_to_values(), blender::bke::bake::move_common_socket_value_to_bake_item(), blender::nodes::node_geo_simulation_cc::move_simulation_state_to_values(), blender::bke::bake::move_socket_values_to_bake_items(), blender::ed::space_node::mute_links_exec(), blender::ed::space_node::named_attribute_tooltip(), blender::ed::space_node::node_add_image_exec(), blender::ed::space_node::node_add_import_node_exec(), blender::ed::space_node::node_draw_zones_and_frames(), blender::nodes::node_geo_attribute_capture_cc::node_geo_exec(), blender::nodes::node_geo_boolean_cc::node_geo_exec(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), blender::nodes::node_geo_field_to_grid_cc::node_geo_exec(), blender::nodes::node_geo_remove_attribute_cc::node_geo_exec(), blender::ed::space_node::node_get_compositor_extra_info(), blender::ed::space_node::node_get_extra_info(), blender::ed::space_node::node_group_make_insert_selected(), blender::ed::space_node::node_group_ungroup(), blender::ed::space_node::node_group_ungroup_exec(), ntree_shader_shader_to_rgba_branches(), blender::ed::object::object_clear_transform_generic_exec(), object_duplilist(), object_duplilist_legacy_instances(), object_duplilist_preview(), blender::bke::GeometrySet::operator<<, blender::index_mask::operator<<(), blender::geometry::p_chart_simplify_compute(), blender::geometry::OverlapMerger::pack_islands_overlap(), blender::ed::vse::padded_strips_under_mouse_get(), blender::csv_parse::tests::parse_csv_fields(), blender::csv_parse::parse_csv_in_chunks(), blender::ed::viewer_path::parse_geometry_nodes_viewer(), blender::csv_parse::parse_records(), parse_template(), blender::gpu::parse_version(), blender::ed::curves::convert_from_particle_system::particles_to_curves(), blender::ed::greasepencil::paste_all_strokes_from_clipboard(), blender::bke::pbvh::pbvh_bmesh_collapse_edge(), PointerRNA::PointerRNA(), blender::geometry::poly_find_doubles(), blender::animrig::pose_bone_descendent_iterator(), poselib_keytag_pose(), blender::geometry::prepare_attribute_fallbacks(), blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components(), blender::nodes::node_fn_format_string_cc::preprocess_python_compatible_syntax(), blender::ed::vse::preview_startjob(), blender::gpu::Shader::print_log(), blender::io::usd::process_scene_graph_instances(), uiLayout::prop(), blender::bke::node_structure_type_inferencing::propagate_right_to_left(), blender::seq::query_strip_connected_and_effect_chain(), blender::draw::select::SelectMap::read_result(), blender::gpu::VKTexture::read_sub(), blender::ed::transform::recalcData_graphedit(), blender::nodes::refresh_node_sockets_and_panels(), blender::bke::register_node_zone_type(), blender::animrig::relative_keyingset_add_source(), blender::animrig::relative_keyingset_add_source(), blender::io::usd::remap_blend_shape_anim(), blender::ed::greasepencil::remove_all_selected_frames(), blender::bke::MutableAttributeAccessor::remove_anonymous(), blender::nodes::node_geo_remove_attribute_cc::remove_attributes_recursive(), remove_least_recently_used_panel_states(), blender::meshintersect::remove_non_constraint_edges_leave_valid_bmesh(), blender::nodes::node_geo_extrude_mesh_cc::remove_non_propagated_attributes(), blender::meshintersect::remove_outer_edges_until_constraints(), blender::geometry::remove_points_and_split(), blender::bke::Instances::remove_unused_references(), blender::eevee::ShaderModule::request_specializations(), blender::ed::space_node::reroute_node_get_auto_label(), blender::ed::curves::retrieve_all_selected_points(), blender::geometry::retrieve_attribute_spans(), blender::bke::retrieve_attributes_for_transfer(), blender::ed::greasepencil::retrieve_editable_drawings(), blender::ed::greasepencil::retrieve_editable_drawings_from_layer(), blender::ed::greasepencil::retrieve_editable_drawings_from_layer_with_falloff(), blender::ed::greasepencil::retrieve_editable_drawings_with_falloff(), blender::io::grease_pencil::GreasePencilExporter::retrieve_objects(), blender::ed::greasepencil::retrieve_visible_drawings(), blender::geometry::reverse_samples(), blender::geometry::ReverseUVSampler::ReverseUVSampler(), blender::ed::sculpt_paint::AddOperationExecutor::sample_in_center(), blender::nodes::node_geo_distribute_points_on_faces_cc::sample_mesh_surface(), blender::ed::sculpt_paint::AddOperationExecutor::sample_projected(), blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_projected_with_symmetry(), blender::ed::sculpt_paint::AddOperationExecutor::sample_spherical(), blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_spherical_with_symmetry(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), blender::bke::mesh_surface_sample::sample_surface_points_spherical(), blender::fn::lazy_function::ScheduledNodes::schedule(), blender::string_search::score_query_against_words(), blender::draw::sculpt_batches_get(), blender::draw::sculpt_batches_per_material_get(), blender::ed::space_node::search_link_ops_for_asset_metadata(), blender::nodes::search_link_ops_for_declarations(), blender::index_mask::segments_from_batch_predicate(), blender::nodes::node_geo_material_selection_cc::select_by_material(), blender::ed::curves::separate_points(), blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_single_strip(), blender::ed::vse::sequencer_copy_animation_to_vector(), blender::ed::vse::sequencer_retiming_key_delete_exec(), blender::ed::vse::sequencer_visible_strips_get(), blender::bke::bake::serialize_geometry_set(), blender::nodes::node_geo_set_position_cc::set_curves_position(), set_to_vector_stable(), blender::eevee::SphereProbeModule::set_view(), blender::eevee::VolumeProbeModule::set_view(), blender::ed::object::shade_smooth_exec(), blender::io::usd::shape_key_export_chaser(), blender::draw::overlay::ShapeCache::ShapeCache(), blender::ed::object::bake_simulation::simulate_to_frame_startjob(), slot_channels_move_to_new_action_exec(), smart_project_exec(), smart_uv_project_calculate_project_normals(), snap_sel_to_grid_exec(), snap_selected_to_location_rotation(), blender::bke::node_tree_reference_lifetimes::bNodeTreeBitGroupVectorOptions::socket_name(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::soft_eraser(), blender::ed::space_node::sort_multi_input_socket_links_with_drag(), blender::csv_parse::split_into_aligned_chunks(), blender::nodes::split_path(), blender::ed::curves::split_points(), blender::ed::spreadsheet::spreadsheet_table_remove_unused(), blender::ed::spreadsheet::spreadsheet_table_remove_unused_columns(), standard_defines(), blender::ed::geometry::store_result_geometry(), blender::gpu::VKDevice::submission_runner(), blender::index_mask::ExprBuilder::subtract(), blender::nodes::sync_sockets_closure(), blender::asset_system::tests::TEST(), blender::index_mask::tests::TEST(), blender::iterator::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(), 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::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), blender::draw::test_eevee_surfel_list(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), timeline_draw_cache(), blender::index_mask::IndexMask::to_ranges(), blender::index_mask::IndexMask::to_spans_and_ranges(), blender::geometry::toposort_connected_curves(), blender::bke::node_tree_runtime::toposort_from_start_node(), blender::ed::transform::transform_mesh_uv_vert_slide_data_create(), blender::ed::transform::transform_mesh_vert_slide_data_create(), blender::bke::mesh::traverse_fan_local_corners(), blender::ed::greasepencil::trim::trim_curve_segments(), blender::try_add_side_effect_node(), blender::bke::try_capture_fields_on_geometry(), blender::memory_cache::try_enforce_limit(), blender::ed::asset::shelf::type_register(), ui_but_event_property_operator_string(), UI_context_copy_to_selected_list(), ui_context_fcurve_modifiers_via_fcurve(), ui_context_selected_key_blocks(), blender::ed::space_node::ui_node_link_items(), blender::ed::space_node::ui_node_menu_column(), ui_update_flexible_spacing(), blender::bke::NodeTreeMainUpdater::update(), blender::ed::viewer_path::update_active_geometry_nodes_viewer(), blender::update_bakes_from_node_group(), blender::ed::space_node::update_nested_node_refs_after_moving_nodes_into_group(), blender::update_panels_from_node_group(), blender::ed::spreadsheet::update_visible_columns(), blender::bke::update_zone_per_node(), uv_cylinder_project(), uv_from_view_exec(), blender::geometry::uv_parametrizer_pack(), uv_remove_doubles_to_selected_shared_vertex(), uv_remove_doubles_to_unselected(), uv_sphere_project(), uvedit_pack_islands_multi(), version_bone_hide_property_driver(), version_bonelayers_to_bonecollections(), version_geometry_nodes_primitive_uv_maps(), blender::ed::sculpt_paint::vert_neighbors_get_bmesh(), blender::ed::sculpt_paint::vert_neighbors_get_interior_bmesh(), blender::ed::vse::visible_strips_ordered_get(), blender::ed::object::visual_geometry_to_objects_exec(), blender::gpu::VKFrameBuffer::vk_viewports_append(), blender::gpu::MTLShader::warm_cache(), blender::geometry::weld_edge_ctx_alloc_and_find_collapsed(), blender::geometry::weld_mesh_context_create(), blender::geometry::weld_poly_find_doubles(), blender::geometry::weld_vert_ctx_alloc_and_setup(), wm_block_dialog_create(), WM_drag_create_path_data(), WM_event_drag_path_override_poin_data_with_space_file_paths(), wm_gizmogroup_intersectable_gizmos_to_list(), WM_keymap_item_raw_to_string(), wm_xr_init(), blender::bke::blendfile::PartialWriteContext::write(), write_libraries(), blender::io::obj::write_mesh_objects(), and blender::ui::string_search::write_recent_searches_file().

◆ append() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::append ( T && value)
inline

Definition at line 493 of file BLI_vector.hh.

◆ append_and_get_index() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
int64_t blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index ( const T & value)
inline

◆ append_and_get_index() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
int64_t blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index ( T && value)
inline

Definition at line 512 of file BLI_vector.hh.

◆ append_and_get_index_as()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename... ForwardValue>
int64_t blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index_as ( ForwardValue &&... value)
inline

◆ append_as()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename... ForwardValue>
void blender::Vector< T, InlineBufferCapacity, Allocator >::append_as ( ForwardValue &&... value)
inline

◆ append_n_times()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::append_n_times ( const T & value,
const int64_t n )
inline

◆ append_non_duplicates()

◆ append_unchecked() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::append_unchecked ( const T & value)
inline

Append the value and assume that vector has enough memory reserved. This invokes undefined behavior when not enough capacity has been reserved beforehand. Only use this in performance critical code.

Definition at line 540 of file BLI_vector.hh.

Referenced by blender::index_mask::bits_to_indices(), computed_masked_faces(), filtered_rows_from_thumb(), blender::bke::mesh::handle_fan_result_and_custom_normals(), snap_sel_to_grid_exec(), test_sin_cos_from_fraction_symmetry(), and blender::geometry::uv_parametrizer_face_add().

◆ append_unchecked() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::append_unchecked ( T && value)
inline

Definition at line 544 of file BLI_vector.hh.

◆ append_unchecked_as()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename... ForwardT>
void blender::Vector< T, InlineBufferCapacity, Allocator >::append_unchecked_as ( ForwardT &&... value)
inline

Definition at line 548 of file BLI_vector.hh.

◆ as_mutable_span()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
MutableSpan< T > blender::Vector< T, InlineBufferCapacity, Allocator >::as_mutable_span ( )
inline

Definition at line 386 of file BLI_vector.hh.

Referenced by arrayModifier_doArray(), blender::eevee::VolumeProbeModule::bricks_alloc(), blender::ed::sculpt_paint::greasepencil::brush_point_influence_mask(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::bke::greasepencil::Drawing::curve_plane_normals(), blender::nodes::node_geo_distribute_points_on_faces_cc::distribute_points_poisson_disk(), blender::bke::CurvesGeometry::evaluated_normals(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::execute(), blender::ed::greasepencil::extrude_grease_pencil_curves(), blender::ed::sculpt_paint::greasepencil::find_curve_mapping_from_index(), blender::bke::node_tree_reference_lifetimes::find_reference_sets(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_bmesh(), blender::ed::sculpt_paint::gather_data_grids(), blender::ed::sculpt_paint::gather_data_mesh(), get_nearest_editbonepoint(), blender::animrig::insert_keyframe_direct(), blender::animrig::insert_keyframes(), blender::ed::curves::pen_tool::insert_point_to_curve(), blender::ed::spreadsheet::ViewerDataTreeItem::items_path(), mixed_bones_object_selectbuffer(), blender::bke::CurvesGeometry::nurbs_custom_knots_by_curve(), blender::geometry::EvalDataBuffer::resize(), blender::geometry::smooth_curve_positions(), blender::ed::space_node::snode_autoconnect(), blender::gpu::sort_input_list(), blender::tests::TEST(), blender::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::bke::mesh::traverse_fan_local_corners(), blender::bke::greasepencil::Drawing::triangles(), ui_block_align_calc(), blender::ed::sculpt_paint::hide::vert_hide_update(), and view3d_gpu_select_with_id_filter().

◆ as_span()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
Span< T > blender::Vector< T, InlineBufferCapacity, Allocator >::as_span ( ) const
inline

Definition at line 381 of file BLI_vector.hh.

Referenced by blender::string_search::StringSearchBase::add_impl(), blender::nodes::attribute_search_update_fn(), blender::ed::transform::autokeyframe_object(), blender::ed::transform::autokeyframe_pose(), blo_read_file_internal(), blender::eevee::VolumeProbeModule::bricks_free(), blender::geometry::calc_new_edges(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_bmesh(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior_impl(), blender::geometry::convert_curves_to_bezier(), copy_driver_to_selected_button(), CustomData_shallow_copy_remove_non_bmesh_attributes(), blender::io::usd::determine_knots_mode(), blender::ed::curves::duplicate_points(), SubdivCCGNeighbors::duplicates(), ed_armature_pick_bone_impl(), ed_curves_select_pick(), ed_view3d_give_base_under_cursor_ex(), blender::nodes::node_geo_edge_paths_to_curves_cc::edge_paths_to_curves_convert(), blender::draw::CurvesEvalCache::ensure_nurbs(), blender::bke::CurvesGeometry::evaluated_normals(), blender::ed::curves::pen_tool::extrude_curves(), blender::ed::greasepencil::extrude_grease_pencil_curves(), blender::ed::greasepencil::frame_clean_duplicate_exec(), blender::index_mask::IndexMask::from_initializers(), blender::geometry::gather_or_reference(), blender::ed::sculpt_paint::expand::geodesic_falloff_create(), blender::ed::sculpt_paint::geometry_preview_lines_update(), blender::ed::greasepencil::get_editable_frames_for_layer(), blender::ed::greasepencil::get_visible_frames_for_layer(), gizmo_find_intersected_3d_intern(), blender::ed::sculpt_paint::grease_pencil_fill_extension_lines_from_circles(), blender::ed::greasepencil::grease_pencil_separate_layer(), blender::ed::greasepencil::grease_pencil_separate_material(), blender::ed::greasepencil::grease_pencil_separate_selected(), blender::ed::transform::GreasePencilLayerToTransData(), blender::ed::sculpt_paint::pose::grow_factors_mesh(), blender::io::fbx::import_animations(), blender::nodes::LazyFunctionForForeachGeometryElementZone::initialize_execution_graph(), blender::animrig::insert_keyframes(), blender::ed::curves::join_objects_exec(), blender::ed::mesh::join_objects_exec(), blender::ed::pointcloud::join_objects_exec(), blender::nodes::layer_name_search_update_fn(), loop_find_region(), blender::draw::mesh_buffer_cache_create_requested(), mixed_bones_object_selectbuffer(), blender::ed::sculpt_paint::undo::node_size_in_bytes(), blender::Vector< SubdivCCGCoord, 256 >::operator==, blender::ed::greasepencil::paste_all_strokes_from_clipboard(), pointcloud_select_pick(), blender::ed::transform::curves::recent_position_offsets(), blender::ed::greasepencil::remove_all_selected_frames(), remove_least_recently_used_panel_states(), blender::geometry::remove_points_and_split(), blender::ed::curves::separate_points(), blender::bke::bake::serialize_geometry_set(), blender::ed::sculpt_paint::expand::spherical_falloff_create(), blender::ed::curves::split_points(), blender::ed::sculpt_paint::undo::store_face_sets(), blender::bke::node_structure_type_inferencing::store_group_output_structure_types(), blender::ed::geometry::store_result_geometry(), blender::bke::greasepencil::Drawing::tag_topology_changed(), blender::bits::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), blender::ed::sculpt_paint::undo::tests::TEST_F(), blender::interface::tests::TEST_F(), blender::gpu::tests::test_storage_buffer_copy_from_vertex_buffer(), timeline_cache_draw_geometry_nodes(), blender::ed::sculpt_paint::expand::topology_falloff_create(), blender::ed::transform::transform_mesh_uv_vert_slide_data_create(), blender::ed::transform::transform_mesh_vert_slide_data_create(), blender::try_add_side_effect_node(), SubdivCCGNeighbors::unique(), blender::ed::spreadsheet::update_visible_columns(), blender::ed::sculpt_paint::hide::vert_hide_update(), blender::ed::sculpt_paint::vert_neighbors_get_mesh(), blender::io::obj::OBJLegacyCurve::vertex_coordinates(), and view3d_select_exec().

◆ begin() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
T * blender::Vector< T, InlineBufferCapacity, Allocator >::begin ( )
inline

Definition at line 958 of file BLI_vector.hh.

Referenced by BKE_id_ordered_list(), BKE_view_layer_array_from_objects_in_mode_params(), blender::AtomicDisjointSet::calc_reduced_ids(), blender::io::fbx::create_transform_curve_data(), blender::index_mask::difference_index_mask_segments(), blender::nodes::draw_named_attributes_panel(), blender::nodes::draw_warnings(), blender::index_mask::evaluate_short_unknown_segments_exactly(), blender::gpu::extract_and_replace_clipping_distances(), blender::nodes::geo_eval_log::FieldInfoLog::FieldInfoLog(), blender::ed::space_node::find_nested_node_id_in_root(), blender::ed::sculpt_paint::find_symm_verts_bmesh(), blender::ed::sculpt_paint::find_symm_verts_grids(), blender::ed::sculpt_paint::find_symm_verts_mesh(), blender::index_mask::IndexMask::from_initializers(), blender::io::fbx::gather_animated_properties(), generate(), blender::bke::get_direct_zone_relations(), blender::nodes::partial_eval::get_global_node_sort_vector_left_to_right(), blender::nodes::partial_eval::get_global_node_sort_vector_right_to_left(), blender::workbench::get_matcap_tx(), blender::ed::spreadsheet::InstancesTreeViewItem::get_parent_instance_ids(), blender::ed::vse::get_scene_strip_for_time_sync(), blender::ed::greasepencil::get_sorted_layer_parents(), blender::ed::space_node::get_sorted_node_parents(), blender::bke::bNodeTreeZones::get_zones_to_enter(), blender::ed::greasepencil::grease_pencil_separate_exec(), blender::render::texturemargin::TextureMarginMap::grow_dijkstra(), blender::io::usd::import_blendshapes(), blender::io::usd::import_mesh_skel_bindings(), blender::index_mask::intersect_index_mask_segments(), isect_bvhtree_point_v3(), blender::ed::mesh::join_objects_exec(), menu_items_from_all_operators(), blender::bke::mesh_freestyle_marks_to_legacy(), blender::ed::space_node::named_attribute_tooltip(), blender::ed::space_node::node_draw_zones_and_frames(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), blender::ed::vse::padded_strips_under_mouse_get(), blender::bke::partition_faces_recursively(), psys_tasks_create(), blender::index_mask::ParallelSegmentsCollector::reduce(), blender::nodes::refresh_node_panel(), remove_least_recently_used_panel_states(), blender::meshintersect::remove_non_constraint_edges_leave_valid_bmesh(), blender::io::grease_pencil::GreasePencilExporter::retrieve_objects(), blender::seq::seq_shown_strips_get(), set_to_vector_stable(), blender::eevee::SphereProbeModule::set_view(), blender::eevee::VolumeProbeModule::set_view(), blender::ed::space_node::snode_autoconnect(), blender::ed::space_node::sort_multi_input_socket_links_with_drag(), blender::bke::greasepencil::Layer::sorted_keys(), blender::ed::spreadsheet::spreadsheet_table_remove_unused(), blender::ed::spreadsheet::spreadsheet_table_remove_unused_columns(), blender::tests::TEST(), blender::tests::TEST(), test_sin_cos_from_fraction_symmetry(), timeline_cache_draw_geometry_nodes(), blender::bke::mesh::traverse_fan_local_corners(), blender::try_add_side_effect_node(), blender::memory_cache::try_enforce_limit(), blender::ed::asset::shelf::type_poll_no_spacetype_check(), blender::ed::asset::shelf::type_unregister(), ui_block_align_calc(), blender::index_mask::union_index_mask_segments(), blender::ed::space_node::update_multi_input_indices_for_removed_links(), blender::ed::spreadsheet::update_visible_columns(), blender::io::obj::valid_nurb_control_point_range(), and blender::ui::string_search::write_recent_searches_file().

◆ begin() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
const T * blender::Vector< T, InlineBufferCapacity, Allocator >::begin ( ) const
inline

Definition at line 967 of file BLI_vector.hh.

◆ capacity()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
int64_t blender::Vector< T, InlineBufferCapacity, Allocator >::capacity ( ) const
inline

Get the current capacity of the vector, i.e. the maximum number of elements the vector can hold, before it has to reallocate.

Definition at line 998 of file BLI_vector.hh.

Referenced by blender::tests::TEST().

◆ clear()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::clear ( )
inline

Afterwards the vector has 0 elements, but will still have memory to be refilled again.

Definition at line 459 of file BLI_vector.hh.

Referenced by bevel_edge_order_extend(), BKE_lib_override_library_create_from_tag(), bm_face_split_by_edges(), bm_mesh_loops_calc_normals_for_loop(), BM_mesh_separate_faces(), bmo_edgenet_prepare_exec(), blender::eevee::VolumeProbeModule::bricks_free(), calc_duplicates_cb(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_bmesh(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior(), blender::ed::sculpt_paint::calc_vert_neighbors_interior_impl(), LayoutPanels::clear(), ctx_data_base_collection_get(), ctx_data_collection_get(), CTX_data_get(), blender::eevee::ShadowDirectional::end_sync(), blender::nodes::partial_eval::eval_downstream(), blender::nodes::partial_eval::eval_upstream(), blender::ed::curves::extend_range_by_1_within_bounds(), blender::bke::greasepencil::convert::AnimDataConvertor::fcurves_convert_finalize(), blender::ed::sculpt_paint::undo::compression::filter_compress(), blender::ed::sculpt_paint::undo::compression::filter_decompress(), blender::bke::curves::foreach_selected_point_ranges_per_curve_(), blender::ed::sculpt_paint::geometry_preview_lines_update(), id_delete(), IMB_colormanagement_space_to_icc_profile(), blender::draw::detail::Pass< command::DrawCommandBuf >::init(), lib_override_library_resync(), blender::io::obj::linked_sockets_to_dest_id(), merge_uvs_for_vertex(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), blender::geometry::p_chart_simplify_compute(), blender::csv_parse::parse_records(), blender::gpu::parse_version(), blender::draw::particle_batch_cache_clear_hair(), psys_tasks_free(), blender::eevee::VolumeProbeModule::set_view(), smart_uv_project_calculate_project_normals(), blender::ed::sculpt_paint::SmoothOperationExecutor::smooth(), blender::gpu::VKDevice::submission_runner(), blender::bke::tests::TEST(), ui_context_fcurve_modifiers_via_fcurve(), blender::bke::node_tree_runtime::update_toposort(), uv_remove_doubles_to_selected_shared_vertex(), blender::ed::sculpt_paint::vert_neighbors_get_bmesh(), blender::ed::sculpt_paint::vert_neighbors_get_interior_bmesh(), blender::ed::sculpt_paint::vert_neighbors_get_mesh(), blender::ed::vse::visible_strips_ordered_get(), and blender::bke::blendfile::PartialWriteContext::write().

◆ clear_and_shrink()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::clear_and_shrink ( )
inline

◆ contains()

◆ data() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
T * blender::Vector< T, InlineBufferCapacity, Allocator >::data ( )
inline

Get access to the underlying array.

Definition at line 945 of file BLI_vector.hh.

Referenced by blender::fn::multi_function::ProcedureBuilder::add_call(), blender::bke::path_templates::VariableMap::add_path_up_to_file(), bev_rebuild_polygon(), bevel_build_poly(), BKE_path_apply_template(), BKE_volume_grid_selection_surface(), BKE_volume_grid_wireframe(), bm_face_split_by_edges(), BM_faces_join(), BM_mesh_separate_faces(), bpy_bm_utils_face_split_edgenet(), build_center_ngon(), calc_duplicates_cb(), blender::nodes::node_fn_separate_color_cc::SeparateRGBAFunction::call(), blender::nodes::node_shader_sepcomb_xyz_cc::sep::MF_SeparateXYZ::call(), blender::ed::object::collection_drop_exec(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_matte_gpu(), blender::ocio::GPUShaderBinder::create_gpu_shader(), CustomData_shallow_copy_remove_non_bmesh_attributes(), do_object_box_select(), do_pose_box_select(), ed_curves_select_pick(), blender::bke::evaluate_attribute(), extract_png_from_blend_file(), blender::ed::sculpt_paint::undo::compression::filter_compress(), blender::ed::sculpt_paint::undo::compression::filter_decompress(), blender::ed::space_node::find_bounds_by_zone_recursive(), blender::geometry::fit_poly_to_bezier_curves(), blender::animrig::get_rna_values(), GPU_storagebuf_create_ex(), GPU_uniformbuf_create_ex(), IMB_colormanagement_space_to_icc_profile(), blender::imbuf::imb_create_write_spec(), IMB_exr_begin_write(), IMB_exr_write_channels(), imb_savewebp(), blender::io::fbx::import_animations(), blender::draw::interpolate_face_corner_attribute_to_curve(), isect_bvhtree_point_v3(), blender::ed::curves::join_objects_exec(), blender::ed::mesh::join_objects_exec(), blender::ed::pointcloud::join_objects_exec(), blender::io::ply::load_face_element(), blender::io::ply::load_tristrips_element(), loop_find_region(), blender::bke::mesh_freestyle_marks_to_legacy(), mesh_undosys_step_encode(), mouse_select_eval_buffer(), blender::nodes::node_geo_sort_elements_cc::node_rna(), blender::ed::object::object_clear_transform_generic_exec(), blender::ed::object::object_transform_to_mouse_exec(), blender::ed::spreadsheet::InstancesTreeViewItem::on_activate(), blender::bke::bake::pack_bake_from_disk(), parse_expr(), blender::io::ply::parse_row_binary(), pointcloud_select_pick(), blender::bke::id_hash::read_file(), blender::io::ply::read_list_count(), blender::draw::select::SelectMap::read_result(), blender::geometry::rotate_inside_square(), blender::gpu::render_graph::VKCommandBufferWrapper::set_scissor(), blender::gpu::render_graph::VKCommandBufferWrapper::set_viewport(), skin_fix_hole_no_good_verts(), blender::io::ply::skip_property(), snap_sel_to_grid_exec(), snap_selected_to_location_rotation(), solidify_add_thickness(), blender::gpu::VKDevice::submission_runner(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), blender::draw::test_eevee_shadow_tilemap_amend(), blender::gpu::tests::test_immediate_one_plane(), blender::gpu::tests::test_immediate_two_planes(), blender::gpu::tests::test_storage_buffer_clear(), blender::gpu::tests::test_storage_buffer_clear_byte_pattern(), blender::gpu::tests::test_storage_buffer_clear_zero(), blender::gpu::tests::test_storage_buffer_copy_from_vertex_buffer(), blender::gpu::tests::test_storage_buffer_create_update_read(), blender::ed::space_node::ui_node_menu_column(), ui_selectcontext_begin(), blender::ed::space_node::update_nested_node_refs_after_moving_nodes_into_group(), uv_remove_doubles_to_selected(), blender::gpu::tests::vertex_buffer_fetch_mode(), blender::animrig::visualkey_get_values(), wm_gizmomap_highlight_find(), wm_xr_init(), write_jpeg(), and zlib_compress().

◆ data() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
const T * blender::Vector< T, InlineBufferCapacity, Allocator >::data ( ) const
inline

Get access to the underlying array.

Definition at line 953 of file BLI_vector.hh.

◆ end() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
T * blender::Vector< T, InlineBufferCapacity, Allocator >::end ( )
inline

Definition at line 962 of file BLI_vector.hh.

Referenced by BKE_id_ordered_list(), BKE_view_layer_array_from_objects_in_mode_params(), blender::AtomicDisjointSet::calc_reduced_ids(), blender::io::fbx::create_transform_curve_data(), blender::index_mask::difference_index_mask_segments(), blender::nodes::draw_named_attributes_panel(), blender::nodes::draw_warnings(), blender::index_mask::evaluate_short_unknown_segments_exactly(), blender::gpu::extract_and_replace_clipping_distances(), blender::nodes::geo_eval_log::FieldInfoLog::FieldInfoLog(), blender::ed::space_node::find_nested_node_id_in_root(), blender::ed::sculpt_paint::find_symm_verts_bmesh(), blender::ed::sculpt_paint::find_symm_verts_grids(), blender::ed::sculpt_paint::find_symm_verts_mesh(), blender::index_mask::IndexMask::from_initializers(), blender::io::fbx::gather_animated_properties(), generate(), blender::bke::get_direct_zone_relations(), blender::nodes::partial_eval::get_global_node_sort_vector_left_to_right(), blender::nodes::partial_eval::get_global_node_sort_vector_right_to_left(), blender::ed::spreadsheet::InstancesTreeViewItem::get_parent_instance_ids(), blender::ed::vse::get_scene_strip_for_time_sync(), blender::ed::greasepencil::get_sorted_layer_parents(), blender::ed::space_node::get_sorted_node_parents(), blender::bke::bNodeTreeZones::get_zones_to_enter(), blender::ed::greasepencil::grease_pencil_separate_exec(), blender::render::texturemargin::TextureMarginMap::grow_dijkstra(), blender::io::usd::import_blendshapes(), blender::io::usd::import_mesh_skel_bindings(), blender::index_mask::intersect_index_mask_segments(), isect_bvhtree_point_v3(), blender::ed::mesh::join_objects_exec(), menu_items_from_all_operators(), blender::bke::mesh_freestyle_marks_to_legacy(), blender::ed::space_node::named_attribute_tooltip(), blender::ed::space_node::node_draw_zones_and_frames(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), blender::ed::vse::padded_strips_under_mouse_get(), psys_tasks_create(), blender::index_mask::ParallelSegmentsCollector::reduce(), remove_least_recently_used_panel_states(), blender::meshintersect::remove_non_constraint_edges_leave_valid_bmesh(), blender::io::grease_pencil::GreasePencilExporter::retrieve_objects(), blender::seq::seq_shown_strips_get(), set_to_vector_stable(), blender::eevee::SphereProbeModule::set_view(), blender::eevee::VolumeProbeModule::set_view(), blender::ed::space_node::snode_autoconnect(), blender::ed::space_node::sort_multi_input_socket_links_with_drag(), blender::bke::greasepencil::Layer::sorted_keys(), blender::ed::spreadsheet::spreadsheet_table_remove_unused(), blender::ed::spreadsheet::spreadsheet_table_remove_unused_columns(), blender::tests::TEST(), blender::tests::TEST(), test_sin_cos_from_fraction_symmetry(), timeline_cache_draw_geometry_nodes(), blender::bke::mesh::traverse_fan_local_corners(), blender::try_add_side_effect_node(), blender::memory_cache::try_enforce_limit(), blender::ed::asset::shelf::type_poll_no_spacetype_check(), blender::ed::asset::shelf::type_unregister(), ui_block_align_calc(), blender::index_mask::union_index_mask_segments(), blender::ed::space_node::update_multi_input_indices_for_removed_links(), blender::io::obj::valid_nurb_control_point_range(), blender::io::ply::FileBuffer::write_bytes(), blender::io::ply::FileBuffer::write_fstring(), and blender::ui::string_search::write_recent_searches_file().

◆ end() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
const T * blender::Vector< T, InlineBufferCapacity, Allocator >::end ( ) const
inline

Definition at line 971 of file BLI_vector.hh.

◆ extend() [1/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::extend ( const T * start,
int64_t amount )
inline

Definition at line 590 of file BLI_vector.hh.

◆ extend() [2/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename InputIt>
void blender::Vector< T, InlineBufferCapacity, Allocator >::extend ( InputIt first,
InputIt last )
inline

Definition at line 641 of file BLI_vector.hh.

◆ extend() [3/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::extend ( Span< T > array)
inline

Copy the elements of another array to the end of this vector.

This can be used to emulate parts of std::vector::insert.

Definition at line 586 of file BLI_vector.hh.

Referenced by blender::ed::sculpt_paint::pose::add_fake_neighbors(), appdir_app_template_directories(), blender::eevee::VolumeProbeModule::bricks_free(), blender::ed::outliner::TreeDisplayIDOrphans::build_tree(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::animrig::legacy::channel_groups_all(), blender::gpu::ShaderCompiler::compile(), blender::ed::animrig::construct_pose_rna_paths(), construct_rna_paths(), blender::geometry::convert_curves_to_bezier(), blender::bke::copy_point_selection_custom_knots(), blender::fn::multi_function::ProcedureDotExport::create_nodes(), blender::gpu::VKShader::ensure_and_get_compute_pipeline(), blender::gpu::VKShader::ensure_and_get_graphics_pipeline(), blender::draw::CurvesEvalCache::ensure_nurbs(), blender::index_mask::evaluate_short_unknown_segments_exactly(), blender::ed::sculpt_paint::DeleteOperationExecutor::execute(), blender::nodes::geo_eval_log::FieldInfoLog::FieldInfoLog(), blender::bke::find_zone_nodes(), blender::ed::spreadsheet::ClosureSignatureDataSource::foreach_default_column_ids(), blender::nodes::inverse_eval::foreach_element_on_inverse_eval_path(), blender::index_mask::IndexMask::from_initializers(), blender::bke::node_field_inferencing::gather_input_socket_dependencies(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::get_all_gizmos(), blender::workbench::get_matcap_tx(), blender::nodes::GeometryNodesLazyFunctionSideEffectProvider::get_nodes_with_side_effects(), blender::gpu::VKShaderInterface::init(), blender::eevee::ShaderModule::material_create_info_amend(), blender::nodes::node_geo_boolean_cc::node_geo_exec(), blender::ed::space_node::node_insert_on_link_flags_set(), blender::index_mask::ParallelSegmentsCollector::reduce(), blender::gpu::shader::ShaderCreateInfo::resources_get_all_(), blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_projected_with_symmetry(), blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_spherical_with_symmetry(), blender::ed::sculpt_paint::SmoothOperationExecutor::smooth(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), timeline_cache_draw_geometry_nodes(), blender::try_find_baked_data(), blender::ed::object::visual_geometry_to_objects_exec(), and blender::animrig::visualkey_get_values().

◆ extend() [4/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<int64_t OtherInlineBufferCapacity>
void blender::Vector< T, InlineBufferCapacity, Allocator >::extend ( Vector< T, OtherInlineBufferCapacity, Allocator > && other)
inline

Moves the elements of another vector to the end of this vector.

This may result in reallocation to fit other vector elements, other vector will keep it buffer allocation, but it will become empty. This can be used in vectors that manages resources, allowing acquiring resources from another vector, preventing shared ownership of managed resources.

Definition at line 605 of file BLI_vector.hh.

◆ extend_non_duplicates()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::extend_non_duplicates ( Span< T > array)
inline

Adds all elements from the array that are not already in the vector. This is an expensive operation when the vector is large, but can be very cheap when it is known that the vector is small.

Definition at line 617 of file BLI_vector.hh.

Referenced by blender::gpu::ShaderCompiler::compile(), blender::tests::TEST(), and blender::nodes::node_geo_input_mesh_face_neighbors_cc::unique_num().

◆ extend_unchecked() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::extend_unchecked ( const T * start,
int64_t amount )
inline

Definition at line 632 of file BLI_vector.hh.

◆ extend_unchecked() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::extend_unchecked ( Span< T > array)
inline

Extend the vector without bounds checking. It is assumed that enough memory has been reserved beforehand. Only use this in performance critical code.

Definition at line 628 of file BLI_vector.hh.

Referenced by blendthumb_create_png_data_from_thumb(), filtered_rows_from_thumb(), and merge_uvs_for_vertex().

◆ fill()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::fill ( const T & value) const
inline

◆ first() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
T & blender::Vector< T, InlineBufferCapacity, Allocator >::first ( )
inline

Definition at line 762 of file BLI_vector.hh.

◆ first() [2/2]

◆ first_index_of()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
int64_t blender::Vector< T, InlineBufferCapacity, Allocator >::first_index_of ( const T & value) const
inline

Do a linear search to find the value in the vector and return the found index. This invokes undefined behavior when the value is not in the vector.

Definition at line 918 of file BLI_vector.hh.

Referenced by ED_workspace_delete(), space_workspace_cycle_invoke(), blender::tests::TEST(), and blender::tests::TEST().

◆ first_index_of_try()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
int64_t blender::Vector< T, InlineBufferCapacity, Allocator >::first_index_of_try ( const T & value) const
inline

Do a linear search to find the value in the vector. When found, return the first index, otherwise return -1.

Definition at line 904 of file BLI_vector.hh.

Referenced by blender::geometry::calc_new_edges(), blender::draw::Manager::extract_object_attributes(), and blender::tests::TEST().

◆ hash()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
uint64_t blender::Vector< T, InlineBufferCapacity, Allocator >::hash ( ) const
inline

Definition at line 1022 of file BLI_vector.hh.

◆ hash_as()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
uint64_t blender::Vector< T, InlineBufferCapacity, Allocator >::hash_as ( const Span< T > values)
inlinestatic

Definition at line 1027 of file BLI_vector.hh.

◆ increase_size_by_unchecked()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::increase_size_by_unchecked ( const int64_t n)
inlinenoexcept

Enlarges the size of the internal buffer that is considered to be initialized. This invokes undefined behavior when the new size is larger than the capacity. The method can be useful when you want to call constructors in the vector yourself. This should only be done in very rare cases and has to be justified every time.

Definition at line 574 of file BLI_vector.hh.

Referenced by blender::geometry::weld_poly_loop_ctx_alloc().

◆ index_range()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
IndexRange blender::Vector< T, InlineBufferCapacity, Allocator >::index_range ( ) const
inline

Get an index range that makes looping over all indices more convenient and less error prone. Obviously, this should only be used when you actually need the index in the loop.

Example: for (int64_t i : myvector.index_range()) { do_something(i, my_vector[i]); }

Definition at line 1017 of file BLI_vector.hh.

Referenced by blender::ed::greasepencil::add_armature_automatic_weights(), blender::ed::greasepencil::add_armature_envelope_weights(), blender::string_search::StringSearchBase::add_impl(), blender::ed::space_node::add_reroute_exec(), blender::draw::overlay::append_sphere(), blender::ed::transform::bezt_to_beztmaps(), BKE_id_ordered_list(), BKE_subdiv_ccg_neighbor_coords_get(), blender::bm_face_loop_table_build(), blender::bke::build_vertex_groups_for_leaves(), buttons_main_region_property_search(), blender::AtomicDisjointSet::calc_reduced_ids(), blender::eevee::Sampling::cdf_from_curvemapping(), blender::eevee::Sampling::cdf_invert(), blender::ed::space_node::compute_context_for_tree_path(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::compute_piecewise_linear_falloff(), blender::ed::object::convert_grease_pencil_component_to_curves(), blender::ed::object::convert_grease_pencil_to_mesh(), blender::compositor::convolve(), blender::fn::multi_function::ProcedureDotExport::create_entry_node(), cube_project_exec(), blender::bke::curve_legacy_to_curves(), curve_select_random_exec(), blender::geometry::curve_simplify(), blender::ed::curves::pen_tool::CurvesPenToolOperation::curves_range(), blender::ed::greasepencil::GreasePencilPenToolOperation::curves_range(), blender::meshintersect::detect_holes(), blender::index_mask::difference_index_mask_segments(), do_lasso_select_pose(), blender::nodes::draw_named_attributes_panel(), blender::nodes::draw_warnings(), ed_curves_select_pick(), ed_grease_pencil_select_pick(), EDBM_elem_to_index_any_multi(), edbm_select_random_exec(), edbm_separate_exec(), blender::geometry::edges_to_curve_point_indices(), blender::bke::Instances::ensure_geometry_instances(), blender::fn::evaluate_fields(), blender::index_mask::evaluate_short_unknown_segments_exactly(), blender::ed::sculpt_paint::DensityAddOperationExecutor::execute(), blender::bke::pbvh::uv_islands::extend_at_vert(), blender::ed::animrig::extract_pose(), blender::draw::extract_tan_init_common(), blender::ed::space_node::find_common_parent_node(), blender::ed::greasepencil::find_lowest_common_ancestor(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing(), blender::geometry::foreach_real_geometry(), blender::ed::greasepencil::frame_clean_duplicate_exec(), blender::ed::space_node::get_compute_context_hash_for_node_editor(), blender::ed::sculpt_paint::grease_pencil_erase_box_exec(), blender::ed::sculpt_paint::grease_pencil_erase_lasso_exec(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), blender::ed::sculpt_paint::grease_pencil_fill_get_extension_data(), blender::draw::grease_pencil_geom_batch_ensure(), blender::draw::grease_pencil_wire_batch_ensure(), blender::io::fbx::import_animations(), blender::geometry::OrderedAttributes::index_range(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_auto_masking(), blender::ed::greasepencil::GreasePencilPenToolOperation::initialize(), blender::fn::multi_function::ProcedureDotExport::instruction_to_string(), blender::index_mask::intersect_index_mask_segments(), blender::geometry::join_component_type(), blender::ed::curves::join_objects_exec(), blender::ed::mesh::join_objects_exec(), blender::ed::pointcloud::join_objects_exec(), lattice_select_random_exec(), blender::nodes::LazyFunctionForGroupNode::LazyFunctionForGroupNode(), blender::io::ply::load_vertex_element(), blender::bke::mesh_apply_spatial_organization(), mesh_bisect_exec(), mesh_bisect_invoke(), blender::draw::mesh_buffer_cache_create_requested(), MOD_lineart_gpencil_generate_v3(), blender::ed::space_node::named_attribute_tooltip(), blender::ed::space_node::node_add_import_node_exec(), blender::nodes::node_geo_attribute_capture_cc::node_geo_exec(), blender::nodes::node_geo_field_to_grid_cc::node_geo_exec(), blender::ed::space_node::node_update_basis_from_declaration(), blender::ed::object::object_rand_verts_exec(), blender::ed::sculpt_paint::greasepencil::GrabOperation::on_stroke_begin(), op_generic_value_invoke(), blender::bke::GeometrySet::operator<<, blender::csv_parse::parse_csv_in_chunks(), pointcloud_select_pick(), pose_select_same_keyingset(), pose_slide_init(), blender::ed::sculpt_paint::undo::PositionUndoStorage::PositionUndoStorage(), blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components(), blender::gpu::Shader::print_log(), blender::gpu::VKTexture::read_sub(), blender::ed::transform::curves::recalcData_curves(), blender::ed::transform::greasepencil::recalcData_grease_pencil(), blender::nodes::refresh_node_panel(), blender::nodes::refresh_node_socket(), blender::geometry::remove_points_and_split(), blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_projected_with_symmetry(), blender::ed::sculpt_paint::DensityAddOperationExecutor::sample_spherical_with_symmetry(), blender::nodes::search_link_ops_for_declarations(), select_random_metaelems_exec(), blender::ed::spreadsheet::InstancesTreeViewItem::should_be_active(), smart_project_exec(), snap_curs_to_sel_ex(), snap_selected_to_location_rotation(), blender::ed::space_node::sort_multi_input_socket_links_with_drag(), space_workspace_cycle_invoke(), blender::ed::sculpt_paint::expand::spherical_falloff_create(), blender::ed::spreadsheet::ViewerDataPath::store(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::transverts_from_curves_positions_create(), blender::memory_cache::try_enforce_limit(), ui_block_align_calc(), blender::index_mask::union_index_mask_segments(), blender::update_bakes_from_node_group(), blender::ed::space_node::update_multi_input_indices_for_removed_links(), blender::update_panels_from_node_group(), blender::bke::pbvh::pixels::update_pixels(), blender::geometry::uv_parametrizer_pack(), uv_remove_doubles_to_selected(), uv_select_overlap(), uv_select_similar_face_exec(), uv_select_similar_island_exec(), uvedit_pack_islands_multi(), blender::ed::greasepencil::vertex_group_normalize_all_exec(), blender::ed::greasepencil::vertex_group_normalize_exec(), blender::ed::greasepencil::vertex_group_smooth_exec(), and blender::ed::greasepencil::weight_sample_invoke().

◆ insert() [1/5]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::insert ( const int64_t insert_index,
const T & value )
inline

◆ insert() [2/5]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename InputIt>
void blender::Vector< T, InlineBufferCapacity, Allocator >::insert ( const int64_t insert_index,
InputIt first,
InputIt last )
inline

Definition at line 669 of file BLI_vector.hh.

◆ insert() [3/5]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::insert ( const int64_t insert_index,
Span< T > array )
inline

Definition at line 660 of file BLI_vector.hh.

◆ insert() [4/5]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::insert ( const int64_t insert_index,
T && value )
inline

Definition at line 655 of file BLI_vector.hh.

◆ insert() [5/5]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename InputIt>
void blender::Vector< T, InlineBufferCapacity, Allocator >::insert ( const T * insert_position,
InputIt first,
InputIt last )
inline

Definition at line 664 of file BLI_vector.hh.

◆ is_at_capacity()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
bool blender::Vector< T, InlineBufferCapacity, Allocator >::is_at_capacity ( ) const
inline

Definition at line 1003 of file BLI_vector.hh.

◆ is_empty()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
bool blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty ( ) const
inline

Returns true when the vector contains no elements, otherwise false.

This is the same as std::vector::empty.

Definition at line 783 of file BLI_vector.hh.

Referenced by blender::compositor::Operation::add_and_evaluate_input_processor(), blender::meshintersect::add_face_ids(), blender::string_search::StringSearchBase::add_impl(), blender::bke::compositor::add_passes_used_by_cryptomatte_node(), blender::ed::space_node::add_reroute_exec(), blender::draw::command::DrawMultiBuf::append_draw(), apply_armature_pose2bones_exec(), arrayModifier_doArray(), blender::bke::attribute_legacy_convert_customdata_to_storage(), blender::ed::object::bake_simulation::bake_single_node_exec(), blender::ed::object::bake_simulation::bake_single_node_invoke(), blender::ed::object::bake_targets_output_external(), BKE_main_merge(), BKE_mesh_merge_customdata_for_apply_modifier(), BKE_path_apply_template(), bm_face_split_by_edges(), BM_face_split_edgenet(), BM_faces_join(), bm_mesh_loops_calc_normals_for_loop(), bmo_edgenet_prepare_exec(), blender::ed::greasepencil::boundary_to_curves(), button_section_bounds_calc(), blender::geometry::calc_corner_groups_for_vertex(), calc_duplicates_cb(), blender::geometry::calc_position_with_interpolation(), blender::geometry::calc_radius_with_interpolation(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_bmesh(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_faces(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids(), clear_anim_vse_exec(), blender::fn::combine_field_inputs(), blender::nodes::compute_context_for_closure_evaluation(), blender::ed::space_node::compute_context_for_tree_path(), blender::compositor::compute_marker_points(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_matte_cpu(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_matte_gpu(), blender::compositor::compute_schedule(), blender::bke::compare_geometry::construct_vert_mapping(), copy_driver_to_selected_button(), blender::ed::animrig::create_pose_asset_local(), blender::ed::animrig::create_pose_asset_user_library(), ctx_data_base_collection_get(), blender::nodes::node_geo_curve_fill_cc::curve_fill_calculate(), blender::bke::curve_legacy_to_curves(), CustomData_blend_write_prepare(), blender::ed::space_node::cut_links_exec(), blender::deg::deg_debug_graphviz_node(), blender::ed::object::bake_simulation::delete_baked_simulation_exec(), delete_key_vse_without_keying_set(), blender::animrig::delete_keyframe(), blender::meshintersect::detect_holes(), do_makepicstring(), blender::io::usd::USDPointInstancerWriter::do_write(), do_write_image_or_movie(), blender::ed::vse::draw_seq_strips(), blender::ed::vse::draw_strip_thumbnails(), ED_buttons_tabs_list(), ED_operator_get_ids_from_context_as_vec(), edbm_select_linked_flat_faces_exec(), blender::nodes::node_geo_edge_paths_to_curves_cc::edge_paths_to_curves_convert(), blender::draw::CurvesEvalCache::ensure_nurbs(), eval_template(), blender::fn::evaluate_fields(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::execute(), blender::nodes::LazyFunctionForJoinReferenceSets::execute_impl(), blender::nodes::LazyFunctionForLogicalOr::execute_impl(), blender::nodes::node_composite_file_output_cc::FileOutputOperation::execute_multi_layer(), blender::nodes::node_composite_file_output_cc::FileOutputOperation::execute_single_layer(), blender::nodes::node_composite_file_output_cc::FileOutputOperation::execute_single_layer_multi_view_exr(), blender::io::usd::export_deform_verts(), blender::io::grease_pencil::extend_curves_geometry(), blender::draw::extract_tan_init_common(), blender::bke::greasepencil::convert::AnimDataConvertor::fcurves_convert_finalize(), file_browse_invoke(), blender::ed::space_node::find_common_parent_node(), blender::ed::sculpt_paint::greasepencil::find_curve_pair_offsets(), blender::ed::greasepencil::find_lowest_common_ancestor(), blender::bke::node_tree_reference_lifetimes::find_reference_sets(), blender::geometry::fit_poly_to_bezier_curves(), blender::ed::transform::flushTransNodes(), blender::animrig::CombinedKeyingResult::generate_reports(), blender::nodes::get_bundle_sync_tooltip(), blender::nodes::get_closure_sync_tooltip(), blender::ed::space_node::get_compute_context_hash_for_node_editor(), blender::nodes::node_composite_file_output_cc::FileOutputOperation::get_image_path(), blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation::get_layers_from_image(), blender::gpu::VKDescriptorSetLayouts::get_or_create(), GPU_debug_get_groups_names(), blender::ed::greasepencil::grease_pencil_copy_keyframes(), blender::ed::greasepencil::grease_pencil_delete_breakdown_frames_exec(), blender::ed::sculpt_paint::grease_pencil_weight_brush_stroke_invoke(), blender::ed::outliner::OutlinerLibOverrideData::id_root_set(), blender::imbuf::imb_create_write_spec(), IMB_exr_begin_write(), imb_savewebp(), blender::io::fbx::import_animations(), blender::io::usd::import_mesh_skel_bindings(), blender::io::usd::USDMeshWriter::init_skinned_mesh(), initialize_posetree(), insert_key(), blender::fn::lazy_function::ScheduledNodes::is_empty(), blender::gpu::VKBackend::is_supported(), blender::deg::is_unused_noop(), isect_bvhtree_point_v3(), blender::geometry::join_component_type(), blender::compositor::KeyingScreen::KeyingScreen(), blender::ed::object::lattice_add_to_selected_exec(), lib_id_batch_editing_preview_poll(), lightprobe_cache_bake_invoke(), blender::ed::space_node::link_drag_search_exec_fn(), blender::io::ply::load_plydata(), blender::io::usd::USDMaterialReader::load_tex_image(), loop_find_region(), main_merge_add_id_to_move(), blender::ed::greasepencil::trim::Segments::merge_adjacent_segments(), merge_uvs_for_vertex(), blender::draw::mesh_buffer_cache_create_requested(), blender::bke::pbvh::uv_islands::mesh_data_init_primitive_uv_island_ids(), blender::bke::mesh_remesh_reproject_attributes(), blender::ed::object::modifier_add_asset_exec(), blender::ed::space_node::mute_links_exec(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), blender::ed::space_node::node_add_image_exec(), blender::ed::space_node::node_add_import_node_exec(), blender::nodes::node_geo_attribute_capture_cc::node_geo_exec(), blender::ed::space_node::node_group_ungroup_exec(), blender::ed::space_node::node_insert_on_link_flags_set(), blender::ed::space_node::node_update_basis_from_declaration(), blender::ed::object::object_clear_transform_generic_exec(), blender::ed::object::object_convert_exec(), op_generic_value_invoke(), blender::nodes::node_composite_file_output_cc::output_path_layout(), blender::bke::bake::pack_bake_from_disk(), blender::nodes::node_geo_distribute_points_on_faces_cc::point_distribution_calculate(), blender::fn::lazy_function::ScheduledNodes::pop_next_node(), pose_clear_transform_generic_exec(), poselib_blend_init_data(), blender::gpu::Shader::print_log(), blender::io::usd::process_scene_graph_instances(), uiLayout::prop(), blender::seq::query_strip_connected_and_effect_chain(), RE_RenderAnim(), RE_RenderFrame(), blender::draw::select::SelectMap::read_result(), blender::ed::transform::recalcData_graphedit(), blender::bke::MutableAttributeAccessor::remove_anonymous(), blender::nodes::node_geo_remove_attribute_cc::remove_attributes_recursive(), blender::meshintersect::remove_outer_edges_until_constraints(), blender::geometry::remove_points_and_split(), blender::seq::render_give_ibuf(), blender::string_search::score_query_against_words(), screen_opengl_render_anim_step(), screen_opengl_render_write(), blender::nodes::node_geo_material_selection_cc::select_by_material(), blender::seq::seq_render_strip_stack(), blender::ed::vse::sequencer_write_copy_paste_file(), blender::ed::object::shade_smooth_exec(), smart_project_exec(), blender::ed::space_node::sockets_sync_exec(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::soft_eraser(), standard_defines(), stitch_init_all(), blender::gpu::VKDevice::submission_runner(), 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::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::try_find_baked_data(), UI_context_copy_to_selected_list(), ui_context_fcurve_modifiers_via_fcurve(), ui_selectcontext_begin(), ui_tooltip_data_from_button_or_extra_icon(), uv_from_view_exec(), uvedit_pack_islands_multi(), version_bone_hide_property_driver(), version_geometry_nodes_primitive_uv_maps(), view_curve_in_graph_editor_exec(), blender::ed::object::visual_geometry_to_objects_exec(), blender::gpu::VKFrameBuffer::vk_render_areas_append(), blender::gpu::VKFrameBuffer::vk_viewports_append(), WM_event_drag_path_override_poin_data_with_space_file_paths(), wm_gizmomap_highlight_find(), WM_keymap_item_raw_to_string(), write_jpeg(), write_libraries(), blender::io::obj::write_mesh_objects(), and write_result().

◆ is_inline()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
bool blender::Vector< T, InlineBufferCapacity, Allocator >::is_inline ( ) const
inline

◆ last() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
T & blender::Vector< T, InlineBufferCapacity, Allocator >::last ( const int64_t n = 0)
inline

Definition at line 746 of file BLI_vector.hh.

◆ last() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
const T & blender::Vector< T, InlineBufferCapacity, Allocator >::last ( const int64_t n = 0) const
inline

Return a reference to the nth last element. This invokes undefined behavior when the vector is too short.

Definition at line 740 of file BLI_vector.hh.

Referenced by blender::compositor::Operation::add_and_evaluate_input_processor(), blender::ed::space_node::add_flat_items_for_socket(), blender::string_search::StringSearchBase::add_impl(), blender::dot_export::NodeWithSockets::add_input(), blender::dot_export::NodeWithSockets::add_output(), blender::ed::space_node::add_reroute_exec(), blender::draw::command::DrawMultiBuf::append_draw(), blender::ed::transform::curves::append_positions_to_custom_data(), BKE_library_main_rebuild_hierarchy(), BKE_volume_save(), bmo_edgenet_prepare_exec(), button_section_bounds_calc(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_bmesh(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior_impl(), blender::eevee::Sampling::cdf_from_curvemapping(), blender::eevee::Sampling::cdf_invert(), blender::bke::copy_point_selection_custom_knots(), blender::fn::multi_function::ProcedureDotExport::create_nodes(), blender::ed::greasepencil::trim::Segments::create_segment(), blender::ed::curves::curve_offsets_from_selection(), blender::gpu::GLContext::debug_group_end(), blender::io::usd::determine_knots_mode(), ED_buttons_tabs_list(), blender::nodes::node_geo_edge_paths_to_curves_cc::edge_paths_to_curves_convert(), blender::ed::space_node::find_common_parent_node(), blender::geometry::find_connected_ranges(), blender::ed::greasepencil::find_lowest_common_ancestor(), blender::io::ply::find_or_add_attribute(), blender::bke::node_tree_reference_lifetimes::find_reference_sets(), IMB_exr_begin_write(), blender::io::csv::import_csv_as_pointcloud(), blender::csv_parse::parse_records(), blender::gpu::Shader::print_log(), blender::io::usd::remap_blend_shape_anim(), blender::geometry::remove_points_and_split(), blender::bke::bake::serialize_geometry_set(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::soft_eraser(), space_workspace_cycle_invoke(), blender::gpu::VKDevice::submission_runner(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::io::obj::TEST_F(), blender::geometry::weld_poly_loop_ctx_alloc(), and WM_keymap_item_raw_to_string().

◆ operator MutableSpan< T >()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::operator MutableSpan< T > ( )
inline

Definition at line 364 of file BLI_vector.hh.

◆ operator MutableSpan< U >()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename U, BLI_ENABLE_IF((is_span_convertible_pointer_v< T, U >))>
blender::Vector< T, InlineBufferCapacity, Allocator >::operator MutableSpan< U > ( )
inline

Definition at line 376 of file BLI_vector.hh.

◆ operator Span< T >()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
blender::Vector< T, InlineBufferCapacity, Allocator >::operator Span< T > ( ) const
inline

Definition at line 359 of file BLI_vector.hh.

◆ operator Span< U >()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename U, BLI_ENABLE_IF((is_span_convertible_pointer_v< T, U >))>
blender::Vector< T, InlineBufferCapacity, Allocator >::operator Span< U > ( ) const
inline

Definition at line 370 of file BLI_vector.hh.

◆ operator=() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
Vector & blender::Vector< T, InlineBufferCapacity, Allocator >::operator= ( const Vector< T, InlineBufferCapacity, Allocator > & other)
inline

Definition at line 331 of file BLI_vector.hh.

◆ operator=() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
Vector & blender::Vector< T, InlineBufferCapacity, Allocator >::operator= ( Vector< T, InlineBufferCapacity, Allocator > && other)
inline

Definition at line 336 of file BLI_vector.hh.

◆ operator[]() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
T & blender::Vector< T, InlineBufferCapacity, Allocator >::operator[] ( int64_t index)
inline

Definition at line 352 of file BLI_vector.hh.

◆ operator[]() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
const T & blender::Vector< T, InlineBufferCapacity, Allocator >::operator[] ( int64_t index) const
inline

Get the value at the given index. This invokes undefined behavior when the index is out of bounds.

Definition at line 345 of file BLI_vector.hh.

◆ pop_last()

◆ prepend() [1/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::prepend ( const T & value)
inline

Insert values at the beginning of the vector. This has to move all the other elements, so it has a linear running time.

Definition at line 719 of file BLI_vector.hh.

Referenced by IMB_colormanagement_working_space_items_add(), blender::ed::mesh::join_objects_exec(), blender::tests::TEST(), blender::tests::TEST(), and write_jpeg().

◆ prepend() [2/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename InputIt>
void blender::Vector< T, InlineBufferCapacity, Allocator >::prepend ( InputIt first,
InputIt last )
inline

Definition at line 731 of file BLI_vector.hh.

◆ prepend() [3/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::prepend ( Span< T > values)
inline

Definition at line 727 of file BLI_vector.hh.

◆ prepend() [4/4]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::prepend ( T && value)
inline

Definition at line 723 of file BLI_vector.hh.

◆ print_stats()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::print_stats ( const char * name) const
inline

Print some debug information about the vector.

Definition at line 1093 of file BLI_vector.hh.

◆ rbegin() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
std::reverse_iterator< T * > blender::Vector< T, InlineBufferCapacity, Allocator >::rbegin ( )
inline

Definition at line 976 of file BLI_vector.hh.

Referenced by blender::tests::TEST().

◆ rbegin() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
std::reverse_iterator< const T * > blender::Vector< T, InlineBufferCapacity, Allocator >::rbegin ( ) const
inline

Definition at line 985 of file BLI_vector.hh.

◆ reinitialize()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::reinitialize ( const int64_t new_size)
inline

◆ release()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
VectorData< T, Allocator > blender::Vector< T, InlineBufferCapacity, Allocator >::release ( )
inline

Release the underlying memory buffer from the Vector. The caller is responsible for freeing the pointer if it is non-null.

If the values were stored in the inline-buffer, the values are copied to a newly allocated array first. The caller does not have to any special handling in this case.

The Vector will be empty afterwards.

Definition at line 1051 of file BLI_vector.hh.

Referenced by blender::bke::attribute_legacy_convert_customdata_to_storage(), blender::ed::mesh::join_objects_exec(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), and blender::tests::TEST().

◆ remove() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::remove ( const int64_t index)
inline

Remove the element at the given index and move all values coming after it one towards the front. This takes O(n) time. If the order is not important, remove_and_reorder should be used instead.

This is similar to std::vector::erase.

Definition at line 851 of file BLI_vector.hh.

Referenced by blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::compute_piecewise_linear_falloff(), blender::ed::mesh::join_objects_exec(), blender::geometry::OverlapMerger::pack_islands_overlap(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::ed::asset::shelf::type_unregister(), and blender::geometry::uv_parametrizer_face_add().

◆ remove() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::remove ( const int64_t start_index,
const int64_t amount )
inline

Remove a contiguous chunk of elements and move all values coming after it towards the front. This takes O(n) time.

This is similar to std::vector::erase.

Definition at line 870 of file BLI_vector.hh.

◆ remove_and_reorder()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::remove_and_reorder ( const int64_t index)
inline

◆ remove_first_occurrence_and_reorder()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::remove_first_occurrence_and_reorder ( const T & value)
inline

Finds the first occurrence of the value, removes it and copies the last element to the hole in the vector. This takes O(n) time.

Definition at line 838 of file BLI_vector.hh.

Referenced by blender::index_mask::evaluate_coarse_difference(), blender::index_mask::evaluate_coarse_intersection(), blender::index_mask::evaluate_coarse_union(), and blender::tests::TEST().

◆ remove_if()

◆ remove_last()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::remove_last ( )
inline

Destructs the last element and decreases the size by one. This invokes undefined behavior when the vector is empty.

Definition at line 792 of file BLI_vector.hh.

Referenced by blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::soft_eraser(), blender::tests::TEST(), blender::tests::TEST(), and WM_keymap_item_raw_to_string().

◆ rend() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
std::reverse_iterator< T * > blender::Vector< T, InlineBufferCapacity, Allocator >::rend ( )
inline

Definition at line 980 of file BLI_vector.hh.

Referenced by blender::tests::TEST().

◆ rend() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
std::reverse_iterator< const T * > blender::Vector< T, InlineBufferCapacity, Allocator >::rend ( ) const
inline

Definition at line 989 of file BLI_vector.hh.

◆ reserve()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::reserve ( const int64_t min_capacity)
inline

Make sure that enough memory is allocated to hold min_capacity elements. This won't necessarily make an allocation when min_capacity is small. The actual size of the vector does not change.

Definition at line 396 of file BLI_vector.hh.

Referenced by blender::ed::object::bake_object_image_get_array(), blendthumb_create_png_data_from_thumb(), blender::AtomicDisjointSet::calc_reduced_ids(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), compute_interpolated_faces(), computed_masked_faces(), blender::bke::bake::copy_bake_items_to_socket_values(), blender::bke::copy_point_selection_custom_knots(), blender::ed::vse::draw_strip_thumbnails(), blender::ed::curves::duplicate_points(), EDBM_select_mirrored_extend_all(), blender::geometry::edges_to_curve_point_indices(), blender::bke::Instances::ensure_geometry_instances(), blender::ed::curves::extrude_knots(), blender::bke::pbvh::pixels::Rows::filter_pixels_for_closer_examination(), filtered_rows_from_thumb(), blender::geometry::find_connected_ranges(), blender::bke::pbvh::pixels::find_nodes_to_update(), blender::io::obj::fixup_invalid_face(), blender::io::ply::generate_vertex_map(), blender::io::obj::geometry_to_blender_objects(), blender::ed::sculpt_paint::grease_pencil_fill_extension_lines_from_circles(), blender::bke::mesh::handle_fan_result_and_custom_normals(), blender::io::usd::import_blendshapes(), blender::draw::interpolate_face_corner_attribute_to_curve(), merge_uvs_for_vertex(), blender::bke::mesh_apply_spatial_organization(), MOD_lineart_gpencil_generate_v3(), blender::bke::bake::move_bake_items_to_socket_values(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), blender::geometry::p_chart_simplify_compute(), blender::csv_parse::parse_csv_in_chunks(), blender::geometry::poly_find_doubles(), uiLayout::prop(), blender::meshintersect::remove_non_constraint_edges_leave_valid_bmesh(), blender::geometry::reverse_samples(), blender::gpu::VKDevice::submission_runner(), blender::tests::TEST(), blender::tests::TEST(), test_sin_cos_from_fraction_symmetry(), blender::geometry::toposort_connected_curves(), blender::ed::transform::transform_mesh_uv_vert_slide_data_create(), blender::ed::transform::transform_mesh_vert_slide_data_create(), blender::bke::node_tree_runtime::update_toposort(), blender::geometry::uv_parametrizer_face_add(), uv_remove_doubles_to_selected_shared_vertex(), blender::ed::vse::visible_strips_ordered_get(), blender::geometry::weld_edge_ctx_alloc_and_find_collapsed(), blender::geometry::weld_mesh_context_create(), blender::geometry::weld_poly_find_doubles(), blender::geometry::weld_poly_loop_ctx_alloc(), blender::geometry::weld_vert_ctx_alloc_and_setup(), and blender::io::obj::write_mesh_objects().

◆ resize() [1/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::resize ( const int64_t new_size)
inline

Change the size of the vector so that it contains new_size elements. If new_size is smaller than the old size, the elements at the end of the vector are destructed. If new_size is larger than the old size, the new elements at the end are default constructed. If T is trivially constructible, the memory is not touched by this function.

Definition at line 409 of file BLI_vector.hh.

Referenced by blender::io::obj::MTLWriter::add_materials(), blender::ed::sculpt_paint::greasepencil::brush_point_influence_mask(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_bmesh(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior_impl(), blender::bke::curves::nurbs::calculate_basis_cache(), blender::bke::compute_local_mesh_groups(), blender::ed::sculpt_paint::paint::image::do_paint_pixels(), blender::bke::CurvesGeometry::ensure_evaluated_lengths(), blender::draw::pbvh::DrawCacheImpl::ensure_lines_batches(), blender::draw::pbvh::DrawCacheImpl::ensure_tris_batches(), blender::bke::CurvesGeometry::evaluated_normals(), blender::bke::CurvesGeometry::evaluated_points_by_curve(), blender::bke::CurvesGeometry::evaluated_positions(), blender::bke::CurvesGeometry::evaluated_tangents(), blender::fn::multi_function::execute_call_instruction(), blender::animrig::Channelbag::fcurve_create_many(), blender::ed::sculpt_paint::undo::compression::filter_compress(), blender::ed::sculpt_paint::undo::compression::filter_decompress(), blender::ed::space_node::find_bounds_by_zone_recursive(), blender::ed::space_node::find_common_parent_node(), blender::ed::sculpt_paint::greasepencil::find_curve_mapping_from_index(), find_isomorphism(), blender::ed::greasepencil::find_lowest_common_ancestor(), blender::index_mask::IndexMask::from_group_ids(), blender::index_mask::IndexMask::from_indices(), blender::index_mask::detail::from_predicate_impl(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_bmesh(), blender::ed::sculpt_paint::gather_data_grids(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::io::ply::generate_vertex_map(), blender::io::obj::OBJCurves::get_knots_u(), blender::io::obj::OBJLegacyCurve::get_knots_u(), blender::interface::internal::get_property_drivers(), IMB_colormanagement_space_to_icc_profile(), IMB_exr_write_channels(), blender::io::obj::linked_sockets_to_dest_id(), blender::io::ply::load_edge_element(), blender::io::ply::load_face_element(), blender::io::ply::load_tristrips_element(), blender::io::ply::load_vertex_element(), blender::nodes::node_geo_bake_cc::make_bake_socket_config(), blender::nodes::node_geo_simulation_cc::make_bake_socket_config(), blender::bke::mesh_init_origspace(), mouse_select_eval_buffer(), blender::ed::sculpt_paint::move_last_point_and_resample(), blender::nodes::node_geo_boolean_cc::node_geo_exec(), blender::bke::CurvesGeometry::nurbs_custom_knots_by_curve(), blender::bke::partition_faces_recursively(), blender::bke::pbvh::pbvh_bmesh_node_split(), blender::ed::sculpt_paint::PuffOperationExecutor::puff(), blender::io::ply::read_list_count(), blender::geometry::EvalDataBuffer::resize(), blender::geometry::rotate_inside_square(), blender::io::ply::skip_property(), blender::geometry::smooth_curve_positions(), solidify_add_thickness(), blender::gpu::VKDevice::submission_runner(), blender::tests::TEST(), blender::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), blender::gpu::tests::test_storage_buffer_clear(), blender::gpu::tests::test_storage_buffer_clear_byte_pattern(), blender::gpu::tests::test_storage_buffer_clear_zero(), blender::gpu::tests::test_storage_buffer_copy_from_vertex_buffer(), blender::gpu::tests::test_storage_buffer_create_update_read(), blender::bke::greasepencil::Drawing::triangles(), ui_block_align_calc(), blender::bke::pbvh::update_normals_mesh(), blender::ed::sculpt_paint::hide::vert_hide_update(), blender::io::obj::OBJLegacyCurve::vertex_coordinates(), view3d_gpu_select_with_id_filter(), blender::animrig::visualkey_get_values(), blender::io::obj::OBJWriter::write_face_elements(), and zlib_compress().

◆ resize() [2/2]

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
void blender::Vector< T, InlineBufferCapacity, Allocator >::resize ( const int64_t new_size,
const T & value )
inline

Change the size of the vector so that it contains new_size elements. If new_size is smaller than the old size, the elements at the end of the vector are destructed. If new_size is larger than the old size, the new elements will be copy constructed from the given value.

Definition at line 430 of file BLI_vector.hh.

◆ size()

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
int64_t blender::Vector< T, InlineBufferCapacity, Allocator >::size ( ) const
inline

Return how many values are currently stored in the vector.

Definition at line 771 of file BLI_vector.hh.

Referenced by blender::ed::greasepencil::add_armature_automatic_weights(), blender::ed::greasepencil::add_armature_envelope_weights(), blender::fn::multi_function::ProcedureBuilder::add_call(), blender::geometry::add_curves_on_mesh(), blender::nodes::node_geo_dual_mesh_cc::add_edge(), blender::meshintersect::add_edge_constraint(), blender::ed::sculpt_paint::pose::add_fake_neighbors(), blender::io::obj::MTLWriter::add_materials(), blender::ed::space_node::add_reroute_exec(), animsys_blend_in_fcurves(), blender::ed::sculpt_paint::append_neighbors_to_vector(), blender::draw::overlay::append_sphere(), armature_undosys_step_encode(), blender::ed::sculpt_paint::smooth::average_data_grids(), bev_rebuild_polygon(), bevel_edge_order_extend(), BKE_library_main_rebuild_hierarchy(), BKE_main_merge(), BKE_path_apply_template(), BKE_view_layer_array_from_objects_in_mode_params(), BKE_volume_grid_selection_surface(), BKE_volume_grid_wireframe(), blendthumb_create_png_data_from_thumb(), BM_edge_split(), blender::bm_face_loop_table_build(), bm_face_split_by_edges(), BM_faces_join(), BM_mesh_separate_faces(), bmo_edgenet_prepare_exec(), bmo_subdivide_edges_exec(), blender::ed::greasepencil::boundary_to_curves(), bpy_bm_utils_face_split_edgenet(), build_center_ngon(), blender::ed::greasepencil::build_fill_boundary(), blender::ed::outliner::TreeDisplayIDOrphans::build_tree(), blender::bke::build_vertex_groups_for_leaves(), calc_duplicates_cb(), blender::geometry::calc_new_edges(), blender::AtomicDisjointSet::calc_reduced_ids(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_bmesh(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_faces(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_bmesh(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior(), blender::ed::sculpt_paint::calc_vert_neighbors_interior_impl(), blender::nodes::node_fn_separate_color_cc::SeparateRGBAFunction::call(), blender::nodes::node_shader_sepcomb_xyz_cc::sep::MF_SeparateXYZ::call(), blender::io::usd::call_import_hooks(), blender::eevee::Sampling::cdf_from_curvemapping(), blender::eevee::Sampling::cdf_invert(), blender::ed::object::collection_drop_exec(), compute_interpolated_faces(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_matte_gpu(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::compute_piecewise_linear_falloff(), blender::compositor::compute_schedule(), compute_vertex_mask__armature_mode(), computed_masked_faces(), blender::ed::object::convert_grease_pencil_component_to_curves(), blender::ed::object::convert_grease_pencil_to_mesh(), blender::ed::curves::tests::create_curves(), blender::fn::multi_function::ProcedureDotExport::create_entry_node(), blender::io::fbx::create_transform_curve_data(), ctx_data_list_count(), blender::nodes::node_geo_curves_to_grease_pencil_cc::curve_instances_to_grease_pencil_layers(), blender::bke::curve_legacy_to_curves(), curve_undosys_step_encode(), CustomData_blend_write_prepare(), CustomData_shallow_copy_remove_non_bmesh_attributes(), blender::ed::space_node::cut_links_exec(), blender::gpu::GLContext::debug_group_end(), DEG_debug_compare(), DEG_debug_consistency_check(), blender::deg::deg_graph_remove_unused_noops(), DEG_iterator_ids_begin(), DEG_iterator_objects_begin(), DEG_stats_simple(), blender::animrig::delete_keyframe(), blender::io::usd::determine_knots_mode(), blender::index_mask::difference_index_mask_segments(), blender::nodes::node_geo_dual_mesh_cc::dissolve_redundant_verts(), blender::nodes::node_geo_distribute_points_on_faces_cc::distribute_points_poisson_disk(), blender::nodes::node_geo_curve_fill_cc::do_group_aware_cdt(), blender::ed::sculpt_paint::paint::image::do_paint_pixels(), blender::ed::vse::draw_strip_thumbnails(), blender::draw::drw_debug_point(), blender::draw::drw_debug_sphere(), blender::ed::curves::duplicate_points(), blender::ed::sculpt_paint::dyntopo::dyntopo_detail_size_sample_from_surface(), ed_curves_select_pick(), ED_view3d_gizmo_mesh_preselect_get_active(), edbm_average_normals_exec(), EDBM_elem_from_index_any_multi(), edbm_fill_grid_exec(), edbm_inset_init(), edbm_intersect_boolean_exec(), edbm_intersect_exec(), edbm_rotate_colors_exec(), edbm_screw_exec(), edbm_separate_exec(), edbm_sort_elements_exec(), edbm_vert_connect_exec(), edbm_vert_connect_path_exec(), blender::nodes::node_geo_edge_paths_to_curves_cc::edge_paths_to_curves_convert(), blender::geometry::edges_to_curve_point_indices(), blender::nodes::node_geo_distribute_points_on_faces_cc::eliminate_points_based_on_mask(), blender::bke::Instances::ensure_geometry_instances(), blender::draw::CurvesEvalCache::ensure_nurbs(), blender::index_mask::evaluate_coarse_difference(), blender::index_mask::evaluate_coarse_intersection(), blender::ed::sculpt_paint::DensityAddOperationExecutor::execute(), blender::ed::sculpt_paint::flood_fill::FillDataGrids::execute(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::LazyFunctionForJoinReferenceSets::execute_impl(), blender::io::usd::export_deform_verts(), blender::bke::pbvh::uv_islands::extend_at_vert(), blender::io::grease_pencil::extend_curves_geometry(), extract_png_from_blend_file(), blender::draw::extract_skin_roots(), blender::draw::extract_tan_init_common(), blender::ed::greasepencil::extrude_grease_pencil_curves(), fcurve_is_changed(), blender::ed::sculpt_paint::undo::fill_node_data_grids(), blender::ed::sculpt_paint::undo::fill_node_data_mesh(), blender::ed::sculpt_paint::undo::compression::filter_compress(), blender::ed::sculpt_paint::undo::compression::filter_decompress(), filtered_rows_from_thumb(), blender::ed::space_node::find_bounds_by_zone_recursive(), blender::ed::space_node::find_common_parent_node(), blender::ed::sculpt_paint::greasepencil::find_curve_mapping_from_index(), UV_ClipboardBuffer::find_isomorphism(), blender::ed::greasepencil::find_lowest_common_ancestor(), blender::bke::node_tree_reference_lifetimes::find_reference_sets(), blender::bke::find_zone_nodes(), blender::geometry::fit_poly_to_bezier_curves(), generate(), blender::animrig::CombinedKeyingResult::generate_reports(), blender::ed::greasepencil::generate_stroke_perimeter(), blender::io::ply::generate_vertex_map(), blender::ed::space_node::get_compute_context_hash_for_node_editor(), blender::interface::internal::get_property_drivers(), GPU_debug_group_begin(), blender::ed::sculpt_paint::grease_pencil_erase_box_exec(), blender::ed::sculpt_paint::grease_pencil_erase_lasso_exec(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), blender::ed::sculpt_paint::grease_pencil_fill_extension_lines_from_circles(), blender::render::texturemargin::TextureMarginMap::grow_dijkstra(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::hard_eraser(), IMB_colormanagement_space_to_icc_profile(), blender::imbuf::imb_create_write_spec(), IMB_exr_begin_write(), imb_savewebp(), blender::io::fbx::import_animations(), blender::io::usd::import_blendshapes(), blender::io::usd::import_skeleton(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_auto_masking(), blender::nodes::node_geo_proximity_cc::ProximityFunction::init_for_mesh(), blender::nodes::node_geo_proximity_cc::ProximityFunction::init_for_pointcloud(), blender::ed::curves::pen_tool::CurvesPenToolOperation::initialize(), blender::animrig::insert_keyframe_direct(), blender::animrig::insert_keyframes(), blender::ed::curves::pen_tool::insert_point_to_curve(), blender::fn::multi_function::ProcedureDotExport::instruction_to_string(), blender::ed::sculpt_paint::greasepencil::interpolate_between_curves(), blender::bke::curves::nurbs::interpolate_to_evaluated(), blender::index_mask::intersect_index_mask_segments(), isect_bvhtree_point_v3(), blender::geometry::join_component_type(), blender::ed::curves::join_objects_exec(), blender::ed::mesh::join_objects_exec(), blender::ed::pointcloud::join_objects_exec(), lattice_undosys_step_encode(), blender::io::ply::load_face_element(), blender::io::ply::load_plydata(), blender::io::ply::load_tristrips_element(), loop_find_region(), loopcut_init(), make_segment_exec(), mball_undosys_step_encode(), blender::ed::greasepencil::merge_layers(), blender::nodes::node_geo_merge_layers_cc::merge_layers(), merge_uvs_for_vertex(), blender::bke::mesh_apply_spatial_organization(), mesh_bisect_invoke(), blender::draw::mesh_buffer_cache_create_requested(), blender::bke::mesh_freestyle_marks_to_legacy(), mesh_undosys_step_encode(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), blender::locale::MOMessages::MOMessages(), blender::ed::space_node::mute_links_exec(), blender::ed::space_node::named_attribute_tooltip(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), blender::nodes::node_geo_attribute_capture_cc::node_geo_exec(), blender::nodes::node_geo_collection_info_cc::node_geo_exec(), blender::nodes::node_geo_distribute_points_in_grid_cc::node_geo_exec(), blender::nodes::node_geo_distribute_points_in_volume_cc::node_geo_exec(), blender::nodes::node_geo_field_to_grid_cc::node_geo_exec(), blender::ed::space_node::node_group_make_wrapper(), blender::bke::node_ids_to_vector(), blender::ed::space_node::node_swap_group_poll(), blender::ed::object::object_clear_transform_generic_exec(), blender::ed::object::object_convert_exec(), object_duplilist_legacy_instances(), blender::ed::object::object_select_random_exec(), blender::ed::object::object_transform_to_mouse_exec(), blender::ed::spreadsheet::InstancesTreeViewItem::on_activate(), blender::ed::sculpt_paint::greasepencil::GrabOperation::on_stroke_begin(), op_generic_value_invoke(), blender::nodes::partial_eval::NodeInContextDownstreamComparator::operator()(), blender::nodes::partial_eval::NodeInContextUpstreamComparator::operator()(), blender::nodes::anonymous_attribute_lifetime::operator<<(), blender::bke::bake::pack_bake_from_disk(), blender::geometry::OverlapMerger::pack_islands_overlap(), blender::csv_parse::parse_csv_in_chunks(), blender::ed::viewer_path::parse_geometry_nodes_viewer(), blender::io::ply::parse_row_ascii(), blender::io::ply::parse_row_binary(), blender::ed::curves::convert_from_particle_system::particles_to_curves(), blender::bke::partition_faces_recursively(), blender::bke::pbvh::pbvh_bmesh_node_split(), blender::ed::vse::pick_strip_and_handle(), blender::nodes::node_geo_distribute_points_on_faces_cc::point_distribution_calculate(), pointcloud_select_pick(), blender::geometry::poly_find_doubles(), blender::animrig::pose_bone_descendent_iterator(), pose_slide_init(), blender::ed::sculpt_paint::undo::PositionUndoStorage::PositionUndoStorage(), blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components(), blender::bke::node_structure_type_inferencing::propagate_right_to_left(), blender::draw::select::SelectMap::read_result(), blender::gpu::VKTexture::read_sub(), blender::ed::transform::curves::recent_position_offsets(), blender::bke::Instances::references_num(), remove_least_recently_used_panel_states(), blender::geometry::remove_points_and_split(), blender::bke::AttributeStorage::rename(), blender::seq::retiming_remove_multiple_keys(), blender::ed::sculpt_paint::dyntopo::sample_detail_voxel(), blender::ed::sculpt_paint::AddOperationExecutor::sample_projected(), blender::bke::mesh_surface_sample::sample_surface_points_spherical(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::SampleNearestSurfaceFunction(), blender::string_search::score_query_against_words(), separate_exec(), blender::seq::seq_render_strip_stack(), blender::io::alembic::set_knots(), blender::gpu::render_graph::CommandBufferLog::set_scissor(), blender::gpu::render_graph::VKCommandBufferWrapper::set_scissor(), blender::eevee::VolumeProbeModule::set_view(), blender::gpu::render_graph::CommandBufferLog::set_viewport(), blender::gpu::render_graph::VKCommandBufferWrapper::set_viewport(), blender::draw::overlay::ShapeCache::ShapeCache(), blender::ed::spreadsheet::InstancesTreeViewItem::should_be_active(), blender::geometry::OrderedAttributes::size(), blender::io::ply::skip_property(), slot_channels_move_to_new_action_exec(), smart_project_exec(), smart_uv_project_calculate_project_normals(), snap_sel_to_grid_exec(), snap_selected_to_location_rotation(), blender::ed::space_node::sockets_sync_get_description(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::soft_eraser(), space_workspace_cycle_invoke(), blender::ed::sculpt_paint::expand::spherical_falloff_create(), split_libdata(), blender::ed::curves::split_points(), blender::ed::curves::undo::step_encode(), blender::ed::greasepencil::undo::step_encode(), blender::ed::pointcloud::undo::step_encode(), stitch_init_all(), blender::ed::spreadsheet::ViewerDataPath::store(), blender::gpu::VKDevice::submission_runner(), blender::asset_system::tests::TEST(), blender::bits::tests::TEST(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::ed::curves::tests::TEST(), blender::index_mask::tests::TEST(), blender::io::obj::TEST(), blender::iterator::tests::TEST(), blender::string_search::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(), 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(), 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(), 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(), 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(), blender::unique_sorted_indices::tests::TEST(), blender::bke::idprop::tests::test_array_to_value(), blender::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::ed::sculpt_paint::undo::tests::TEST_F(), blender::interface::tests::TEST_F(), blender::geometry::toposort_connected_curves(), blender::bke::node_tree_runtime::toposort_from_start_node(), blender::ed::transform::transform_mesh_uv_vert_slide_data_create(), blender::ed::transform::transform_mesh_vert_slide_data_create(), blender::memory_cache::try_enforce_limit(), ui_block_align_calc(), ui_but_event_property_operator_string(), UI_fontstyle_draw_multiline_clipped_ex(), blender::ed::space_node::ui_node_menu_column(), ui_selectcontext_begin(), blender::index_mask::union_index_mask_segments(), blender::nodes::node_geo_input_mesh_face_neighbors_cc::unique_num(), blender::update_bakes_from_node_group(), blender::ed::space_node::update_nested_node_refs_after_moving_nodes_into_group(), blender::update_panels_from_node_group(), blender::bke::node_tree_runtime::update_toposort(), blender::ed::spreadsheet::update_visible_columns(), uv_cylinder_project(), blender::geometry::uv_parametrizer_face_add(), uv_remove_doubles_to_selected(), uv_remove_doubles_to_selected_shared_vertex(), uv_select_overlap(), uv_select_similar_island_exec(), uv_sphere_project(), uvedit_pack_islands_multi(), blender::ed::sculpt_paint::vert_neighbors_get_interior_bmesh(), view3d_gpu_select_with_id_filter(), blender::ed::vse::visible_strips_ordered_get(), blender::gpu::MTLShader::warm_cache(), blender::geometry::weld_mesh_context_create(), blender::geometry::weld_poly_find_doubles(), blender::geometry::weld_poly_loop_ctx_alloc(), wm_block_dialog_create(), wm_gizmomap_highlight_find(), wm_xr_init(), blender::bke::blendfile::PartialWriteContext::write(), write_jpeg(), UV_ClipboardBuffer::write_uvs(), and blender::eevee::Film::write_viewport_compositor_passes().

◆ operator!=

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
bool operator!= ( const Vector< T, InlineBufferCapacity, Allocator > & a,
const Vector< T, InlineBufferCapacity, Allocator > & b )
friend

Definition at line 1037 of file BLI_vector.hh.

◆ operator==

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
bool operator== ( const Vector< T, InlineBufferCapacity, Allocator > & a,
const Vector< T, InlineBufferCapacity, Allocator > & b )
friend

Definition at line 1032 of file BLI_vector.hh.

◆ Vector

template<typename T, int64_t InlineBufferCapacity = default_inline_buffer_capacity(sizeof(T)), typename Allocator = GuardedAllocator>
template<typename OtherT, int64_t OtherInlineBufferCapacity, typename OtherAllocator>
friend class Vector
friend

Be a friend with other vector instantiations. This is necessary to implement some memory management logic.

Definition at line 122 of file BLI_vector.hh.


The documentation for this class was generated from the following file: