mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Rename some files with more sensical names
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include "mapping_undefine.i"
|
||||
#define SHAPES(T) \
|
||||
if (l->as<IfcSchema::T>()) { \
|
||||
try { \
|
||||
return convert(l->as<IfcSchema::T>(), r); \
|
||||
} catch (const std::exception& e) { \
|
||||
Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + "\nFailed to convert:", l); \
|
||||
} catch (const Standard_Failure& f) { \
|
||||
if (f.GetMessageString()) \
|
||||
Logger::Message(Logger::LOG_ERROR, std::string("Error in: ") + f.GetMessageString() + "\nFailed to convert:", l); \
|
||||
else \
|
||||
Logger::Message(Logger::LOG_ERROR, "Failed to convert:", l); \
|
||||
} \
|
||||
return false; \
|
||||
}
|
||||
#include "mapping_define_missing.i"
|
||||
|
||||
#include "mapping.i"
|
||||
Reference in New Issue
Block a user