Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / engine / InputDataStreamPort.hxx
1 #ifndef __INPUTDATASTREAMPORT_HXX__
2 #define __INPUTDATASTREAMPORT_HXX__
3
4 #include "InPort.hxx"
5 #include "DataStreamPort.hxx"
6
7 namespace YACS
8 {
9   namespace ENGINE
10   {
11     /*! \brief Class for Input DataStream Ports
12      *
13      * \ingroup Ports
14      *
15      */
16     class InputDataStreamPort : public DataStreamPort, public InPort
17     {
18     public:
19       static const char NAME[];
20     public:
21       InputDataStreamPort(const InputDataStreamPort& other, Node *newHelder);
22       InputDataStreamPort(const std::string& name, Node *node, TypeCode* type);
23       virtual ~InputDataStreamPort();
24       virtual std::string getNameOfTypeOfCurrentInstance() const;
25       virtual InputDataStreamPort *clone(Node *newHelder) const;
26     };
27   }
28 }
29
30 #endif