Skip to main content

openbim_ifc_v0_1_model_write_ifcxml

Function openbim_ifc_v0_1_model_write_ifcxml 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_model_write_ifcxml( model: OpenbimIfcModel, profile: *const u8, profile_len: usize, buffer: *mut u8, capacity: usize, out_required: *mut usize, ) -> OpenbimIfcStatus
Expand description

Serialize as ifcXML into a caller buffer; out_required gets the size. profile as for openbim_ifc_v0_1_model_parse_ifcxml. An XSD-layout write needs the header to declare the profile’s schema, and refuses with Write what the configuration cannot carry.

§Safety

As openbim_ifc_v0_1_model_write; profile, if non-null, valid for profile_len reads.