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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
c09a9471
Commit
c09a9471
authored
15 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
BUG: avoid using 'using'
parent
53a8bcb6
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
Code/IO/otbKMLVectorDataIO.h
+13
-22
13 additions, 22 deletions
Code/IO/otbKMLVectorDataIO.h
Code/IO/otbKMLVectorDataIO.txx
+4
-4
4 additions, 4 deletions
Code/IO/otbKMLVectorDataIO.txx
with
17 additions
and
26 deletions
Code/IO/otbKMLVectorDataIO.h
+
13
−
22
View file @
c09a9471
...
...
@@ -26,11 +26,6 @@
#include
"kml/dom.h"
#include
"kml/base/file.h"
using
kmldom
::
KmlPtr
;
using
kmldom
::
ElementPtr
;
using
kmldom
::
FeaturePtr
;
using
kmldom
::
GeometryPtr
;
using
kmldom
::
ContainerPtr
;
namespace
otb
{
...
...
@@ -110,34 +105,30 @@ protected:
virtual
void
PrintSelf
(
std
::
ostream
&
os
,
itk
::
Indent
indent
)
const
;
static
const
FeaturePtr
GetRootFeature
(
const
ElementPtr
&
root
);
static
const
kmldom
::
FeaturePtr
GetRootFeature
(
const
kmldom
::
ElementPtr
&
root
);
static
void
PrintIndented
(
std
::
string
item
,
int
depth
);
static
void
PrintFeature
(
const
FeaturePtr
&
feature
,
int
depth
);
static
void
PrintFeature
(
const
kmldom
::
FeaturePtr
&
feature
,
int
depth
);
void
WalkGeometry
(
const
GeometryPtr
&
geometry
,
DataNodePointerType
father
);
void
WalkGeometry
(
const
kmldom
::
GeometryPtr
&
geometry
,
DataNodePointerType
father
);
void
WalkFeature
(
const
FeaturePtr
&
feature
,
DataNodePointerType
father
);
void
WalkFeature
(
const
kmldom
::
FeaturePtr
&
feature
,
DataNodePointerType
father
);
void
WalkContainer
(
const
ContainerPtr
&
container
,
DataNodePointerType
father
);
void
WalkContainer
(
const
kmldom
::
ContainerPtr
&
container
,
DataNodePointerType
father
);
/** Conversion tools */
DataNodePointerType
ConvertGeometryToPointNode
(
const
GeometryPtr
&
geometry
);
DataNodePointerType
ConvertGeometryToLineStringNode
(
const
GeometryPtr
&
geometry
);
DataNodePointerType
ConvertGeometryToLinearRingNode
(
const
GeometryPtr
&
geometry
);
DataNodePointerType
ConvertGeometryToPolygonNode
(
const
GeometryPtr
&
geometry
);
DataNodePointerType
ConvertGeometryToPointNode
(
const
kmldom
::
GeometryPtr
&
geometry
);
DataNodePointerType
ConvertGeometryToLineStringNode
(
const
kmldom
::
GeometryPtr
&
geometry
);
DataNodePointerType
ConvertGeometryToLinearRingNode
(
const
kmldom
::
GeometryPtr
&
geometry
);
DataNodePointerType
ConvertGeometryToPolygonNode
(
const
kmldom
::
GeometryPtr
&
geometry
);
/** end conversion tools */
typedef
kmldom
::
KmlPtr
KmlPtr
;
typedef
kmldom
::
KmlFactory
KmlFactory
;
typedef
kmldom
::
DocumentPtr
DocumentPtr
;
typedef
kmldom
::
FolderPtr
FolderPtr
;
typedef
kmldom
::
MultiGeometryPtr
MultiGeometryPtr
;
void
ProcessNodeWrite
(
InternalTreeNodeType
*
source
,
KmlFactory
*
factory
,
KmlPtr
kml
,
DocumentPtr
currentDocument
,
FolderPtr
currentFolder
,
MultiGeometryPtr
currentMultiGeometry
);
void
ProcessNodeWrite
(
InternalTreeNodeType
*
source
,
kmldom
::
KmlFactory
*
factory
,
kmldom
::
KmlPtr
kml
,
kmldom
::
DocumentPtr
currentDocument
,
kmldom
::
FolderPtr
currentFolder
,
kmldom
::
MultiGeometryPtr
currentMultiGeometry
);
private:
KMLVectorDataIO
(
const
Self
&
);
//purposely not implemented
...
...
This diff is collapsed.
Click to expand it.
Code/IO/otbKMLVectorDataIO.txx
+
4
−
4
View file @
c09a9471
...
...
@@ -45,12 +45,12 @@ namespace otb
template<class TData>
KMLVectorDataIO<TData>
::KMLVectorDataIO()
{
}
{
}
template<class TData>
KMLVectorDataIO<TData>::~KMLVectorDataIO()
{
}
{
}
template<class TData>
bool
KMLVectorDataIO<TData>::CanReadFile( const char* filename ) const
...
...
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