Skip to main content

ifc_spatial/facility/
table.rs

1//! Generated facility catalogue. Do not edit by hand.
2//!
3//! Source: `references/ifc-spec/ifc4x3-add2/IFC4X3_ADD2.exp`
4//! Regenerate: `python3 scripts/gen-facilities.py`
5
6use super::Facility;
7
8/// `IfcBridge`.
9pub const IFCBRIDGE: Facility = Facility {
10    type_name: "IFCBRIDGE",
11    arity: 10,
12    predefined_slot: Some(9),
13    usage_slot: None,
14    members: &[
15        "ARCHED",
16        "CABLE_STAYED",
17        "CANTILEVER",
18        "CULVERT",
19        "FRAMEWORK",
20        "GIRDER",
21        "SUSPENSION",
22        "TRUSS",
23        "USERDEFINED",
24        "NOTDEFINED",
25    ],
26};
27
28/// `IfcBridgePart`.
29pub const IFCBRIDGEPART: Facility = Facility {
30    type_name: "IFCBRIDGEPART",
31    arity: 11,
32    predefined_slot: Some(10),
33    usage_slot: Some(9),
34    members: &[
35        "ABUTMENT",
36        "DECK",
37        "DECK_SEGMENT",
38        "FOUNDATION",
39        "PIER",
40        "PIER_SEGMENT",
41        "PYLON",
42        "SUBSTRUCTURE",
43        "SUPERSTRUCTURE",
44        "SURFACESTRUCTURE",
45        "USERDEFINED",
46        "NOTDEFINED",
47    ],
48};
49
50/// `IfcFacility`.
51pub const IFCFACILITY: Facility = Facility {
52    type_name: "IFCFACILITY",
53    arity: 9,
54    predefined_slot: None,
55    usage_slot: None,
56    members: &[],
57};
58
59/// `IfcFacilityPartCommon`.
60pub const IFCFACILITYPARTCOMMON: Facility = Facility {
61    type_name: "IFCFACILITYPARTCOMMON",
62    arity: 11,
63    predefined_slot: Some(10),
64    usage_slot: Some(9),
65    members: &[
66        "ABOVEGROUND",
67        "BELOWGROUND",
68        "JUNCTION",
69        "LEVELCROSSING",
70        "SEGMENT",
71        "SUBSTRUCTURE",
72        "SUPERSTRUCTURE",
73        "TERMINAL",
74        "USERDEFINED",
75        "NOTDEFINED",
76    ],
77};
78
79/// `IfcMarineFacility`.
80pub const IFCMARINEFACILITY: Facility = Facility {
81    type_name: "IFCMARINEFACILITY",
82    arity: 10,
83    predefined_slot: Some(9),
84    usage_slot: None,
85    members: &[
86        "BARRIERBEACH",
87        "BREAKWATER",
88        "CANAL",
89        "DRYDOCK",
90        "FLOATINGDOCK",
91        "HYDROLIFT",
92        "JETTY",
93        "LAUNCHRECOVERY",
94        "MARINEDEFENCE",
95        "NAVIGATIONALCHANNEL",
96        "PORT",
97        "QUAY",
98        "REVETMENT",
99        "SHIPLIFT",
100        "SHIPLOCK",
101        "SHIPYARD",
102        "SLIPWAY",
103        "WATERWAY",
104        "WATERWAYSHIPLIFT",
105        "USERDEFINED",
106        "NOTDEFINED",
107    ],
108};
109
110/// `IfcMarinePart`.
111pub const IFCMARINEPART: Facility = Facility {
112    type_name: "IFCMARINEPART",
113    arity: 11,
114    predefined_slot: Some(10),
115    usage_slot: Some(9),
116    members: &[
117        "ABOVEWATERLINE",
118        "ANCHORAGE",
119        "APPROACHCHANNEL",
120        "BELOWWATERLINE",
121        "BERTHINGSTRUCTURE",
122        "CHAMBER",
123        "CILL_LEVEL",
124        "COPELEVEL",
125        "CORE",
126        "CREST",
127        "GATEHEAD",
128        "GUDINGSTRUCTURE",
129        "HIGHWATERLINE",
130        "LANDFIELD",
131        "LEEWARDSIDE",
132        "LOWWATERLINE",
133        "MANUFACTURING",
134        "NAVIGATIONALAREA",
135        "PROTECTION",
136        "SHIPTRANSFER",
137        "STORAGEAREA",
138        "VEHICLESERVICING",
139        "WATERFIELD",
140        "WEATHERSIDE",
141        "USERDEFINED",
142        "NOTDEFINED",
143    ],
144};
145
146/// `IfcRailway`.
147pub const IFCRAILWAY: Facility = Facility {
148    type_name: "IFCRAILWAY",
149    arity: 10,
150    predefined_slot: Some(9),
151    usage_slot: None,
152    members: &["USERDEFINED", "NOTDEFINED"],
153};
154
155/// `IfcRailwayPart`.
156pub const IFCRAILWAYPART: Facility = Facility {
157    type_name: "IFCRAILWAYPART",
158    arity: 11,
159    predefined_slot: Some(10),
160    usage_slot: Some(9),
161    members: &[
162        "ABOVETRACK",
163        "DILATIONTRACK",
164        "LINESIDE",
165        "LINESIDEPART",
166        "PLAINTRACK",
167        "SUBSTRUCTURE",
168        "TRACK",
169        "TRACKPART",
170        "TURNOUTTRACK",
171        "USERDEFINED",
172        "NOTDEFINED",
173    ],
174};
175
176/// `IfcRoad`.
177pub const IFCROAD: Facility = Facility {
178    type_name: "IFCROAD",
179    arity: 10,
180    predefined_slot: Some(9),
181    usage_slot: None,
182    members: &["USERDEFINED", "NOTDEFINED"],
183};
184
185/// `IfcRoadPart`.
186pub const IFCROADPART: Facility = Facility {
187    type_name: "IFCROADPART",
188    arity: 11,
189    predefined_slot: Some(10),
190    usage_slot: Some(9),
191    members: &[
192        "BICYCLECROSSING",
193        "BUS_STOP",
194        "CARRIAGEWAY",
195        "CENTRALISLAND",
196        "CENTRALRESERVE",
197        "HARDSHOULDER",
198        "INTERSECTION",
199        "LAYBY",
200        "PARKINGBAY",
201        "PASSINGBAY",
202        "PEDESTRIAN_CROSSING",
203        "RAILWAYCROSSING",
204        "REFUGEISLAND",
205        "ROADSEGMENT",
206        "ROADSIDE",
207        "ROADSIDEPART",
208        "ROADWAYPLATEAU",
209        "ROUNDABOUT",
210        "SHOULDER",
211        "SIDEWALK",
212        "SOFTSHOULDER",
213        "TOLLPLAZA",
214        "TRAFFICISLAND",
215        "TRAFFICLANE",
216        "USERDEFINED",
217        "NOTDEFINED",
218    ],
219};
220
221/// Every facility class this crate can author.
222pub const ALL: &[Facility] = &[
223    IFCBRIDGE,
224    IFCBRIDGEPART,
225    IFCFACILITY,
226    IFCFACILITYPARTCOMMON,
227    IFCMARINEFACILITY,
228    IFCMARINEPART,
229    IFCRAILWAY,
230    IFCRAILWAYPART,
231    IFCROAD,
232    IFCROADPART,
233];