\hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{}\doxysection{osgeo\+::proj\+::common\+::Unit\+Of\+Measure Class Reference}
\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}


Unit of measure.  




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



Inheritance diagram for osgeo\+::proj\+::common\+::Unit\+Of\+Measure\+:
% FIG 0


Collaboration diagram for osgeo\+::proj\+::common\+::Unit\+Of\+Measure\+:
% FIG 1
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10}{Type}} \{ \newline
\mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a696b031073e74bf2cb98e5ef201d4aa3}{UNKNOWN}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10ab50339a10e1de285ac99d4c3990b8693}{NONE}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a5a1440a6a75811013183701d52bf87f7}{ANGULAR}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10aaac544aacc3615aada24897a215f5046}{LINEAR}}
, \newline
\mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a127ea1d20becc4dba06d9d152db0c2e5}{SCALE}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a346ff32eaa3c09983fb2ec057816d352}{TIME}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a5ddcf11fc0e285f9efec996732ba4ab8}{PARAMETRIC}}
 \}
\begin{DoxyCompactList}\small\item\em Type of unit of measure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a96ee47b23d28c5ce8925bd8f352a0891}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a96ee47b23d28c5ce8925bd8f352a0891}} 
{\bfseries Unit\+Of\+Measure} (const std\+::string \&name\+In=std\+::string(), double to\+SIIn=1.\+0, \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10}{Type}} type\+In=\mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a696b031073e74bf2cb98e5ef201d4aa3}{Type\+::\+UNKNOWN}}, const std\+::string \&code\+Space\+In=std\+::string(), const std\+::string \&code\+In=std\+::string())
\begin{DoxyCompactList}\small\item\em Creates a \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a082c332360ef76c8658195661011273e}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a082c332360ef76c8658195661011273e}} 
const std\+::string \& {\bfseries name} ()
\begin{DoxyCompactList}\small\item\em Return the name of the unit of measure. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_ae16b75dd0b56b786a1aafff8ac405c18}{conversion\+To\+SI}} ()
\begin{DoxyCompactList}\small\item\em Return the conversion factor to the unit of the International System of Units of the same Type. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a0143fdbc02af3c17fe430c19d4004dc0}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a0143fdbc02af3c17fe430c19d4004dc0}} 
\mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10}{Type}} {\bfseries type} ()
\begin{DoxyCompactList}\small\item\em Return the type of the unit of measure. \end{DoxyCompactList}\item 
const std\+::string \& \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a70d2e1a7e4dd0a5485779c205e0e8b88}{code\+Space}} ()
\begin{DoxyCompactList}\small\item\em Return the code space of the unit of measure. \end{DoxyCompactList}\item 
const std\+::string \& \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_adcbf51167f66cbf8b6d4bf0aee847959}{code}} ()
\begin{DoxyCompactList}\small\item\em Return the code of the unit of measure. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a774977d587e8ab6b3f0712afd9226386}{operator==}} (const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} \&other)
\item 
bool \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a8f51ba07caa8f33b6a1cb2521b756148}{operator!=}} (const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} \&other)
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a2f4c79c96afc93c5add7dae9a06d8f19}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a2f4c79c96afc93c5add7dae9a06d8f19}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries NONE}
\begin{DoxyCompactList}\small\item\em \char`\"{}\+Empty\char`\"{}/\char`\"{}\+None\char`\"{}, unit of measure of type NONE. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a36c1424eb7d367b552956ee7ff84a78a}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a36c1424eb7d367b552956ee7ff84a78a}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries SCALE\+\_\+\+UNITY}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1Scale}{Scale}} unity, unit of measure of type SCALE. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a4cb01410906889a08dcf41b192edd1a4}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a4cb01410906889a08dcf41b192edd1a4}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries PARTS\+\_\+\+PER\+\_\+\+MILLION}
\begin{DoxyCompactList}\small\item\em Parts-\/per-\/million, unit of measure of type SCALE. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a3c1db5ffe2875eb25253639728360007}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a3c1db5ffe2875eb25253639728360007}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries PPM\+\_\+\+PER\+\_\+\+YEAR}
\begin{DoxyCompactList}\small\item\em Parts-\/per-\/million per year, unit of measure of type SCALE. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_ab53f3d1e195096c742f661bc35fc1fa4}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_ab53f3d1e195096c742f661bc35fc1fa4}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries METRE}
\begin{DoxyCompactList}\small\item\em Metre, unit of measure of type LINEAR (SI unit). \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a56c3d81d2570405de580507f1c62b214}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a56c3d81d2570405de580507f1c62b214}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries METRE\+\_\+\+PER\+\_\+\+YEAR}
\begin{DoxyCompactList}\small\item\em Metre per year, unit of measure of type LINEAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_aa547b03da98f0b2e3d6590dbf65f5aa2}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_aa547b03da98f0b2e3d6590dbf65f5aa2}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries FOOT}
\begin{DoxyCompactList}\small\item\em Foot, unit of measure of type LINEAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a88250923137ac459118e04fbed4ef57a}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a88250923137ac459118e04fbed4ef57a}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries US\+\_\+\+FOOT}
\begin{DoxyCompactList}\small\item\em US survey foot, unit of measure of type LINEAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a77faa87dd8337ec0dc07be8c78d567ad}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a77faa87dd8337ec0dc07be8c78d567ad}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries RADIAN}
\begin{DoxyCompactList}\small\item\em Radian, unit of measure of type ANGULAR (SI unit). \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a14ef72dd32fba55911fb598ce4a91ecb}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a14ef72dd32fba55911fb598ce4a91ecb}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries MICRORADIAN}
\begin{DoxyCompactList}\small\item\em Microradian, unit of measure of type ANGULAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_aa2bdeeefc214149309462f231a17f954}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_aa2bdeeefc214149309462f231a17f954}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries DEGREE}
\begin{DoxyCompactList}\small\item\em Degree, unit of measure of type ANGULAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_ae8562788e28c7f9647d95e536940ff29}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_ae8562788e28c7f9647d95e536940ff29}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries ARC\+\_\+\+SECOND}
\begin{DoxyCompactList}\small\item\em Arc-\/second, unit of measure of type ANGULAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_afe228a621e6f27c5b0a144a0f2d7697b}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_afe228a621e6f27c5b0a144a0f2d7697b}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries GRAD}
\begin{DoxyCompactList}\small\item\em Grad, unit of measure of type ANGULAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a0867123b7244a3af084afcded0421421}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a0867123b7244a3af084afcded0421421}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries ARC\+\_\+\+SECOND\+\_\+\+PER\+\_\+\+YEAR}
\begin{DoxyCompactList}\small\item\em Arc-\/second per year, unit of measure of type ANGULAR. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a5a7e14a22a4a61727a99ea35316bd538}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a5a7e14a22a4a61727a99ea35316bd538}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries SECOND}
\begin{DoxyCompactList}\small\item\em Second, unit of measure of type TIME (SI unit). \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a029845d9618a923670dc8f75452bb961}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a029845d9618a923670dc8f75452bb961}} 
static const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} {\bfseries YEAR}
\begin{DoxyCompactList}\small\item\em Year, unit of measure of type TIME. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Unit of measure. 

