First step at reorganizing

This commit is contained in:
Thomas Krijnen
2019-08-04 09:36:31 +02:00
parent c8def0474e
commit 467ebb68a3
20 changed files with 363 additions and 57 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifdef BIND
#undef BIND
#endif
#define BIND(T) \
if (l->declaration().is(IfcSchema::T::Class())) { \
try { \
return map((IfcSchema::T*)l); \
} catch (const std::exception& e) { \
Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + "\nFailed to convert:", l); \
} \
return false; \
}
#include "mapping.i"