Commit 77ef8106 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Reporting the == operator in ImageKeywordlist

parent 419bd2cb
...@@ -127,6 +127,7 @@ public: ...@@ -127,6 +127,7 @@ public:
ImageKeywordlist(const Self &); ImageKeywordlist(const Self &);
void operator =(const Self&); void operator =(const Self&);
bool operator ==(const Self&);
protected: protected:
/** Methods invoked by Print() to print information about the object /** Methods invoked by Print() to print information about the object
......
...@@ -58,6 +58,13 @@ operator =(const Self& p) ...@@ -58,6 +58,13 @@ operator =(const Self& p)
m_Keywordlist = p.m_Keywordlist; m_Keywordlist = p.m_Keywordlist;
} }
bool
ImageKeywordlist::
operator ==(const Self& p)
{
return m_Keywordlist == p.m_Keywordlist;
}
void void
ImageKeywordlist:: ImageKeywordlist::
SetKeywordlist(const ossimKeywordlist& kwl) SetKeywordlist(const ossimKeywordlist& kwl)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment