Salome HOME
naming param in method declaration
authorazakir <abdoulbari.zakir@csgroup.eu>
Wed, 23 Dec 2020 09:33:06 +0000 (10:33 +0100)
committerazakir <abdoulbari.zakir@csgroup.eu>
Wed, 23 Dec 2020 09:33:06 +0000 (10:33 +0100)
src/SMESHGUI/MG_ADAPT.cxx
src/SMESHGUI/MG_ADAPT.hxx

index b65696e972a48cb8fb05b236e5d4caf704c9becb..8a74bc78ea4c41614a0e8b34c6ee5191419be956 100644 (file)
@@ -370,7 +370,7 @@ void MgAdapt::setConstantValue(double cnst)
 {
     constantValue = cnst;
 }
-bool MgAdapt::getConstantValue()
+double MgAdapt::getConstantValue() const
 {
     return constantValue;
 }
index 379671f91ce4c602295adf5253b1e090d518087c..e25101dfb1bef89874f4b3bfc1056be3bccc5976 100644 (file)
@@ -120,45 +120,45 @@ public:
     void buildModel();
     void setData( MgAdaptHypothesisData*);
 
-    void setMedFileIn(std::string);
+    void setMedFileIn(std::string fileName);
     std::string getMedFileIn();
 
-    void setMedFileOut(std::string);
+    void setMedFileOut(std::string fileOut);
     std::string getMedFileOut();
 
-    void setMeshName(std::string);
+    void setMeshName(std::string name);
     std::string getMeshName();
 
-    void setMeshNameOut(std::string);
+    void setMeshNameOut(std::string  name);
     std::string getMeshNameOut();
 
-    void setMeshOutMed(bool);
+    void setMeshOutMed(bool mybool);
     bool getMeshOutMed();
 
-    void setPublish(bool);
+    void setPublish(bool mybool);
     bool getPublish();
 
-    void setFieldName(std::string);
+    void setFieldName(std::string myFieldName);
     std::string getFieldName();
 
-    void setTimeStep(int);
+    void setTimeStep(int time);
     int getTimeStep() const;
 
-    void setRankTimeStep(int, int );
+    void setRankTimeStep(int time, int myRank);
     int getRank();
 
     void setLogFile(std::string);
     std::string getLogFile();
 
-    void setVerbosityLevel(int);
+    void setVerbosityLevel(int verbosity);
     int getVerbosityLevel();
 
-    void setRemoveOnSuccess(bool);
+    void setRemoveOnSuccess(bool mybool);
     bool getRemoveOnSuccess();
 
     MgAdaptHypothesisData* getData() const;
 
-    void setUseLocalMap(bool);
+    void setUseLocalMap(bool mybool);
     bool getUseLocalMap();
 
     void setUseBackgroundMap(bool);
@@ -168,7 +168,7 @@ public:
     bool getUseConstantValue();
 
     void setConstantValue(double);
-    bool getConstantValue();
+    double getConstantValue() const;
 
     void setSizeMapFile(std::string);
     std::string getSizeMapFile();