Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
wenqing
ogs
Commits
8db9d2fc
Commit
8db9d2fc
authored
6 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[A/FileIO/SHPInterface] Add final + explicit.
parent
a078ff72
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/FileIO/SHPInterface.h
+5
-2
5 additions, 2 deletions
Applications/FileIO/SHPInterface.h
with
5 additions
and
2 deletions
Applications/FileIO/SHPInterface.h
+
5
−
2
View file @
8db9d2fc
...
@@ -40,7 +40,7 @@ namespace FileIO
...
@@ -40,7 +40,7 @@ namespace FileIO
/**
/**
* \brief Manages the import of ESRI shape files into GeoLib.
* \brief Manages the import of ESRI shape files into GeoLib.
*/
*/
class
SHPInterface
class
SHPInterface
final
{
{
public:
public:
/// Connection between ESRI type system for shape files and OGS GeoLib.
/// Connection between ESRI type system for shape files and OGS GeoLib.
...
@@ -54,7 +54,10 @@ public:
...
@@ -54,7 +54,10 @@ public:
};
};
/// Constructor
/// Constructor
SHPInterface
(
GeoLib
::
GEOObjects
&
geoObjects
)
:
_geoObjects
(
geoObjects
)
{}
explicit
SHPInterface
(
GeoLib
::
GEOObjects
&
geoObjects
)
:
_geoObjects
(
geoObjects
)
{
}
/// Reads the header of the shape file.
/// Reads the header of the shape file.
bool
readSHPInfo
(
const
std
::
string
&
filename
,
int
&
shapeType
,
int
&
numberOfEntities
);
bool
readSHPInfo
(
const
std
::
string
&
filename
,
int
&
shapeType
,
int
&
numberOfEntities
);
...
...
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