Blender
V3.3
|
#include <BKE_attribute.hh>
Public Member Functions | |
#AttributeIDRef Inline Methods | |
AttributeIDRef () | |
AttributeIDRef (StringRef name) | |
AttributeIDRef (StringRefNull name) | |
AttributeIDRef (const char *name) | |
AttributeIDRef (const std::string &name) | |
AttributeIDRef (const AnonymousAttributeID *anonymous_id) | |
operator bool () const | |
uint64_t | hash () const |
bool | is_named () const |
bool | is_anonymous () const |
StringRef | name () const |
const AnonymousAttributeID & | anonymous_id () const |
bool | should_be_kept () const |
Friends | |
bool | operator== (const AttributeIDRef &a, const AttributeIDRef &b) |
std::ostream & | operator<< (std::ostream &stream, const AttributeIDRef &attribute_id) |
Identifies an attribute that is either named or anonymous. It does not own the identifier, so it is just a reference.
Definition at line 24 of file BKE_attribute.hh.
|
inlinedefault |
|
inline |
Definition at line 762 of file BKE_attribute.hh.
|
inline |
Definition at line 766 of file BKE_attribute.hh.
|
inline |
Definition at line 770 of file BKE_attribute.hh.
|
inline |
Definition at line 774 of file BKE_attribute.hh.
|
inline |
Definition at line 779 of file BKE_attribute.hh.
|
inline |
Definition at line 815 of file BKE_attribute.hh.
References BLI_assert, and is_anonymous().
Referenced by blender::bke::add_generic_custom_data_layer(), blender::bke::custom_data_layer_matches_attribute_id(), blender::bke::MutableAttributeAccessor::lookup_for_write(), and blender::bke::CustomDataAttributeProvider::try_get_for_write().
|
inline |
Definition at line 794 of file BKE_attribute.hh.
References blender::get_default_hash_2().
|
inline |
Definition at line 804 of file BKE_attribute.hh.
Referenced by anonymous_id(), blender::bke::custom_data_layer_matches_attribute_id(), and blender::ed::spreadsheet::GeometryDataSource::foreach_default_column_ids().
|
inline |
Definition at line 799 of file BKE_attribute.hh.
References blender::StringRefBase::is_empty().
Referenced by blender::bke::attribute_accessor_functions::add(), blender::bke::add_generic_custom_data_layer(), blender::nodes::geometry_nodes_eval_log::GeometryValueLog::GeometryValueLog(), blender::nodes::node_geo_join_geometry_cc::get_final_attribute_info(), blender::geometry::interpolate_attribute_to_curves(), blender::geometry::interpolate_attribute_to_poly_curve(), blender::bke::attribute_accessor_functions::is_builtin(), blender::bke::attribute_accessor_functions::lookup(), blender::bke::MutableAttributeAccessor::lookup_for_write(), blender::bke::attribute_accessor_functions::lookup_for_write(), name(), blender::bke::attribute_accessor_functions::remove(), should_be_kept(), and blender::bke::CustomDataAttributeProvider::try_get_for_write().
|
inline |
Definition at line 809 of file BKE_attribute.hh.
References BLI_assert, and is_named().
Referenced by blender::bke::attribute_accessor_functions::add(), blender::bke::add_generic_custom_data_layer(), blender::bke::custom_data_layer_matches_attribute_id(), blender::ed::spreadsheet::GeometryDataSource::foreach_default_column_ids(), blender::nodes::geometry_nodes_eval_log::GeometryValueLog::GeometryValueLog(), blender::nodes::node_geo_join_geometry_cc::get_final_attribute_info(), blender::geometry::interpolate_attribute_to_curves(), blender::geometry::interpolate_attribute_to_poly_curve(), blender::bke::attribute_accessor_functions::is_builtin(), blender::bke::attribute_accessor_functions::lookup(), blender::bke::MutableAttributeAccessor::lookup_for_write(), blender::bke::attribute_accessor_functions::lookup_for_write(), and blender::bke::attribute_accessor_functions::remove().
|
inline |
Definition at line 789 of file BKE_attribute.hh.
|
inline |
Definition at line 826 of file BKE_attribute.hh.
References BKE_anonymous_attribute_id_has_strong_references(), and is_named().
Referenced by GeometrySet::gather_attributes_for_propagation().
|
friend |
Definition at line 39 of file attribute_access.cc.
|
friend |
Definition at line 784 of file BKE_attribute.hh.