Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
5525c4ad
Commit
5525c4ad
authored
Apr 17, 2015
by
Stéphane Albert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: Added missing ImageKeywordList::operator!=().
parent
a3eede16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
Modules/Adapters/OSSIMAdapters/include/otbImageKeywordlist.h
Modules/Adapters/OSSIMAdapters/include/otbImageKeywordlist.h
+11
-1
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
+2
-2
No files found.
Modules/Adapters/OSSIMAdapters/include/otbImageKeywordlist.h
View file @
5525c4ad
...
@@ -127,7 +127,9 @@ public:
...
@@ -127,7 +127,9 @@ public:
ImageKeywordlist
(
const
Self
&
);
ImageKeywordlist
(
const
Self
&
);
void
operator
=
(
const
Self
&
);
void
operator
=
(
const
Self
&
);
bool
operator
==
(
const
Self
&
);
bool
operator
==
(
const
Self
&
)
const
;
inline
bool
operator
!=
(
const
Self
&
)
const
;
protected:
protected:
/** Methods invoked by Print() to print information about the object
/** Methods invoked by Print() to print information about the object
...
@@ -154,6 +156,14 @@ ImageKeywordlist ReadGeometryFromGEOMFile(const std::string& filename);
...
@@ -154,6 +156,14 @@ ImageKeywordlist ReadGeometryFromGEOMFile(const std::string& filename);
ImageKeywordlist
ReadGeometryFromRPCTag
(
const
std
::
string
&
filename
);
ImageKeywordlist
ReadGeometryFromRPCTag
(
const
std
::
string
&
filename
);
void
WriteGeometry
(
const
ImageKeywordlist
&
otb_kwl
,
const
std
::
string
&
filename
);
void
WriteGeometry
(
const
ImageKeywordlist
&
otb_kwl
,
const
std
::
string
&
filename
);
inline
bool
ImageKeywordlist
::
operator
!=
(
const
Self
&
p
)
const
{
return
!
this
->
operator
==
(
p
);
}
}
//namespace otb
}
//namespace otb
#endif // __otbImageKeywordlist_h
#endif // __otbImageKeywordlist_h
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
View file @
5525c4ad
...
@@ -59,8 +59,8 @@ operator =(const Self& p)
...
@@ -59,8 +59,8 @@ operator =(const Self& p)
}
}
bool
bool
ImageKeywordlist
::
ImageKeywordlist
operator
==
(
const
Self
&
p
)
::
operator
==
(
const
Self
&
p
)
const
{
{
return
m_Keywordlist
==
p
.
m_Keywordlist
;
return
m_Keywordlist
==
p
.
m_Keywordlist
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment