mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 08:13:14 +00:00
17 lines
384 B
C++
17 lines
384 B
C++
#include "IfcRegisterUndef.h"
|
|
#define SHAPE(T) \
|
|
if ( !processed && l->is(T::Class()) ) { \
|
|
processed = true; \
|
|
try { \
|
|
if ( convert((T*)l,r) ) { \
|
|
success = true; \
|
|
} \
|
|
} catch(...) { } \
|
|
if ( !success) { \
|
|
Logger::Message(Logger::LOG_ERROR,"Failed to convert:",l->entity); \
|
|
return false; \
|
|
} \
|
|
}
|
|
#include "IfcRegisterDef.h"
|
|
|
|
#include "IfcRegister.h" |