CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcCOBie_Exp.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef _IFC_COBIE_EXP_H
25#define _IFC_COBIE_EXP_H
26
27namespace OdCOBie
28{
29
30 const char *g_COBie_Exp =
31
32 "SCHEMA COBIE;"
33
34 "TYPE COBie_Measure = REAL;"
35 "END_TYPE;"
36
37 "TYPE COBie_NonNegativeMeasure = COBie_Measure;"
38 " WHERE"
39 " NotNegative : SELF >= 0.;"
40 "END_TYPE;"
41
42 "TYPE COBie_LengthMeasure = REAL;"
43 "END_TYPE;"
44
45 "TYPE COBie_NonNegativeLengthMeasure = COBie_LengthMeasure;"
46 " WHERE"
47 " NotNegative : SELF >= 0.;"
48 "END_TYPE;"
49
50 "ENTITY COBie_Object"
51 " ABSTRACT SUPERTYPE OF (ONEOF"
52 " (COBie_Record"
53 " ,COBie_Contact));"
54 "END_ENTITY;"
55
56 "ENTITY COBie_Record"
57 " ABSTRACT SUPERTYPE OF (ONEOF"
58 " (COBie_CategorizedRecord"
59 " ,COBie_Component"
60 " ,COBie_Assembly"
61 " ,COBie_Connection"
62 " ,COBie_Impact"
63 " ,COBie_Issue))"
64 " SUBTYPE OF (COBie_Object);"
65 " Name_ : STRING;" // Compound Value must be unique in this worksheet
66 " CreatedBy : STRING;" // Contact.Email - Foreign Key (Value must be found in referenced Foreign Key List)
67 " CreatedOn : STRING;" // ISO date/time info added/updated or default "1900-12-31T23:59:59" (max len 19)
68 "END_ENTITY;"
69
70 "ENTITY COBie_CategorizedRecord"
71 " ABSTRACT SUPERTYPE OF (ONEOF"
72 " (COBie_Facility"
73 " ,COBie_Floor"
74 " ,COBie_Space"
75 " ,COBie_Zone"
76 " ,COBie_Type"
77 " ,COBie_System"
78 " ,COBie_Spare"
79 " ,COBie_Resource"
80 " ,COBie_Job"
81 " ,COBie_Document"
82 " ,COBie_Attribute"
83 " ,COBie_Coordinate))"
84 " SUBTYPE OF (COBie_Record);"
85 " Category : STRING;" // Value must be found in referenced Foreign Key List
86 "END_ENTITY;"
87
88
89 //
90 // Mapped from IfcOwnerHistory
91 //
92 "ENTITY COBie_Contact SUBTYPE OF (COBie_Object);"
93 " Email : STRING;" // Value must be unique in this worksheet Primary Unique Key
94 " CreatedBy : STRING;" // Contact.Email - Foreign Key (Value must be found in referenced Foreign Key List)
95 " CreatedOn : STRING;" // ISO date/time info added/updated or default "1900-12-31T23:59:59" (max len 19)
96 " Category : STRING;" // Value must be found in referenced Foreign Key List
97 " Company : STRING;" // Value must be provided or 'n/a'
98 " Phone : STRING;" // Value must be provided or 'n/a'
99 " ExternalSystem : STRING;" // Provided only by automated export from software system
100 " ExternalObject : STRING;" // Provided only by automated export from software system
101 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
102 " Department : STRING;" // Default value must equal 'n/a'
103 " OrganizationCode : STRING;" // Default value must equal 'n/a'
104 " GivenName : STRING;" // Default value must equal 'n/a'
105 " FamilyName : STRING;" // Default value must equal 'n/a'
106 " Street : STRING;" // Default value must equal 'n/a'
107 " PostalBox : STRING;" // Default value must equal 'n/a'
108 " Town : STRING;" // Default value must equal 'n/a'
109 " StateRegion : STRING;" // Default value must equal 'n/a'
110 " PostalCode: STRING;" // Default value must equal 'n/a'
111 " Country : STRING(128);" // Default value must equal 'n/a'
112 "END_ENTITY;"
113
114
115 //
116 // Mapped from IfcBuilding
117 //
118 "ENTITY COBie_Facility SUBTYPE OF (COBie_CategorizedRecord);"
119 " ProjectName : STRING;" // Value must be provided or 'n/a
120 " SiteName : STRING;" // Value must be provided or 'n/a
121 // Enum ???
122 " LinearUnits : STRING;" // Value must be found in referenced Foreign Key List
123 " AreaUnits : STRING;" // Value must be found in referenced Foreign Key List
124 " VolumeUnits : STRING;" // Value must be found in referenced Foreign Key List
125 " CurrencyUnit : STRING;" // Value must be found in referenced Foreign Key List
126 " AreaMeasurement : STRING;" // Value must be provided or 'n/a
127 " ExternalSystem : STRING;" // // Provided only by automated export from software system
128 " ExternalProjectObject : STRING;" // Provided only by automated export from software system
129 " ExternalProjectIdentifier : STRING;" // Provided only by automated export from software system
130 " ExternalSiteObject : STRING;" // Provided only by automated export from software system
131 " ExternalSiteIdentifier : STRING;" // Provided only by automated export from software system
132 " ExternalFacilityObject : STRING;" // Provided only by automated export from software system
133 " ExternalFacilityIdentifier : STRING;" // Provided only by automated export from software system
134 " Description : STRING;" // Default value must equal 'n/a'
135 " ProjectDescription : STRING;" // Default value must equal 'n/a'
136 " SiteDescription : STRING;" // Default value must equal 'n/a'
137 " Phase : STRING;" // Default value must equal 'n/a'
138 "END_ENTITY;"
139
140
141 //
142 // Mapped from IfcBuildingStorey
143 //
144 "ENTITY COBie_Floor SUBTYPE OF (COBie_CategorizedRecord);"
145 " ExternalSystem : STRING;" // Provided only by automated export from software system
146 " ExternalObject : STRING;" // Provided only by automated export from software system
147 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
148 " Description : STRING;" // Default value must equal 'n/a'
149 " Elevation : COBie_LengthMeasure;" // Default value must equal 'n/a'
150 " Height : COBie_NonNegativeLengthMeasure;" // Default value must equal 'n/a'
151 "END_ENTITY;"
152
153
154 //
155 // Mapped from IfcSpace
156 //
157 "ENTITY COBie_Space SUBTYPE OF (COBie_CategorizedRecord);"
158 " FloorName : STRING;" // Floor.Name Value must be found in referenced Foreign Key List
159 " ExternalSystem : STRING;" // Provided only by automated export from software system
160 " ExternalObject : STRING;" // Provided only by automated export from software system
161 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
162 " Description : STRING;" // Default value must equal 'n/a'
163 " RoomTag : STRING;" // Default value must equal 'n/a'
164 " UsableHeight : COBie_Measure;" // Default value must equal 'n/a'
165 " GrossArea : COBie_NonNegativeMeasure;" // Default value must equal 'n/a'
166 " NetArea : COBie_NonNegativeMeasure;" // Default value must equal 'n/a'
167 "END_ENTITY;"
168
169
170 //
171 // Mapped from IfcZone
172 //
173 "ENTITY COBie_Zone SUBTYPE OF (COBie_CategorizedRecord);"
174 " SpaceNames : COBie_Space;" // Value must be found in referenced Foreign Key List
175 " ExternalSystem : STRING;" // Provided only by automated export from software system
176 " ExternalObject : STRING;" // Provided only by automated export from software system
177 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
178 " Description : STRING;" // Default value must equal 'n/a'
179 "END_ENTITY;"
180
181 //
182 // Mapped from IfcTypeObject
183 //
184 "ENTITY COBie_Type SUBTYPE OF (COBie_CategorizedRecord);"
185 " Description : STRING;" // Value must be provided or 'n/a'
186 " AssetType : STRING;" // PickList.AssetType Value must be found in referenced Foreign Key List
187 " Manufacturer : STRING;" // Contact.Email Value must be found in referenced Foreign Key List
188 " ModelNumber : STRING;" // Value must be provided or 'n/a'
189 " WarrantyGuarantorParts : STRING;" // Contact.Email Value must be found in referenced Foreign Key List
190 " WarrantyDurationParts : COBie_Measure;" // Value must be provided or '0'
191 " WarrantyGuarantorLabor : STRING;" // Contact.Email Value must be found in referenced Foreign Key List
192 " WarrantyDurationLabor : COBie_Measure;" // Value must be provided or '0'
193 " WarrantyDurationUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List
194 " ExternalSystem : STRING;" // Provided only by automated export from software system
195 " ExternalObject : STRING;" // Provided only by automated export from software system
196 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
197 " ReplacementCost : COBie_Measure;" // Default value must equal 'n/a' !!! 0 ?
198 " ExpectedLife : COBie_Measure;" // Default value must equal 'n/a' !!! 0 ?
199 " DurationUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List
200 " WarrantyDescription : STRING;" // Default value must equal 'n/a'
201 " NominalLength : COBie_Measure;" // Value must be provided or '0'
202 " NominalWidth : COBie_Measure;" // Value must be provided or '0'
203 " NominalHeight : COBie_Measure;" // Value must be provided or '0'
204 " ModelReference : STRING;" // Default value must equal 'n/a'
205 " Shape : STRING;" // Default value must equal 'n/a'
206 " Size : STRING;" // Default value must equal 'n/a'
207 " Color : STRING;" // Default value must equal 'n/a'
208 " Finish : STRING;" // Default value must equal 'n/a'
209 " Grade : STRING;" // Default value must equal 'n/a'
210 " Material : STRING;" // Default value must equal 'n/a'
211 " Constituents : STRING;" // Default value must equal 'n/a'
212 " Features : STRING;" // Default value must equal 'n/a'
213 " AccessibilityPerformance : STRING;" // Default value must equal 'n/a'
214 " CodePerformance : STRING;" // Default value must equal 'n/a'
215 " SustainabilityPerformance : STRING;" // Default value must equal 'n/a'
216 "END_ENTITY;"
217
218
219 //
220 // Mapped from IfcElement
221 //
222 "ENTITY COBie_Component SUBTYPE OF (COBie_Record);"
223 " TypeName : STRING;" // Type.Name Value must be found in referenced Foreign Key List
224 " Space : STRING;" // Space.Name Value must be found in referenced Foreign Key List
225 " Description : STRING;" // Value must be provided or 'n/a'
226 " ExternalSystem : STRING;" // Provided only by automated export from software system
227 " ExternalObject : STRING;" // Provided only by automated export from software system
228 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
229 " SerialNumber : STRING;" // Value must be provided or 'n/a'
230 " InstallationDate : STRING;" // ISO Date (19) ISO date/time info added/updated or default "1900-12-31T23:59:59"
231 " WarrantyStartDate : STRING;" // ISO Date (19)ISO date/time info added/updated or default "1900-12-31T23:59:59"
232 " TagNumber : STRING;" // Value must be provided or 'n/a'
233 " BarCode : STRING;" // Value must be provided or 'n/a'
234 " AssetIdentifier : STRING;" // Value must be provided or 'n/a'
235 "END_ENTITY;"
236
237
238 //
239 // Mapped from IfcSystem
240 //
241 "ENTITY COBie_System SUBTYPE OF (COBie_CategorizedRecord);"
242 " ComponentNames : STRING;" // Component.Name Value must be found in referenced Foreign Key List
243 " ExternalSystem : STRING;" // Provided only by automated export from software system
244 " ExternalObject : STRING;" // Provided only by automated export from software system
245 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
246 " Description : STRING;" // Default value must equal 'n/a'
247 "END_ENTITY;"
248
249
250 //
251 // Mapped from IfcRelAggregates
252 //
253 "ENTITY COBie_Assembly SUBTYPE OF (COBie_Record);"
254 " SheetName : STRING;" // Component.Name Value must be found in referenced Foreign Key Lis
255 " ParentName : STRING;" // Component.Name Value must be found in referenced Foreign Key Lis
256 " ChildNames : STRING;" // Value must be provided or 'n/a'
257 " AssemblyType : STRING;" // Provided only by automated export from software system
258 " ExternalSystem : STRING;" // Provided only by automated export from software system
259 " ExternalObject : STRING;" // Provided only by automated export from software system
260 " ExternalIdentifier : STRING;" // Default value must equal 'n/a'
261 " Description : STRING;" // Default value must equal 'n/a'
262 "END_ENTITY;"
263
264
265 //
266 // Mapped from IfcRelConnects
267 //
268 "ENTITY COBie_Connection SUBTYPE OF (COBie_Record);"
269 " ConnectionType : STRING;" // PickList.ConnectionType Value must be found in referenced Foreign Key List
270 " SheetName : STRING;" //
271 " RowName1 : STRING;" // Component.Name Value must be found in referenced Foreign Key List
272 " RowName2 : STRING;" // Component.Name Value must be found in referenced Foreign Key List
273 " RealizingElement : STRING;"
274 " PortName1 : STRING;"
275 " PortName2 : STRING;"
276 " ExternalSystem : STRING;" // Provided only by automated export from software system
277 " ExternalObject : STRING;" // Provided only by automated export from software system
278 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
279 " Description : STRING;" // Default value must equal 'n/a'
280 "END_ENTITY;"
281
282
283 //
284 // Mapped from IfcConstructionProductResource
285 //
286 "ENTITY COBie_Spare SUBTYPE OF (COBie_CategorizedRecord);"
287 " TypeName : STRING;" // Type.Name Value must be found in referenced Foreign Key List
288 " Suppliers : STRING;" // Contact.Email Value must be found in referenced Foreign Key List
289 " ExternalSystem : STRING;" // Provided only by automated export from software system
290 " ExternalObject : STRING;" // Provided only by automated export from software system
291 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
292 " Description : STRING;" // Default value must equal 'n/a'
293 " SetNumber : STRING;" // Default value must equal 'n/a'
294 " PartNumber : STRING;" // Default value must equal 'n/a'
295 "END_ENTITY;"
296
297
298 //
299 // Mapped from IfcConstructionProductResource
300 //
301 "ENTITY COBie_Resource SUBTYPE OF (COBie_CategorizedRecord);"
302 " ExternalSystem : STRING;" // Provided only by automated export from software system
303 " ExternalObject : STRING;" // Provided only by automated export from software system
304 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
305 " Description : STRING;" // Default value must equal 'n/a'
306 "END_ENTITY;"
307
308
309 //
310 // Mapped from IfcTask
311 //
312 "ENTITY COBie_Job SUBTYPE OF (COBie_CategorizedRecord);"
313 " Status : STRING;" // PickList.JobStatusType Value must be found in referenced Foreign Key List
314 " TypeName : STRING;" // Type.Name Value must be found in referenced Foreign Key List
315 " Description : STRING;" // Value must be provided or 'n/a'
316 " Duration : COBie_Measure;" // Value must be provided or '0'
317 " DurationUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List
318 " Start : COBie_Measure;" // Value must be provided or '0'
319 " TaskStartUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List
320 " Frequency : COBie_Measure;" // Value must be provided or '0'
321 " FrequencyUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List
322 " ExternalSystem : STRING;" // Provided only by automated export from software system
323 " ExternalObject : STRING;" // Provided only by automated export from software system
324 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
325 " TaskNumber : STRING;" // Task Number must be unique for this Name/TypeName
326 " Priors : STRING;" // Job.TaskNumber List Value must be found in referenced Foreign Key List
327 " ResourceNames : STRING;" // Resource.Name List Value must be found in referenced Foreign Key List
328 "END_ENTITY;"
329
330
331 //
332 // Mapped from IfcPropertySet
333 //
334 "ENTITY COBie_Impact SUBTYPE OF (COBie_Record);"
335 " ImpactType : STRING;" // PickList.ImpactType Value must be found in referenced Foreign Key List
336 " ImpactStage : STRING;" // PickList.ImpactStage Value must be found in referenced Foreign Key List
337 " SheetName : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List
338 " RowName : STRING;" // Row name must be found in referenced table
339 " Value_ : COBie_Measure;" // Default value must equal 'n/a
340 " ImpactUnit : STRING;" // PickList.ImpactUnit Value must be found in referenced Foreign Key List
341 " LeadInTime : COBie_Measure;" // Default value must equal 'n/a
342 " Duration : COBie_Measure;" // Default value must equal 'n/a
343 " LeadOutTime : COBie_Measure;" // Default value must equal 'n/a
344 " ExternalSystem : STRING;" // Provided only by automated export from software system
345 " ExternalObject : STRING;" // Provided only by automated export from software system
346 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
347 " Description : STRING;" // Default value must equal 'n/a
348 "END_ENTITY;"
349
350
351 //
352 // Mapped from IfcDocumentInformation
353 //
354 "ENTITY COBie_Document SUBTYPE OF (COBie_CategorizedRecord);"
355 " ApprovalBy : STRING;" // PickList.ApprovalBy Value must be found in referenced Foreign Key List
356 " Stage : STRING;" // PickList.StageType Value must be found in referenced Foreign Key List
357 " SheetName : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List
358 " RowName : STRING;" // Row name must be found in referenced table
359 " Directory : STRING;" // Value must be provided or 'n/a'
360 " File : STRING;" // Value must be provided or 'n/a'
361 " ExternalSystem : STRING;" // Provided only by automated export from software system
362 " ExternalObject : STRING;" // Provided only by automated export from software system
363 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
364 " Description : STRING;" // Value must be provided or 'n/a'
365 " Reference_ : STRING;" // Value must be provided or 'n/a'
366 "END_ENTITY;"
367
368
369 //
370 // Mapped from IfcPropertySet
371 //
372 "ENTITY COBie_Attribute SUBTYPE OF (COBie_CategorizedRecord);"
373 " SheetName : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List
374 " RowName : STRING;" // Row name must be found in referenced table
375 " Value_ : STRING;" // Value must be provided or 'n/a'
376 " Unit : STRING;" // Value must be provided or 'n/a'
377 " ExternalSystem : STRING;" // Provided only by automated export from software system
378 " ExternalObject : STRING;" // Provided only by automated export from software system
379 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
380 " Description : STRING;" // Value must be provided or 'n/a'
381 " AllowedValues : STRING;" // Value must be provided or 'n/a'
382 "END_ENTITY;"
383
384
385 //
386 // Mapped from IfcBuildingStorey + IfcSpace + IfcProduct
387 //
388 "ENTITY COBie_Coordinate SUBTYPE OF (COBie_CategorizedRecord);"
389 " SheetName : STRING;" // PickList.CoordinateSheet Value must be found in referenced Foreign Key List
390 " RowName : STRING;" // Row name must be found in referenced table
391 " CoordinateXAxis : COBie_Measure;" // Value must be provided or '0'
392 " CoordinateYAxis : COBie_Measure;" // Value must be provided or '0'
393 " CoordinateZAxis : COBie_Measure;" // Value must be provided or '0'
394 " ExternalSystem : STRING;" // Provided only by automated export from software system
395 " ExternalObject : STRING;" // Provided only by automated export from software system
396 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
397 " ClockwiseRotation : COBie_Measure;" // Default value must equal 'n/a'
398 " ElevationalRotation : COBie_Measure;" // Default value must equal 'n/a'
399 " YawRotation : COBie_Measure;" // Default value must equal 'n/a'
400 "END_ENTITY;"
401
402
403 //
404 // Mapped from IfcApproval
405 //
406 "ENTITY COBie_Issue SUBTYPE OF (COBie_Record);"
407 " Type_ : STRING;" // PickList.IssueCategory Value must be found in referenced Foreign Key List
408 " Risk : STRING;" // PickList.IssueRisk Value must be found in referenced Foreign Key List
409 " Chance : STRING;" // PickList.IssueChance Value must be found in referenced Foreign Key List
410 " Impact : STRING;" // PickList.IssueImpact Value must be found in referenced Foreign Key List
411 " SheetName1 : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List
412 " RowName1 : STRING;" // Row name must be found in referenced table
413 " SheetName2 : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List
414 " RowName2 : STRING;" // Row name must be found in referenced table
415 " Description : STRING;" // Value must be provided or 'n/a'
416 " Owner : STRING;" // Contact.Email Value must be found in referenced Foreign Key List
417 " Mitigation : STRING;" // Value must be provided or 'n/a'
418 " ExternalSystem : STRING;" // Provided only by automated export from software system
419 " ExternalObject : STRING;" // Provided only by automated export from software system
420 " ExternalIdentifier : STRING;" // Provided only by automated export from software system
421 "END_ENTITY;"
422
423 //
424 // Mapped from IfcApproval
425 //
426 "ENTITY COBie_PickList;"
427 " CategoryFacility : STRING;" // Value must be unique in this worksheet
428 " CategorySpace : STRING;" // Value must be unique in this worksheet
429 " CategoryElement : STRING;" // Value must be unique in this worksheet
430 " CategoryProduct : STRING;" // Value must be unique in this worksheet
431 " CategoryRole : STRING;" // Value must be unique in this worksheet
432 "END_ENTITY;"
433
434 "END_SCHEMA;";
435
436}
437
438#endif // _IFC_COBIE_EXP_H
const char * g_COBie_Exp