Salome HOME
9476c510065cff548720b3bb432797352b07bf7c
[modules/yacs.git] / src / engine / Port.cxx
1 #include "Port.hxx"
2 #include <iostream>
3
4 using namespace YACS::ENGINE;
5 using namespace std;
6
7 const char Port::NAME[]="Port";
8
9 int Port::_total = 0;
10
11 Port::Port(Node *node):_node(node)
12 {
13   _id = _total++;
14 }
15
16 Port::Port(const Port& other, Node *newHelder):_node(newHelder)
17 {
18   _id = _total++;
19 }
20
21 Port::~Port()
22 {
23 }
24
25 string Port::getNameOfTypeOfCurrentInstance() const
26 {
27   return NAME;
28 }