mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-20 20:22:09 +00:00
Schema dispatch in helpers
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
// This file was generated with the assistance of an AI coding tool.
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_2x3
|
||||
#include "../ifcparse/schemas/Ifc2x3.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_2x3(M) M(Ifc2x3, "IFC2X3")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_2x3(M)
|
||||
#endif
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_4
|
||||
#include "../ifcparse/schemas/Ifc4.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4(M) M(Ifc4, "IFC4")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4(M)
|
||||
#endif
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_4x1
|
||||
#include "../ifcparse/schemas/Ifc4x1.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x1(M) M(Ifc4x1, "IFC4X1")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x1(M)
|
||||
#endif
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_4x2
|
||||
#include "../ifcparse/schemas/Ifc4x2.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x2(M) M(Ifc4x2, "IFC4X2")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x2(M)
|
||||
#endif
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_4x3
|
||||
#include "../ifcparse/schemas/Ifc4x3.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3(M) M(Ifc4x3, "IFC4X3")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3(M)
|
||||
#endif
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_4x3_tc1
|
||||
#include "../ifcparse/schemas/Ifc4x3_tc1.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_tc1(M) M(Ifc4x3_tc1, "IFC4X3_TC1")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_tc1(M)
|
||||
#endif
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_4x3_add1
|
||||
#include "../ifcparse/schemas/Ifc4x3_add1.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_add1(M) M(Ifc4x3_add1, "IFC4X3_ADD1")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_add1(M)
|
||||
#endif
|
||||
|
||||
#ifdef IFCOPENSHELL_HELPER_SCHEMA_4x3_add2
|
||||
#include "../ifcparse/schemas/Ifc4x3_add2.h"
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_add2(M) M(Ifc4x3_add2, "IFC4X3_ADD2")
|
||||
#else
|
||||
#define IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_add2(M)
|
||||
#endif
|
||||
|
||||
// clang-format off
|
||||
#define IFCOPENSHELL_HELPER_FOR_EACH_SCHEMA(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_2x3(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_4(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_4x1(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_4x2(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_tc1(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_add1(M) \
|
||||
IFCOPENSHELL_HELPER_SCHEMA_CASE_4x3_add2(M)
|
||||
// clang-format on
|
||||
Reference in New Issue
Block a user