complex_property_output_budget

Function complex_property_output_budget 

Source
pub fn complex_property_output_budget(input_bytes: usize) -> usize
Expand description

The output budget of ONE model’s complex properties: input_bytes times COMPLEX_PROPERTY_BYTES_PER_INPUT_BYTE, at least COMPLEX_PROPERTY_OUTPUT_BYTES.

Scope, identical in every copy: one budget per model (the server’s extraction, the exporter’s BaseSets, the browser’s IfcDataStore), spent on every IfcComplexProperty listed by an IfcPropertySet, in file order of the sets and then HasProperties order. A set id is read once, at its LAST record in the file, the record core’s entity index resolves the id to (keep-last, #7682); an earlier record with the id is not a set. A complex property id is walked once, at its first listing; every later listing reuses that value through ComplexPropertyBudget::listing. A value is therefore the same whichever entity asks for it first, and no number of entities sharing a set multiplies the output.