From: azakir Date: Wed, 23 Dec 2020 09:33:06 +0000 (+0100) Subject: naming param in method declaration X-Git-Tag: V9_7_0a1~18^2~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=248e60643509215bc3b3b37b4da3be0e17380b6d;p=modules%2Fsmesh.git naming param in method declaration --- diff --git a/src/SMESHGUI/MG_ADAPT.cxx b/src/SMESHGUI/MG_ADAPT.cxx index b65696e97..8a74bc78e 100644 --- a/src/SMESHGUI/MG_ADAPT.cxx +++ b/src/SMESHGUI/MG_ADAPT.cxx @@ -370,7 +370,7 @@ void MgAdapt::setConstantValue(double cnst) { constantValue = cnst; } -bool MgAdapt::getConstantValue() +double MgAdapt::getConstantValue() const { return constantValue; } diff --git a/src/SMESHGUI/MG_ADAPT.hxx b/src/SMESHGUI/MG_ADAPT.hxx index 379671f91..e25101dfb 100644 --- a/src/SMESHGUI/MG_ADAPT.hxx +++ b/src/SMESHGUI/MG_ADAPT.hxx @@ -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();