Version: 0.2 2017.11.28 AET
"EEX" is acronym for EDM EXPRESS Extension Schema, and is also the file extension used for such files.
Using EXPRESS_EXTENSION_SCHEMA from QUERY SCHEMA
To enable compile-time checking and binding an EDM query schema must specify which extension schemata it depends on by specifying the extension as follows in the GLOBAL section:
...
Code Block | ||||
---|---|---|---|---|
| ||||
QUERY_SCHEMA MyQueries FOR IFC4; GLOBAL GLOBAL DECLARE trg INSTANCE OF IFC4; DECLARE ex1 INSTANCE OF EXPRESS_EXTENSION_SCHEMA EEX_1001; -- implicit: FOR IFC4; END_GLOBAL; -- ... addition declarations ... END_GLOBAL; -- ... normal query schema syntax ...ENTITY xifcWindShield SUBTYPE of IfcWindow; END_QUERY:_SCHEMA; |
The "schema_instance" declaration name "ex1" has no use further in the query schema. Constructs from the specified extension will be imported into compiler enabling named access from the query scschema code.