Skip to main content

openbim_ifc_v0_1_model_property_sets_many

Function openbim_ifc_v0_1_model_property_sets_many 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_model_property_sets_many( model: OpenbimIfcModel, ids: *const u64, id_count: usize, 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

The property sets of each of ids (id_count of them), in that order, or, with ids null and id_count 0, of every object definition (IfcObjectDefinition and its subtypes) in file order, resolved in one pass through one property index (#358): a LIST of ObjectPropertySets records, their number in out_count. ObjectPropertySets: object (REF), sets (LIST of PropertySet, as for openbim_ifc_v0_1_model_property_sets; empty when refused), refusal (PropertyRefusal or NULL: code (TEXT, the shared binding code), message (TEXT)). Each record is exactly what the per-object call answers for that id, its refusal included.

Refused as a whole only for the model: UnsupportedSchema, InvalidModel (a lenient read with skipped records), FeatureDisabled; NullPointer for null ids with a non-zero count.

ยงSafety

ids valid for id_count reads when non-null; out_count valid for one write; otherwise as for openbim_ifc_v0_1_entity_attribute.