Salome HOME
Merge branch 'master' into omu/workloadmanager
[modules/yacs.git] / src / engine / Node.hxx
index 7e9300058783b6a2fe77737ee0a18a2a277163c1..34c806f5e9fe386809a7ce0879068d6ac7fec633 100644 (file)
@@ -145,33 +145,33 @@ namespace YACS
       virtual std::list<OutputPort *> getLocalOutputPorts() const = 0;
       virtual std::set<InputPort *> edGetSetOfUnitializedInputPort() const;
       virtual bool edAreAllInputPortInitialized() const;
-      virtual std::string getInPortName(const InPort *) const throw (Exception) = 0;
-      virtual std::string getOutPortName(const OutPort *) const throw (Exception) = 0;
+      virtual std::string getInPortName(const InPort *) const = 0;
+      virtual std::string getOutPortName(const OutPort *) const = 0;
       virtual std::list<InputDataStreamPort *> getSetOfInputDataStreamPort() const = 0;
       virtual std::list<OutputDataStreamPort *> getSetOfOutputDataStreamPort() const = 0;
-      InPort *getInPort(const std::string& name) const throw(Exception);
-      InPropertyPort *getInPropertyPort() const throw(Exception);
-      virtual OutPort *getOutPort(const std::string& name) const throw(Exception);
+      InPort *getInPort(const std::string& name) const;
+      InPropertyPort *getInPropertyPort() const;
+      virtual OutPort *getOutPort(const std::string& name) const;
       virtual std::set<OutPort *> getAllOutPortsLeavingCurrentScope() const = 0;
       virtual std::set<InPort *> getAllInPortsComingFromOutsideOfCurrentScope() const = 0;
       virtual std::vector< std::pair<OutPort *, InPort *> > getSetOfLinksLeavingCurrentScope() const = 0;
       virtual std::vector< std::pair<InPort *, OutPort *> > getSetOfLinksComingInCurrentScope() const =0;
-      virtual InputPort *getInputPort(const std::string& name) const throw(Exception);
-      virtual OutputPort *getOutputPort(const std::string& name) const throw(Exception) = 0;
-      virtual InputDataStreamPort *getInputDataStreamPort(const std::string& name) const throw(Exception) = 0;
-      virtual OutputDataStreamPort *getOutputDataStreamPort(const std::string& name) const throw(Exception) = 0;
+      virtual InputPort *getInputPort(const std::string& name) const;
+      virtual OutputPort *getOutputPort(const std::string& name) const = 0;
+      virtual InputDataStreamPort *getInputDataStreamPort(const std::string& name) const = 0;
+      virtual OutputDataStreamPort *getOutputDataStreamPort(const std::string& name) const = 0;
       std::list<ComposedNode *> getAllAscendanceOf(ComposedNode *levelToStop = 0) const;
       bool operator>(const Node& other) const;
       bool operator<(const Node& other) const;
       std::string getImplementation() const;
       DynParaLoop *getClosestDPLAmongAncestors() const;
-      virtual ComposedNode *getRootNode() const throw(Exception);
+      virtual ComposedNode *getRootNode() const;
       virtual void setProperty(const std::string& name,const std::string& value);
       virtual std::string getProperty(const std::string& name);
       std::map<std::string,std::string> getProperties() ;
       std::map<std::string,std::string> getPropertyMap() { return _propertyMap; }
       virtual void setProperties(std::map<std::string,std::string> properties);
-      virtual Node *getChildByName(const std::string& name) const throw(Exception) = 0;
+      virtual Node *getChildByName(const std::string& name) const = 0;
       virtual Proc *getProc();
       virtual const Proc *getProc() const;
       virtual void accept(Visitor *visitor) = 0;
@@ -201,8 +201,8 @@ namespace YACS
       virtual void exForwardFailed();
       virtual void exForwardFinished();
       virtual void edDisconnectAllLinksWithMe();
-      static void checkValidityOfPortName(const std::string& name) throw(Exception);
-      static ComposedNode *checkHavingCommonFather(Node *node1, Node *node2) throw(Exception);
+      static void checkValidityOfPortName(const std::string& name);
+      static ComposedNode *checkHavingCommonFather(Node *node1, Node *node2);
     public:
       static void checkValidityOfNodeName(const std::string& name);
     };