Salome HOME
#18963 Minimize compiler warnings
[modules/med.git] / src / MEDCalculator / MEDCalculatorDBField.hxx
index ddaa60f1be6052421cbf89869d50c4b2bd9cdb85..5ccd86f9f808f8ff5ea3756c9e25ac0de1731bde 100644 (file)
@@ -47,14 +47,14 @@ namespace MEDCoupling
     static MEDCalculatorDBFieldCst *New(double val);
     std::size_t getHeapMemorySizeWithoutChildren() const;
     std::vector<const BigMemoryObject *> getDirectChildrenWithNull() const;
-    virtual MEDCalculatorDBField *operator+(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception) = 0;
-    MEDCalculatorDBField *operator+(double val) const throw(INTERP_KERNEL::Exception);
-    virtual MEDCalculatorDBField *operator-(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception) = 0;
-    MEDCalculatorDBField *operator-(double val) const throw(INTERP_KERNEL::Exception);
-    virtual MEDCalculatorDBField *operator*(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception) = 0;
-    MEDCalculatorDBField *operator*(double val) const throw(INTERP_KERNEL::Exception);
-    virtual MEDCalculatorDBField *operator/(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception) = 0;
-    MEDCalculatorDBField *operator/(double val) const throw(INTERP_KERNEL::Exception);
+    virtual MEDCalculatorDBField *operator+(const MEDCalculatorDBField& other) const = 0;
+    MEDCalculatorDBField *operator+(double val) const;
+    virtual MEDCalculatorDBField *operator-(const MEDCalculatorDBField& other) const = 0;
+    MEDCalculatorDBField *operator-(double val) const;
+    virtual MEDCalculatorDBField *operator*(const MEDCalculatorDBField& other) const = 0;
+    MEDCalculatorDBField *operator*(double val) const;
+    virtual MEDCalculatorDBField *operator/(const MEDCalculatorDBField& other) const = 0;
+    MEDCalculatorDBField *operator/(double val) const;
     virtual bool isEqual(const MEDCalculatorDBField& other, double precM, double precF) const = 0;
   };
 
@@ -65,44 +65,44 @@ namespace MEDCoupling
     ~MEDCalculatorDBFieldReal();
     void setName(const char *name);
     void setDescription(const char *descr);
-    void write(const char *fName, bool writeFromScratch) const throw(INTERP_KERNEL::Exception);
-    void display() const throw(INTERP_KERNEL::Exception);
+    void write(const char *fName, bool writeFromScratch) const;
+    void display() const;
     std::string simpleRepr() const;
-    MEDCalculatorDBFieldReal *operator()(const MEDCalculatorDBRangeSelection& t, const MEDCalculatorDBRangeSelection& p, const MEDCalculatorDBRangeSelection& c) throw(INTERP_KERNEL::Exception);
-    const MEDCalculatorDBFieldReal& operator=(const MEDCalculatorDBFieldReal& other) throw(INTERP_KERNEL::Exception);
-    const MEDCalculatorDBFieldReal& operator=(double val) throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator+(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *add(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator-(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *substract(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator*(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *multiply(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator/(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *divide(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator^(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *dot(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *crossProduct(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *doublyContractedProduct() const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *determinant() const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *eigenValues() const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *eigenVectors() const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *inverse() const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *trace() const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *deviator() const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *magnitude() const throw(INTERP_KERNEL::Exception);
-    void applyFunc(const char *func) throw(INTERP_KERNEL::Exception);
+    MEDCalculatorDBFieldReal *operator()(const MEDCalculatorDBRangeSelection& t, const MEDCalculatorDBRangeSelection& p, const MEDCalculatorDBRangeSelection& c);
+    const MEDCalculatorDBFieldReal& operator=(const MEDCalculatorDBFieldReal& other);
+    const MEDCalculatorDBFieldReal& operator=(double val);
+    MEDCalculatorDBField *operator+(const MEDCalculatorDBField& other) const;
+    MEDCalculatorDBField *add(const MEDCalculatorDBFieldReal& other) const;
+    MEDCalculatorDBField *operator-(const MEDCalculatorDBField& other) const;
+    MEDCalculatorDBField *substract(const MEDCalculatorDBFieldReal& other) const;
+    MEDCalculatorDBField *operator*(const MEDCalculatorDBField& other) const;
+    MEDCalculatorDBField *multiply(const MEDCalculatorDBFieldReal& other) const;
+    MEDCalculatorDBField *operator/(const MEDCalculatorDBField& other) const;
+    MEDCalculatorDBField *divide(const MEDCalculatorDBFieldReal& other) const;
+    MEDCalculatorDBField *operator^(const MEDCalculatorDBFieldReal& other) const;
+    MEDCalculatorDBField *dot(const MEDCalculatorDBFieldReal& other) const;
+    MEDCalculatorDBField *crossProduct(const MEDCalculatorDBFieldReal& other) const;
+    MEDCalculatorDBField *doublyContractedProduct() const;
+    MEDCalculatorDBField *determinant() const;
+    MEDCalculatorDBField *eigenValues() const;
+    MEDCalculatorDBField *eigenVectors() const;
+    MEDCalculatorDBField *inverse() const;
+    MEDCalculatorDBField *trace() const;
+    MEDCalculatorDBField *deviator() const;
+    MEDCalculatorDBField *magnitude() const;
+    void applyFunc(const char *func);
     bool isEqual(const MEDCalculatorDBField& other, double precM, double precF) const;
     bool isEqualSameType(const MEDCalculatorDBFieldReal& other, double precM, double precF) const;
     MEDCalculatorDBFieldReal *buildCstFieldFromThis(double val) const;
-    void checkConsistencyLight(const MEDCalculatorDBFieldReal& other) const throw(INTERP_KERNEL::Exception);
-    void fetchData() const throw(INTERP_KERNEL::Exception);
+    void checkConsistencyLight(const MEDCalculatorDBFieldReal& other) const;
+    void fetchData() const;
     TypeOfField getType() const { return _type; }
     int getNumberOfSteps() const;
     int getNumberOfFetchedSteps() const;
     int getNumberOfComponents() const;
-    std::vector<MEDCouplingFieldDouble *> getFields() const throw(INTERP_KERNEL::Exception);
-    std::string getInfoOnComponent(int i) const throw(INTERP_KERNEL::Exception);
-    void setInfoOnComponent(int i, const char *info) throw(INTERP_KERNEL::Exception);
+    std::vector<MEDCouplingFieldDouble *> getFields() const;
+    std::string getInfoOnComponent(int i) const;
+    void setInfoOnComponent(int i, const char *info);
   private:
     MEDCalculatorDBFieldReal(TypeOfField type);
   private:
@@ -124,10 +124,10 @@ namespace MEDCoupling
   {
   public:
     MEDCalculatorDBFieldCst(double val);
-    MEDCalculatorDBField *operator+(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator-(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator*(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
-    MEDCalculatorDBField *operator/(const MEDCalculatorDBField& other) const throw(INTERP_KERNEL::Exception);
+    MEDCalculatorDBField *operator+(const MEDCalculatorDBField& other) const;
+    MEDCalculatorDBField *operator-(const MEDCalculatorDBField& other) const;
+    MEDCalculatorDBField *operator*(const MEDCalculatorDBField& other) const;
+    MEDCalculatorDBField *operator/(const MEDCalculatorDBField& other) const;
     bool isEqual(const MEDCalculatorDBField& other, double precM, double precF) const;
     MEDCalculatorDBFieldReal *convertIntoReal(const MEDCalculatorDBFieldReal& ref) const;
     double getValue() const { return _val; }