Rename AddEntity to addEntity

This commit is contained in:
Thomas Krijnen
2015-02-17 19:55:27 +00:00
parent 846e881cf4
commit e3d5b6220d
11 changed files with 113 additions and 113 deletions
+4 -4
View File
@@ -44,7 +44,7 @@ public:
T* addTriplet(double x, double y, double z) {
std::vector<double> a; a.push_back(x); a.push_back(y); a.push_back(z);
T* t = new T(a);
AddEntity(t);
addEntity(t);
return t;
}
@@ -52,7 +52,7 @@ public:
T* addDoublet(double x, double y) {
std::vector<double> a; a.push_back(x); a.push_back(y);
T* t = new T(a);
AddEntity(t);
addEntity(t);
return t;
}
@@ -101,7 +101,7 @@ public:
IfcSchema::IfcObjectDefinition::list::ptr relating_objects (new IfcTemplatedEntityList<IfcSchema::IfcObjectDefinition>());
relating_objects->push(relating_object);
T* t = new T(IfcWrite::IfcGuidHelper(), owner_hist, boost::none, boost::none, related_object, relating_objects);
AddEntity(t);
addEntity(t);
}
}
@@ -199,7 +199,7 @@ inline void IfcHierarchyHelper::addRelatedObject <IfcSchema::IfcRelContainedInSp
IfcSchema::IfcRelContainedInSpatialStructure* t = new IfcSchema::IfcRelContainedInSpatialStructure(IfcWrite::IfcGuidHelper(), owner_hist,
boost::none, boost::none, relating_objects, (IfcSchema::IfcSpatialStructureElement*)related_object);
AddEntity(t);
addEntity(t);
}
}