This is a mutable object. 

\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10}} 
\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!Type@{Type}}
\index{Type@{Type}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}
\doxysubsubsection{\texorpdfstring{Type}{Type}}
{\footnotesize\ttfamily enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10}{osgeo\+::proj\+::common\+::\+Unit\+Of\+Measure\+::\+Type}}\hspace{0.3cm}{\ttfamily [strong]}}



Type of unit of measure. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{UNKNOWN@{UNKNOWN}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!UNKNOWN@{UNKNOWN}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a696b031073e74bf2cb98e5ef201d4aa3}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a696b031073e74bf2cb98e5ef201d4aa3}} 
UNKNOWN&Unknown unit of measure \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NONE@{NONE}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!NONE@{NONE}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10ab50339a10e1de285ac99d4c3990b8693}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10ab50339a10e1de285ac99d4c3990b8693}} 
NONE&No unit of measure \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ANGULAR@{ANGULAR}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!ANGULAR@{ANGULAR}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a5a1440a6a75811013183701d52bf87f7}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a5a1440a6a75811013183701d52bf87f7}} 
ANGULAR&Angular unit of measure \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LINEAR@{LINEAR}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!LINEAR@{LINEAR}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10aaac544aacc3615aada24897a215f5046}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10aaac544aacc3615aada24897a215f5046}} 
LINEAR&Linear unit of measure \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SCALE@{SCALE}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!SCALE@{SCALE}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a127ea1d20becc4dba06d9d152db0c2e5}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a127ea1d20becc4dba06d9d152db0c2e5}} 
SCALE&\mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1Scale}{Scale}} unit of measure \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{TIME@{TIME}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!TIME@{TIME}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a346ff32eaa3c09983fb2ec057816d352}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a346ff32eaa3c09983fb2ec057816d352}} 
TIME&Time unit of measure \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PARAMETRIC@{PARAMETRIC}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!PARAMETRIC@{PARAMETRIC}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a5ddcf11fc0e285f9efec996732ba4ab8}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a400c71b5a6d7927e3e5850cee2b07d10a5ddcf11fc0e285f9efec996732ba4ab8}} 
PARAMETRIC&Parametric unit of measure \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_adcbf51167f66cbf8b6d4bf0aee847959}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_adcbf51167f66cbf8b6d4bf0aee847959}} 
\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!code@{code}}
\index{code@{code}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}
\doxysubsubsection{\texorpdfstring{code()}{code()}}
{\footnotesize\ttfamily const std\+::string \& osgeo\+::proj\+::common\+::\+Unit\+Of\+Measure\+::code (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Return the code of the unit of measure. 

\begin{DoxyReturn}{Returns}
the code, or empty string. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a70d2e1a7e4dd0a5485779c205e0e8b88}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a70d2e1a7e4dd0a5485779c205e0e8b88}} 
\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!codeSpace@{codeSpace}}
\index{codeSpace@{codeSpace}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}
\doxysubsubsection{\texorpdfstring{codeSpace()}{codeSpace()}}
{\footnotesize\ttfamily const std\+::string \& osgeo\+::proj\+::common\+::\+Unit\+Of\+Measure\+::code\+Space (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Return the code space of the unit of measure. 

For example \char`\"{}\+EPSG\char`\"{}

\begin{DoxyReturn}{Returns}
the code space, or empty string. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_ae16b75dd0b56b786a1aafff8ac405c18}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_ae16b75dd0b56b786a1aafff8ac405c18}} 
\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!conversionToSI@{conversionToSI}}
\index{conversionToSI@{conversionToSI}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}
\doxysubsubsection{\texorpdfstring{conversionToSI()}{conversionToSI()}}
{\footnotesize\ttfamily double osgeo\+::proj\+::common\+::\+Unit\+Of\+Measure\+::conversion\+To\+SI (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Return the conversion factor to the unit of the International System of Units of the same Type. 

For example, for foot, this would be 0.\+3048 (metre)

\begin{DoxyReturn}{Returns}
the conversion factor, or 0 if no conversion exists. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a8f51ba07caa8f33b6a1cb2521b756148}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a8f51ba07caa8f33b6a1cb2521b756148}} 
\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!operator"!=@{operator"!=}}
\index{operator"!=@{operator"!=}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}
\doxysubsubsection{\texorpdfstring{operator"!=()}{operator!=()}}
{\footnotesize\ttfamily bool osgeo\+::proj\+::common\+::\+Unit\+Of\+Measure\+::operator!= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} \&}]{other }\end{DoxyParamCaption})}

Returns whether two units of measures are different.

The comparison is based on the name. \mbox{\Hypertarget{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a774977d587e8ab6b3f0712afd9226386}\label{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure_a774977d587e8ab6b3f0712afd9226386}} 
\index{osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}!operator==@{operator==}}
\index{operator==@{operator==}!osgeo::proj::common::UnitOfMeasure@{osgeo::proj::common::UnitOfMeasure}}
\doxysubsubsection{\texorpdfstring{operator==()}{operator==()}}
{\footnotesize\ttfamily bool osgeo\+::proj\+::common\+::\+Unit\+Of\+Measure\+::operator== (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1UnitOfMeasure}{Unit\+Of\+Measure}} \&}]{other }\end{DoxyParamCaption})}

Returns whether two units of measures are equal.

The comparison is based on the name. 

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