Skip to main content

openbim_ifc_v0_1_entity_attribute_names

Function openbim_ifc_v0_1_entity_attribute_names 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_entity_attribute_names( model: OpenbimIfcModel, id: u64, out_count: *mut 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

Every explicit attribute of entity id in slot order, inherited first: a LIST of AttributeInfo records, their number in out_count. AttributeInfo: name (TEXT, the schema’s spelling), index (INTEGER, the slot), type name (TEXT), optional (BOOL), aggregate (BOOL), derived (BOOL: written *, not writable), declared by (TEXT, the entity introducing it). INVERSE attributes hold no slot and are listed by openbim_ifc_v0_1_entity_inverse_attribute_names.

MissingEntity; UnsupportedSchema when the header names no bundled release or the release does not declare the entity’s type.

§Safety

out_count valid for one write; otherwise as for openbim_ifc_v0_1_entity_attribute.