+// Copyright (C) 2006-2024 CEA, EDF
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
#ifndef __TOYNODE_HXX__
#define __TOYNODE_HXX__
public:
InputToyPort(const InputToyPort& other, Node *newHelder);
InputToyPort(const std::string& name, Node *node);
- void put(const void *data) throw(ConversionException);
+ void releaseData() override;
+ void put(const void *data);
InputPort *clone(Node *newHelder) const;
bool edIsManuallyInitialized() const;
- void *get() const throw(Exception);
+ void *get() const ;
void edRemoveManInit();
void put(Any *data);
~InputToyPort();
public:
OutputToyPort(const std::string& name, Node *node, TypeCode *type);
OutputToyPort(const OutputToyPort& other, Node *newHelder);
- void put(const void *data) throw(ConversionException);
+ void put(const void *data);
OutputPort *clone(Node *newHelder) const;
void put(Any *data);
~OutputToyPort();
OutputPort *edGetNbOfInputsOutputPort() { return &_nbOfInputsPort; }
std::list<OutputPort *> getSetOfOutputPort() const;
int getNumberOfOutputPorts()const;
- OutputPort *getOutputPort(const std::string& name) const throw(Exception);
+ OutputPort *getOutputPort(const std::string& name) const ;
protected:
Node *simpleClone(ComposedNode *father, bool editionOnly) const;
public:
InputPort *edGetInIntValue() const { return (InputPort *)&_inIntValue; }
int getNumberOfInputPorts() const;
std::list<InputPort *> getSetOfInputPort() const;
- InputPort *getInputPort(const std::string& name) const throw(Exception);
+ InputPort *getInputPort(const std::string& name) const ;
int getNumberOfOutputPorts() const;
std::list<OutputPort *> getSetOfOutputPort() const;
- OutputPort *getOutputPort(const std::string& name) const throw(Exception);
+ OutputPort *getOutputPort(const std::string& name) const ;
protected:
Node *simpleClone(ComposedNode *father, bool editionOnly) const;
public:
InputPort *edGetInValue2() const { return (InputPort *)&_inValue2; }
int getNumberOfInputPorts() const;
std::list<InputPort *> getSetOfInputPort() const;
- InputPort *getInputPort(const std::string& name) const throw(Exception);
+ InputPort *getInputPort(const std::string& name) const ;
int getNumberOfOutputPorts() const;
std::list<OutputPort *> getSetOfOutputPort() const;
- OutputPort *getOutputPort(const std::string& name) const throw(Exception);
+ OutputPort *getOutputPort(const std::string& name) const ;
protected:
Node *simpleClone(ComposedNode *father, bool editionOnly) const;
public:
InputPort *edGetInValue2() const { return (InputPort *)&_inValue2; }
int getNumberOfInputPorts() const;
std::list<InputPort *> getSetOfInputPort() const;
- InputPort *getInputPort(const std::string& name) const throw(Exception);
+ InputPort *getInputPort(const std::string& name) const ;
int getNumberOfOutputPorts() const;
std::list<OutputPort *> getSetOfOutputPort() const;
- OutputPort *getOutputPort(const std::string& name) const throw(Exception);
+ OutputPort *getOutputPort(const std::string& name) const ;
protected:
Node *simpleClone(ComposedNode *father, bool editionOnly) const;
public:
{
friend class LimitNode;
public:
- void put(const void *data) throw(ConversionException);
+ void put(const void *data);
InputPort *clone(Node *newHelder) const;
bool edIsManuallyInitialized() const;
- void *get() const throw(Exception);
+ void *get() const ;
void edRemoveManInit();
+ void releaseData() override;
void put(Any *data);
~InputLimitPort();
Any *getAny() { return _data; }
{
friend class LimitNode;
public:
- void put(const void *data) throw(ConversionException);
+ void put(const void *data);
OutputPort *clone(Node *newHelder) const;
void put(Any *data);
~OutputLimitPort();
OutputPort *getCounterPort() { return &_counterPort; }
std::list<InputPort *> getSetOfInputPort() const;
std::list<OutputPort *> getSetOfOutputPort() const;
- InputPort *getInputPort(const std::string& name) const throw(Exception);
- OutputPort *getOutputPort(const std::string& name) const throw(Exception);
+ InputPort *getInputPort(const std::string& name) const ;
+ OutputPort *getOutputPort(const std::string& name) const ;
LimitNode(const LimitNode& other, ComposedNode *father);
LimitNode(const std::string& name);
protected: