Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
6df7aaf1
Commit
6df7aaf1
authored
7 years ago
by
Jordi Inglada
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: capitalisation of method name
parent
d54d757c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Radiometry/Simulation/include/otbSoilDataBase.h
+1
-1
1 addition, 1 deletion
Modules/Radiometry/Simulation/include/otbSoilDataBase.h
Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx
+2
-2
2 additions, 2 deletions
Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx
with
3 additions
and
3 deletions
Modules/Radiometry/Simulation/include/otbSoilDataBase.h
+
1
−
1
View file @
6df7aaf1
...
...
@@ -43,7 +43,7 @@ public:
double
GetReflectance
(
size_t
SoilIndex
,
WavelenghtType
wl
)
const
;
protected:
size_t
c
ountColumns
(
std
::
string
fileName
)
const
;
size_t
C
ountColumns
(
std
::
string
fileName
)
const
;
void
ParseSoilFile
();
std
::
string
m_SoilFileName
;
...
...
This diff is collapsed.
Click to expand it.
Modules/Radiometry/Simulation/src/otbSoilDataBase.cxx
+
2
−
2
View file @
6df7aaf1
...
...
@@ -75,7 +75,7 @@ double SoilDataBase::GetReflectance(size_t SoilIndex, WavelenghtType wl) const
}
}
size_t
SoilDataBase
::
c
ountColumns
(
std
::
string
fileName
)
const
size_t
SoilDataBase
::
C
ountColumns
(
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
=
c
ountColumns
(
m_SoilFileName
)
-
1
;
unsigned
int
number_of_soils
=
C
ountColumns
(
m_SoilFileName
)
-
1
;
m_SoilDataVector
.
resize
(
number_of_soils
);
std
::
ifstream
sdb
(
m_SoilFileName
);
std
::
string
line
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment