mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
First step at reorganizing
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user