]> AND Private Git Repository - blast.git/blobdiff - FunctionalInterface.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
started to include patterns in implementation
[blast.git] / FunctionalInterface.cpp
index 7224b3fc7f923e5cd7fd4820d9a15d5635b1c450..495d60e9b7f31182ed924b7af34d5a4d56a66619 100644 (file)
@@ -76,10 +76,7 @@ AbstractInterface *FunctionalInterface::clone() {
   int id = getInterfaceMultiplicity();\r
   if (id < 0) return NULL;\r
   FunctionalInterface *inter = new FunctionalInterface(owner, reference);\r
   int id = getInterfaceMultiplicity();\r
   if (id < 0) return NULL;\r
   FunctionalInterface *inter = new FunctionalInterface(owner, reference);\r
-  inter->setWidth(width);\r
-  inter->setDirection(direction);\r
-  inter->setPurpose(purpose);  \r
-  inter->connectFrom(NULL);\r
+  inter->setWidth(width);  \r
   inter->setName(reference->getName()+"_"+QString::number(id+1));\r
   return inter;\r
 }\r
   inter->setName(reference->getName()+"_"+QString::number(id+1));\r
   return inter;\r
 }\r