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
b05c1b5c
Commit
b05c1b5c
authored
12 years ago
by
Luc Hermitte
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: OTB-134/OGR
parent
e7602892
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/UtilitiesAdapters/OGRAdapters/otbOGRFieldWrapper.cxx
+4
-4
4 additions, 4 deletions
Code/UtilitiesAdapters/OGRAdapters/otbOGRFieldWrapper.cxx
Code/UtilitiesAdapters/OGRAdapters/otbOGRFieldWrapper.h
+4
-4
4 additions, 4 deletions
Code/UtilitiesAdapters/OGRAdapters/otbOGRFieldWrapper.h
with
8 additions
and
8 deletions
Code/UtilitiesAdapters/OGRAdapters/otbOGRFieldWrapper.cxx
+
4
−
4
View file @
b05c1b5c
...
...
@@ -84,14 +84,14 @@ BOOST_STATIC_ASSERT((boost::is_contiguous<std::vector<int> >::value));
std
::
string
otb
::
ogr
::
FieldDefn
::
GetName
()
const
{
assert
(
m_
d
efinition
&&
"No field definition wrapped"
);
return
m_
d
efinition
->
GetNameRef
();
assert
(
m_
D
efinition
&&
"No field definition wrapped"
);
return
m_
D
efinition
->
GetNameRef
();
}
OGRFieldType
otb
::
ogr
::
FieldDefn
::
GetType
()
const
{
assert
(
m_
d
efinition
&&
"No field definition wrapped"
);
return
m_
d
efinition
->
GetType
();
assert
(
m_
D
efinition
&&
"No field definition wrapped"
);
return
m_
D
efinition
->
GetType
();
}
/*===========================================================================*/
...
...
This diff is collapsed.
Click to expand it.
Code/UtilitiesAdapters/OGRAdapters/otbOGRFieldWrapper.h
+
4
−
4
View file @
b05c1b5c
...
...
@@ -34,8 +34,8 @@ namespace otb { namespace ogr {
/**\ingroup gGeometry
* \class FieldDefn
* \brief Encapsulation of \c OGRFieldDefn: field definition.
* \invariant <tt>m_
d
efinition != 0</tt>
* \invariant \c m_
d
efinition lifetime is of the responsability of the owning \c
* \invariant <tt>m_
D
efinition != 0</tt>
* \invariant \c m_
D
efinition lifetime is of the responsability of the owning \c
* \c OGRFeatureDefn.
* \sa OGRFieldDefn
* \since OTB v 3.14.0
...
...
@@ -43,7 +43,7 @@ namespace otb { namespace ogr {
class
FieldDefn
{
public:
FieldDefn
(
OGRFieldDefn
&
definition
)
:
m_
d
efinition
(
&
definition
){
}
FieldDefn
(
OGRFieldDefn
&
definition
)
:
m_
D
efinition
(
&
definition
){
}
std
::
string
GetName
()
const
;
//!< Field name accessor.
OGRFieldType
GetType
()
const
;
//!< Field type accessor.
...
...
@@ -51,7 +51,7 @@ private:
/**Pointer to the actual definition.
* \internal pointer in order to support assignments
*/
OGRFieldDefn
*
m_
d
efinition
;
OGRFieldDefn
*
m_
D
efinition
;
};
...
...
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