Files
IfcOpenShell/src/ifcgeom/schema/bind_convert_impl.i
T

16 lines
332 B
OpenEdge ABL
Raw Normal View History

2019-08-04 09:36:31 +02:00
#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"