Files
IfcOpenShell/src/ifcgeom/IfcRegisterConvertShape.h
T

17 lines
384 B
C++
Raw Normal View History

#include "IfcRegisterUndef.h"
#define SHAPE(T) \
if ( !processed && l->is(T::Class()) ) { \
processed = true; \
try { \
2011-10-12 16:43:29 +00:00
if ( convert((T*)l,r) ) { \
success = true; \
2011-10-12 16:43:29 +00:00
} \
} catch(...) { } \
if ( !success) { \
Logger::Message(Logger::LOG_ERROR,"Failed to convert:",l->entity); \
return false; \
} \
}
#include "IfcRegisterDef.h"
#include "IfcRegister.h"