-// Copyright (C) 2006-2016 CEA/DEN, EDF R&D
+// 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
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: