]> SALOME platform Git repositories - modules/yacs.git/blob - src/engine/DataStreamPort.hxx
Salome HOME
9aef868f3ee8f34b039c5dd04e2dc9fb5ce0a268
[modules/yacs.git] / src / engine / DataStreamPort.hxx
1 #ifndef __DATASTREAMPORT_HXX__
2 #define __DATASTREAMPORT_HXX__
3
4 #include "Port.hxx"
5 #include "TypeCode.hxx"
6
7 #include <string>
8
9 namespace YACS
10 {
11   namespace ENGINE
12   {
13     class DataStreamPort : public virtual Port
14     {
15     protected:
16       std::string _name;
17       TypeCode* _edType;
18     public:
19       static const char NAME[];
20     protected:
21       DataStreamPort(const std::string& name, Node *node, TypeCode* type);
22     public:
23       std::string getNameOfTypeOfCurrentInstance() const;
24       std::string getName() const { return _name; }
25       TypeCode* edGetType() const { return _edType; }
26     };
27   }
28 }
29
30 #endif