\hypertarget{classosgeo_1_1proj_1_1util_1_1IComparable}{}\doxysection{osgeo\+::proj\+::util\+::IComparable Class Reference}
\label{classosgeo_1_1proj_1_1util_1_1IComparable}\index{osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}}


Interface for an object that can be compared to another.  




{\ttfamily \#include $<$util.\+hpp$>$}



Inheritance diagram for osgeo\+::proj\+::util\+::IComparable\+:
% FIG 0
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140}{Criterion}} \{ \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a4c50b1af679a751969aaad2881a34bef}{STRICT}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140acd1908d025919ff975513ff143c3e34c}{EQUIVALENT}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a352a077a1d586615ec044fc01f820e78}{EQUIVALENT\+\_\+\+EXCEPT\+\_\+\+AXIS\+\_\+\+ORDER\+\_\+\+GEOGCRS}}
 \}
\begin{DoxyCompactList}\small\item\em Comparison criterion. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_a5a0c131af94007f74761b81aa61a967c}{is\+Equivalent\+To}} (const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable}{IComparable}} $\ast$other, \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140}{Criterion}} criterion=\mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a4c50b1af679a751969aaad2881a34bef}{Criterion\+::\+STRICT}}, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_ac071e92c14195058e37bcd4c7b75b42f}{io\+::\+Database\+Context\+Ptr}} \&db\+Context=nullptr) const
\begin{DoxyCompactList}\small\item\em Returns whether an object is equivalent to another one. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Interface for an object that can be compared to another. 

\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140}\label{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140}} 
\index{osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}!Criterion@{Criterion}}
\index{Criterion@{Criterion}!osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}}
\doxysubsubsection{\texorpdfstring{Criterion}{Criterion}}
{\footnotesize\ttfamily enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140}{osgeo\+::proj\+::util\+::\+IComparable\+::\+Criterion}}\hspace{0.3cm}{\ttfamily [strong]}}



Comparison criterion. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{STRICT@{STRICT}!osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}}\index{osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}!STRICT@{STRICT}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a4c50b1af679a751969aaad2881a34bef}\label{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a4c50b1af679a751969aaad2881a34bef}} 
STRICT&All properties are identical. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EQUIVALENT@{EQUIVALENT}!osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}}\index{osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}!EQUIVALENT@{EQUIVALENT}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140acd1908d025919ff975513ff143c3e34c}\label{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140acd1908d025919ff975513ff143c3e34c}} 
EQUIVALENT&The objects are equivalent for the purpose of coordinate operations. They can differ by the name of their objects, identifiers, other metadata. Parameters may be expressed in different units, provided that the value is (with some tolerance) the same once expressed in a common unit. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{EQUIVALENT\_EXCEPT\_AXIS\_ORDER\_GEOGCRS@{EQUIVALENT\_EXCEPT\_AXIS\_ORDER\_GEOGCRS}!osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}}\index{osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}!EQUIVALENT\_EXCEPT\_AXIS\_ORDER\_GEOGCRS@{EQUIVALENT\_EXCEPT\_AXIS\_ORDER\_GEOGCRS}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a352a077a1d586615ec044fc01f820e78}\label{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a352a077a1d586615ec044fc01f820e78}} 
EQUIVALENT\+\_\+\+EXCEPT\+\_\+\+AXIS\+\_\+\+ORDER\+\_\+\+GEOGCRS&Same as EQUIVALENT, relaxed with an exception that the axis order of the base CRS of a Derived\+CRS/\+Projected\+CRS or the axis order of a Geographic\+CRS is ignored. Only to be used with Derived\+CRS/\+Projected\+CRS/\+Geographic\+CRS \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1util_1_1IComparable_a5a0c131af94007f74761b81aa61a967c}\label{classosgeo_1_1proj_1_1util_1_1IComparable_a5a0c131af94007f74761b81aa61a967c}} 
\index{osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}!isEquivalentTo@{isEquivalentTo}}
\index{isEquivalentTo@{isEquivalentTo}!osgeo::proj::util::IComparable@{osgeo::proj::util::IComparable}}
\doxysubsubsection{\texorpdfstring{isEquivalentTo()}{isEquivalentTo()}}
{\footnotesize\ttfamily bool osgeo\+::proj\+::util\+::\+IComparable\+::is\+Equivalent\+To (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable}{IComparable}} $\ast$}]{other,  }\item[{\mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140}{Criterion}}}]{criterion = {\ttfamily \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1IComparable_af198b4ab092a20e3a5495308d68d7140a4c50b1af679a751969aaad2881a34bef}{Criterion\+::\+STRICT}}},  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_ac071e92c14195058e37bcd4c7b75b42f}{io\+::\+Database\+Context\+Ptr}} \&}]{db\+Context = {\ttfamily nullptr} }\end{DoxyParamCaption}) const}



Returns whether an object is equivalent to another one. 


\begin{DoxyParams}{Parameters}
{\em other} & other object to compare to \\
\hline
{\em criterion} & comparison criterion. \\
\hline
{\em db\+Context} & Database context, or nullptr. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if objects are equivalent. 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
include/proj/util.\+hpp\item 
src/iso19111/util.\+cpp\end{DoxyCompactItemize}
