1 #ifndef __OUTPORT_HXX__
2 #define __OUTPORT_HXX__
4 #include "DataPort.hxx"
5 #include "Exception.hxx"
15 class OutPort : public virtual DataPort
18 OutPort(const OutPort& other, Node *newHelder);
19 OutPort(const std::string& name, Node *node, TypeCode* type);
21 virtual int edGetNumberOfOutLinks() const;
22 virtual std::set<InPort *> edSetInPort() const = 0;
23 virtual bool isAlreadyLinkedWith(InPort *with) const = 0;
24 virtual void getAllRepresented(std::set<OutPort *>& represented) const;
25 virtual bool addInPort(InPort *inPort) throw(Exception) = 0;
26 virtual int removeInPort(InPort *inPort, bool forward) throw(Exception) = 0;
28 std::vector<DataPort *> calculateHistoryOfLinkWith(InPort *end);