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
fee3ad1b
Commit
fee3ad1b
authored
16 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
ENH: add class to handle ogr metadata
parent
e504b4ae
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/otbVectorDataMetaData.cxx
+38
-0
38 additions, 0 deletions
Code/IO/otbVectorDataMetaData.cxx
Code/IO/otbVectorDataMetaData.h
+72
-0
72 additions, 0 deletions
Code/IO/otbVectorDataMetaData.h
with
110 additions
and
0 deletions
Code/IO/otbVectorDataMetaData.cxx
0 → 100644
+
38
−
0
View file @
fee3ad1b
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include
"otbVectorDataMetaData.h"
void
otb
::
VectorDataMetaData
::
Print
(
std
::
ostream
&
os
)
const
{
os
<<
"[UNKNOWN_PRINT_CHARACTERISTICS]"
<<
std
::
endl
;
}
otb
::
VectorDataMetaData
::
VectorDataMetaData
()
{
//Nothing to do here
}
otb
::
VectorDataMetaData
::~
VectorDataMetaData
()
{
//Nothing to do here
}
This diff is collapsed.
Click to expand it.
Code/IO/otbVectorDataMetaData.h
0 → 100644
+
72
−
0
View file @
fee3ad1b
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otbVectorDataMetaData_h
#define __otbVectorDataMetaData_h
#include
"itkLightObject.h"
#include
"itkObjectFactory.h"
#include
<vector>
#include
"ogr_feature.h"
namespace
otb
{
/** \class VectorDataMetaData
* \brief this class represents the metadata of vector data.
*
*/
class
VectorDataMetaData
:
public
itk
::
LightObject
{
public:
/** Smart pointer typedef support. */
typedef
VectorDataMetaData
Self
;
typedef
itk
::
LightObject
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
/** Method for creation through the object factory. */
itkNewMacro
(
Self
);
/** Run-time type information (and related methods). */
itkTypeMacro
(
VectorDataMetaData
,
LightObject
);
typedef
std
::
vector
<
OGRFieldDefn
>
FeatureListType
;
virtual
void
Print
(
std
::
ostream
&
os
)
const
;
protected:
VectorDataMetaData
();
virtual
~
VectorDataMetaData
();
private:
VectorDataMetaData
(
const
Self
&
);
//purposely not implemented
void
operator
=
(
const
Self
&
);
//purposely not implemented
FeatureListType
m_FeatureList
;
};
}
#endif
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