From 248e60643509215bc3b3b37b4da3be0e17380b6d Mon Sep 17 00:00:00 2001 From: azakir Date: Wed, 23 Dec 2020 10:33:06 +0100 Subject: [PATCH] naming param in method declaration --- src/SMESHGUI/MG_ADAPT.cxx | 2 +- src/SMESHGUI/MG_ADAPT.hxx | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) 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(); -- 2.39.2