Skip to main content

Module relations

Module relations 

Source
Expand description

Entities by GlobalId, new GlobalIds, and an object’s type, a type’s occurrences and the openings and fillings of elements (#463).

Every operation reads against the release the header declares and is refused with unsupported-schema when it names no bundled release.

IfcModel::by_guid keeps the facade’s GlobalIdIndex beside the model, built on the first lookup and again only after the model or its header changes, so a host looking up many GlobalIds pays one pass. A GlobalId several entities carry is refused with invalid-model naming all of them, never answered with one; IfcModel::duplicate_global_ids lists every such GlobalId.

The relation queries refuse an id the model lacks (missing-entity), an entity of a type the query does not accept (wrong-entity-type), a malformed relationship or several answers where the schema allows one (invalid-model), and an answer the model lacks (missing-reference).

Structs§

DuplicateGlobalId
One GlobalId several entities carry.

Functions§

duplicates_to_tagged
The duplicates as one tagged list, each a list of the GlobalId (text) and its holders (list of ref). The C binding’s tape form.
name_based_guid
The GlobalId named by parts (RFC 9562 version 8): the same parts give the same GlobalId in every host and release.
new_guid
A new random GlobalId (RFC 9562 version 4) in IFC’s 22-character form.