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

Private GIT Repository
removed leve attr. from interfaces
[blast.git] / ReferenceInterface.cpp
index 8aca1329f1cbcb29efa027868071753db643cf69..faa51e842eb6e858d2f97ad69c68e92b7d2e9c8a 100644 (file)
@@ -11,9 +11,8 @@ ReferenceInterface::ReferenceInterface(AbstractBlock* _owner,
                                        const QString& _width,
                                        int _direction,
                                        int _purpose,
                                        const QString& _width,
                                        int _direction,
                                        int _purpose,
-                                       int _level,
                                        int _multiplicity)
                                        int _multiplicity)
-throw (Exception) : AbstractInterface(_owner, _name, _type, _width, _direction, _purpose, _level) {
+throw (Exception) : AbstractInterface(_owner, _name, _type, _width, _direction, _purpose) {
 
   if (_owner->isReferenceBlock()) throw(Exception(BLOCK_INVALID_TYPE));
 
 
   if (_owner->isReferenceBlock()) throw(Exception(BLOCK_INVALID_TYPE));
 
@@ -49,14 +48,6 @@ int ReferenceInterface::translatePurpose(const QString& txt) {
   return Data;
 }
 
   return Data;
 }
 
-int ReferenceInterface::translateLevel(const QString& txt) {
-
-  if (txt == "top") {
-    return Top;
-  }
-  return Basic;
-}
-
 int ReferenceInterface::translateMultiplicity(const QString& txt) {
   bool ok;
   int mult;
 int ReferenceInterface::translateMultiplicity(const QString& txt) {
   bool ok;
   int mult;