Salome HOME
PR: merge from BR_DATACONV_PR tag "mergeto_trunk_25oct06"
[modules/yacs.git] / src / engine / DataStreamPort.hxx
index dc080386036cd6f22ac4fce6c5c5933cd70923db..9aef868f3ee8f34b039c5dd04e2dc9fb5ce0a268 100644 (file)
@@ -2,7 +2,7 @@
 #define __DATASTREAMPORT_HXX__
 
 #include "Port.hxx"
-#include "define.hxx"
+#include "TypeCode.hxx"
 
 #include <string>
 
@@ -14,15 +14,15 @@ namespace YACS
     {
     protected:
       std::string _name;
-      StreamType _edType;
+      TypeCode* _edType;
     public:
       static const char NAME[];
     protected:
-      DataStreamPort(const std::string& name, Node *node, StreamType type);
+      DataStreamPort(const std::string& name, Node *node, TypeCode* type);
     public:
       std::string getNameOfTypeOfCurrentInstance() const;
       std::string getName() const { return _name; }
-      StreamType edGetType() const { return _edType; }
+      TypeCode* edGetType() const { return _edType; }
     };
   }
 }