Further address UCS2 - UCS4 incompatibility, move compatibility layer to ifcwrap/Interface.h

This commit is contained in:
Thomas Krijnen
2011-12-06 10:38:14 +00:00
parent 203dd2107e
commit 479fcd9013
4 changed files with 14 additions and 14 deletions
-8
View File
@@ -435,14 +435,6 @@ const IfcGeomObjects::IfcGeomObject* IfcGeomObjects::Get() {
bool IfcGeomObjects::Init(const std::string fn) {
return IfcGeomObjects::Init(fn, 0, 0);
}
bool IfcGeomObjects::Init(const std::vector<int>& fn) {
std::string f;
for ( std::vector<int>::const_iterator it = fn.begin(); it != fn.end(); ++ it ) {
const char c = (char) *it;
f.push_back(c);
}
return IfcGeomObjects::Init(f, 0, 0);
}
bool _Init() {
shapereps = Ifc::EntitiesByType<Ifc2x3::IfcShapeRepresentation>();
if ( ! shapereps ) return false;