diff --git a/Modules/Radiometry/Simulation/include/otbSoilDataBase.h b/Modules/Radiometry/Simulation/include/otbSoilDataBase.h index c66bd78d82c0c13ba7c6df97f1f4e654c6e32d27..1a288b56fc55969537fd6e92d29522478f5fd934 100644 --- a/Modules/Radiometry/Simulation/include/otbSoilDataBase.h +++ b/Modules/Radiometry/Simulation/include/otbSoilDataBase.h @@ -43,7 +43,7 @@ public: double GetReflectance(size_t SoilIndex, WavelenghtType wl) const; protected: - size_t countColumns(std::string fileName) const; + size_t CountColumns(std::string fileName) const; void ParseSoilFile(); std::string m_SoilFileName; diff --git a/Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx b/Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx index 7e5b5d6b390eec705a24a1cb0ac7c9beee2806ea..9b95f9fe4d5ca3843c7a1a70cd07a20ee25c7583 100644 --- a/Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx +++ b/Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx @@ -75,7 +75,7 @@ double SoilDataBase::GetReflectance(size_t SoilIndex, WavelenghtType wl) const } } -size_t SoilDataBase::countColumns(std::string fileName) const +size_t SoilDataBase::CountColumns(std::string fileName) const { std::ifstream ifile(fileName.c_str()); std::string line; @@ -101,7 +101,7 @@ size_t SoilDataBase::countColumns(std::string fileName) const } void SoilDataBase::ParseSoilFile() { - unsigned int number_of_soils = countColumns(m_SoilFileName) - 1; + unsigned int number_of_soils = CountColumns(m_SoilFileName) - 1; m_SoilDataVector.resize(number_of_soils); std::ifstream sdb(m_SoilFileName); std::string line;