Skip to main content

openbim_ifc_v0_1_entity_attribute_by_name

Function openbim_ifc_v0_1_entity_attribute_by_name 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_entity_attribute_by_name( model: OpenbimIfcModel, id: u64, name: *const u8, name_len: usize, nodes: *mut OpenbimIfcValueNode, node_capacity: usize, out_nodes_required: *mut usize, strings: *mut u8, string_capacity: usize, out_strings_required: *mut usize, ) -> OpenbimIfcStatus
Expand description

Attribute name (UTF-8, name_len bytes, any case, e.g. Name) of entity id as a value tape; NULL when the record stops before its slot.

An INVERSE name (IsDefinedBy, #462) reads the entities referencing id through the declared release’s FOR clause: a LIST of REFs in ascending id order for a SET or BAG (SET [0:1] included: zero or one element), a REF or NULL for a single-valued inverse, which two referrers refuse with InvalidModel.

MissingEntity, UnknownAttribute, UnsupportedSchema as for openbim_ifc_v0_1_entity_attribute_names.

§Safety

name valid for name_len reads; otherwise as for openbim_ifc_v0_1_entity_attribute.