| 992 | |
| 993 | template <typename Schema> |
| 994 | typename Schema::IfcShapeRepresentation* IfcHierarchyHelper<Schema>::addEmptyRepresentation(const std::string& repid, const std::string& reptype) { |
| 995 | typename Schema::IfcRepresentationItem::list::ptr items(new typename Schema::IfcRepresentationItem::list); |
| 996 | typename Schema::IfcShapeRepresentation* shape_rep = new typename Schema::IfcShapeRepresentation(getRepresentationContext(reptype == "Curve2D" ? "Plan" : "Model"), repid, reptype, items); |
| 997 | addEntity(shape_rep); |
| 998 | return shape_rep; |
| 999 | } |
| 1000 | |
| 1001 | namespace { |
| 1002 | template <typename T, typename U> |