X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCALCULATOR%2FCALCULATOR.hxx;h=b714af96641f9741bc99b7090f704ec3b48e3652;hb=fb567bb3f80fdbed3e4ba45229843475a7a0dff6;hp=d2b1d1e2dfc2ccd77e8d934c6f967360ed1d1be3;hpb=6bd5fcba30a4ad47bddc09fd15dc052f3b8ccbb3;p=samples%2Fcalculator.git diff --git a/src/CALCULATOR/CALCULATOR.hxx b/src/CALCULATOR/CALCULATOR.hxx index d2b1d1e..b714af9 100644 --- a/src/CALCULATOR/CALCULATOR.hxx +++ b/src/CALCULATOR/CALCULATOR.hxx @@ -14,7 +14,7 @@ // 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/ +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef _CALCULATOR_HXX_ #define _CALCULATOR_HXX_ @@ -43,11 +43,15 @@ public: CORBA::Double norm2(SALOME_MED::FIELDDOUBLE_ptr field1); CORBA::Double normL1(SALOME_MED::FIELDDOUBLE_ptr field1); SALOME_MED::FIELDDOUBLE_ptr applyLin(SALOME_MED::FIELDDOUBLE_ptr field1,CORBA::Double a,CORBA::Double b); - SALOME_MED::FIELDDOUBLE_ptr add(SALOME_MED::FIELDDOUBLE_ptr field1, SALOME_MED::FIELDDOUBLE_ptr field2) - throw ( SALOME::SALOME_Exception ); + SALOME_MED::FIELDDOUBLE_ptr add(SALOME_MED::FIELDDOUBLE_ptr field1, SALOME_MED::FIELDDOUBLE_ptr field2); void printField(SALOME_MED::FIELDDOUBLE_ptr field); void cloneField(SALOME_MED::FIELDDOUBLE_ptr field, SALOME_MED::FIELDDOUBLE_out clone1, SALOME_MED::FIELDDOUBLE_out clone2, SALOME_MED::FIELDDOUBLE_out clone3, SALOME_MED::FIELDDOUBLE_out clone4); + CORBA::Boolean isDone(); + CALCULATOR_ORB::ErrorCode getErrorCode(); + +protected: + CALCULATOR_ORB::ErrorCode _errorCode; };