Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / engine / Port.hxx
index 53ef31a194bbeed4e614f0cdd740ad7b94c3a44a..b886c01553494d092c9bdebe322b1d54be5f2bc4 100644 (file)
@@ -22,23 +22,17 @@ namespace YACS
     {
     public:
       virtual ~Port();
-
       Node *getNode() const { return _node; }
-      std::string getImpl() const {return _impl; }
-
       virtual std::string getNameOfTypeOfCurrentInstance() const;
-      //      virtual TypeCode * type();
-
-      static const char NAME[];
-
+      int getNumId() const { return _id; }
     protected:
       Port(Node *node);
-
+      Port(const Port& other, Node *newHelder);
+    protected:
       Node        *_node;
-      std::string  _impl;
-      TypeCode    *_type;
-      int          id_;
-      static int   total_;
+      int          _id;
+      static int   _total;
+      static const char NAME[];
     };
   }
 }