2012-07-19 18:26:47 +00:00
|
|
|
#include "IfcRegisterUndef.h"
|
2011-07-25 14:56:40 +00:00
|
|
|
#define SHAPE(T) \
|
2013-11-24 15:44:27 +00:00
|
|
|
if ( !processed && l->is(T::Class()) ) { \
|
|
|
|
|
processed = true; \
|
2011-07-25 14:56:40 +00:00
|
|
|
try { \
|
2011-10-12 16:43:29 +00:00
|
|
|
if ( convert((T*)l,r) ) { \
|
2013-11-24 15:44:27 +00:00
|
|
|
success = true; \
|
2011-10-12 16:43:29 +00:00
|
|
|
} \
|
|
|
|
|
} catch(...) { } \
|
2013-11-24 15:44:27 +00:00
|
|
|
if ( !success) { \
|
|
|
|
|
Logger::Message(Logger::LOG_ERROR,"Failed to convert:",l->entity); \
|
|
|
|
|
return false; \
|
|
|
|
|
} \
|
2011-07-25 14:56:40 +00:00
|
|
|
}
|
|
|
|
|
#include "IfcRegisterDef.h"
|
|
|
|
|
|
|
|
|
|
#include "IfcRegister.h"
|