mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Update getting_started.rst
IFC_SCHEMA_NAME matching includes
This commit is contained in:
committed by
Thomas Krijnen
parent
6f0bb21a43
commit
972a1fd309
@@ -30,7 +30,7 @@ would be with the use of templates as shown below.
|
||||
#include "ifcparse/Ifc4.h"
|
||||
#include "ifcparse/Ifc4x3_add2.h"
|
||||
|
||||
#define IFC_SCHEMA_SEQ (4x3_rc2)(4)(2x3) // TODO: Enumerate through all IFC schemas you want to be able to process
|
||||
#define IFC_SCHEMA_SEQ (4x3_add2)(4)(2x3) // TODO: Enumerate through all IFC schemas you want to be able to process
|
||||
#define EXPAND_AND_CONCATENATE(elem) Ifc##elem
|
||||
#define PROCESS_FOR_SCHEMA(r, data, elem) if (schema_version == BOOST_PP_STRINGIZE(elem)) { parseIfc<EXPAND_AND_CONCATENATE(elem)>(file); } else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user