Remove unused function assignTag
This commit is contained in:
@@ -1093,14 +1093,6 @@ void CenterLine::createNewTag()
|
||||
tag = gen();
|
||||
}
|
||||
|
||||
void CenterLine::assignTag(const TechDraw::CenterLine* ce)
|
||||
{
|
||||
if(ce->getTypeId() == this->getTypeId())
|
||||
this->tag = ce->tag;
|
||||
else
|
||||
throw Base::TypeError("CenterLine tag can not be assigned as types do not match.");
|
||||
}
|
||||
|
||||
CenterLine *CenterLine::clone() const
|
||||
{
|
||||
CenterLine* cpy = this->copy();
|
||||
|
||||
@@ -183,7 +183,6 @@ protected:
|
||||
void initialize();
|
||||
|
||||
void createNewTag();
|
||||
void assignTag(const TechDraw::CenterLine* cl);
|
||||
|
||||
boost::uuids::uuid tag;
|
||||
|
||||
|
||||
@@ -328,14 +328,6 @@ void CosmeticEdge::createNewTag()
|
||||
tag = gen();
|
||||
}
|
||||
|
||||
void CosmeticEdge::assignTag(const TechDraw::CosmeticEdge* ce)
|
||||
{
|
||||
if(ce->getTypeId() == this->getTypeId())
|
||||
this->tag = ce->tag;
|
||||
else
|
||||
throw Base::TypeError("CosmeticEdge tag can not be assigned as types do not match.");
|
||||
}
|
||||
|
||||
CosmeticEdge* CosmeticEdge::clone() const
|
||||
{
|
||||
Base::Console().Message("CE::clone()\n");
|
||||
@@ -504,14 +496,6 @@ void GeomFormat::createNewTag()
|
||||
tag = gen();
|
||||
}
|
||||
|
||||
void GeomFormat::assignTag(const TechDraw::GeomFormat* ce)
|
||||
{
|
||||
if(ce->getTypeId() == this->getTypeId())
|
||||
this->tag = ce->tag;
|
||||
else
|
||||
throw Base::TypeError("GeomFormat tag can not be assigned as types do not match.");
|
||||
}
|
||||
|
||||
GeomFormat *GeomFormat::clone() const
|
||||
{
|
||||
GeomFormat* cpy = this->copy();
|
||||
|
||||
@@ -87,7 +87,6 @@ public:
|
||||
protected:
|
||||
//Uniqueness
|
||||
void createNewTag();
|
||||
void assignTag(const TechDraw::CosmeticEdge* ce);
|
||||
boost::uuids::uuid tag;
|
||||
|
||||
Py::Object PythonObject;
|
||||
@@ -130,7 +129,6 @@ public:
|
||||
|
||||
protected:
|
||||
void createNewTag();
|
||||
void assignTag(const TechDraw::GeomFormat* gf);
|
||||
|
||||
boost::uuids::uuid tag;
|
||||
Py::Object PythonObject;
|
||||
|
||||
@@ -255,14 +255,6 @@ void CosmeticVertex::createNewTag()
|
||||
tag = gen();
|
||||
}
|
||||
|
||||
void CosmeticVertex::assignTag(const TechDraw::CosmeticVertex* cv)
|
||||
{
|
||||
if(cv->getTypeId() == this->getTypeId())
|
||||
this->tag = cv->tag;
|
||||
else
|
||||
throw Base::TypeError("CosmeticVertex tag can not be assigned as types do not match.");
|
||||
}
|
||||
|
||||
CosmeticVertex* CosmeticVertex::copy() const
|
||||
{
|
||||
// Base::Console().Message("CV::copy()\n");
|
||||
|
||||
@@ -84,7 +84,6 @@ public:
|
||||
protected:
|
||||
//Uniqueness
|
||||
void createNewTag();
|
||||
void assignTag(const TechDraw::CosmeticVertex* cv);
|
||||
|
||||
boost::uuids::uuid tag;
|
||||
|
||||
|
||||
@@ -414,7 +414,6 @@ class TechDrawExport Vertex
|
||||
protected:
|
||||
//Uniqueness
|
||||
void createNewTag();
|
||||
void assignTag(const TechDraw::Vertex* v);
|
||||
|
||||
Base::Vector3d pnt;
|
||||
ExtractionType extractType; //obs?
|
||||
|
||||
Reference in New Issue
Block a user