]> SALOME platform Git repositories - modules/yacs.git/blob - src/engine/DataStreamPort.hxx
Salome HOME
2556d8ad8e2401136404ec4e65db13a0db9cdc78
[modules/yacs.git] / src / engine / DataStreamPort.hxx
1 #ifndef __DATASTREAMPORT_HXX__
2 #define __DATASTREAMPORT_HXX__
3
4 #include "DataPort.hxx"
5 #include "TypeCode.hxx"
6
7 #include <string>
8 #include <map>
9
10 namespace YACS
11 {
12   namespace ENGINE
13   {
14     class DataStreamPort : public virtual DataPort
15     {
16     public:
17       static const char NAME[];
18     protected:
19       DataStreamPort(const DataStreamPort& other, Node *newHelder);
20       DataStreamPort(const std::string& name, Node *node, TypeCode* type);
21       std::map<std::string,std::string> _propertyMap;
22     public:
23       std::string getNameOfTypeOfCurrentInstance() const;
24       bool isDifferentTypeOf(const DataPort *other) const;
25       virtual void setProperty(const std::string& name,const std::string& value);
26       virtual std::string getProperty(const std::string& name);
27       std::map<std::string,std::string> getPropertyMap() const { return _propertyMap; }
28       virtual void initPortProperties();
29       virtual ~DataStreamPort();
30     };
31   }
32 }
33
34 #endif