\hypertarget{classDataType}{}\section{Data\+Type Class Reference}
\label{classDataType}\index{Data\+Type@{Data\+Type}}


Predefined datatypes.  




{\ttfamily \#include $<$Open\+Flipper/common/\+Data\+Types.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classDataType_a297372ffc0d5614a928687b1396238b8}\label{classDataType_a297372ffc0d5614a928687b1396238b8}} 
{\bfseries Data\+Type} (const unsigned int \&\+\_\+i)
\item 
\mbox{\Hypertarget{classDataType_a537cdfb733f0f8e318bf6309a7991f17}\label{classDataType_a537cdfb733f0f8e318bf6309a7991f17}} 
bool {\bfseries operator!=} (const unsigned int \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_a65b121476c258aa1e3f28772b131307c}\label{classDataType_a65b121476c258aa1e3f28772b131307c}} 
bool {\bfseries operator!=} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_a3093dee9e90308be5f2df9364c279c99}\label{classDataType_a3093dee9e90308be5f2df9364c279c99}} 
bool {\bfseries operator==} (const unsigned int \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_ac97c701daabba8f9afde68c9bab7f7fd}\label{classDataType_ac97c701daabba8f9afde68c9bab7f7fd}} 
bool {\bfseries operator==} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_a44aa5eb63d7360542776697a837beae2}\label{classDataType_a44aa5eb63d7360542776697a837beae2}} 
\hyperlink{classDataType}{Data\+Type} \& {\bfseries operator=} (const unsigned int \&\+\_\+i)
\item 
\mbox{\Hypertarget{classDataType_a6e64a60e3bff282af71d9e7a5206ceb6}\label{classDataType_a6e64a60e3bff282af71d9e7a5206ceb6}} 
\hyperlink{classDataType}{Data\+Type} \& {\bfseries operator=} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i)
\item 
\mbox{\Hypertarget{classDataType_a574cf31b47028be26836406571ca09e7}\label{classDataType_a574cf31b47028be26836406571ca09e7}} 
bool {\bfseries operator$<$} (const unsigned int \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_a582e5004ff604e462ddd703de25d6ad5}\label{classDataType_a582e5004ff604e462ddd703de25d6ad5}} 
bool {\bfseries operator$<$} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_a75117c0323d4c83f20cce40598d672a9}\label{classDataType_a75117c0323d4c83f20cce40598d672a9}} 
\hyperlink{classDataType}{Data\+Type} \& {\bfseries operator$\vert$=} (const unsigned int \&\+\_\+i)
\item 
\mbox{\Hypertarget{classDataType_a5ed01b4b2af73b51368666fca187f802}\label{classDataType_a5ed01b4b2af73b51368666fca187f802}} 
\hyperlink{classDataType}{Data\+Type} \& {\bfseries operator$\vert$=} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i)
\item 
\mbox{\Hypertarget{classDataType_ac2e9208b1d91d7dae681a14e8ec12a07}\label{classDataType_ac2e9208b1d91d7dae681a14e8ec12a07}} 
bool {\bfseries operator \&} (const unsigned int \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_ac2c5e380a218dce6b17baec322c83db9}\label{classDataType_ac2c5e380a218dce6b17baec322c83db9}} 
bool {\bfseries operator \&} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_affef46b3399d96d4748052fa4e7933d3}\label{classDataType_affef46b3399d96d4748052fa4e7933d3}} 
\hyperlink{classDataType}{Data\+Type} {\bfseries operator!} ()
\item 
\mbox{\Hypertarget{classDataType_ae03549d5e8061166446b0ee30a063c20}\label{classDataType_ae03549d5e8061166446b0ee30a063c20}} 
bool {\bfseries contains} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_a77190604ad7200e524c687a826f58748}\label{classDataType_a77190604ad7200e524c687a826f58748}} 
\hyperlink{classDataType}{Data\+Type} {\bfseries operator$\vert$} (const \hyperlink{classDataType}{Data\+Type} \&\+\_\+i) const
\item 
\mbox{\Hypertarget{classDataType_a0c60f33062440bd70b0a124d0fc5819e}\label{classDataType_a0c60f33062440bd70b0a124d0fc5819e}} 
\hyperlink{classDataType}{Data\+Type} {\bfseries operator++} (int \+\_\+unused)
\item 
\mbox{\Hypertarget{classDataType_aed500ad14593ca12cb0c2c5e89736336}\label{classDataType_aed500ad14593ca12cb0c2c5e89736336}} 
\hyperlink{classDataType}{Data\+Type} \& {\bfseries operator++} ()
\item 
unsigned int \hyperlink{classDataType_a4b6b62a003a6425b19000de40a8f02d0}{value} () const
\item 
\mbox{\Hypertarget{classDataType_a3a91b698a0e47139cbe28af4217d99ee}\label{classDataType_a3a91b698a0e47139cbe28af4217d99ee}} 
Q\+String \hyperlink{classDataType_a3a91b698a0e47139cbe28af4217d99ee}{name} () const
\begin{DoxyCompactList}\small\item\em Return the name of this type as text. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classDataType_a8fd8698f8ab8d4d01eec42028d0357cb}\label{classDataType_a8fd8698f8ab8d4d01eec42028d0357cb}} 
unsigned int {\bfseries field}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Predefined datatypes. 

Here are several datatypes which have predefined ids. This might be changed to runtime added datatypes in the future.\+the internal \hyperlink{classDataType}{Data\+Type} class

Normally we could use an unsigned int here. But QT can\textquotesingle{}t register an typedef unsigned int \hyperlink{classDataType}{Data\+Type} as \hyperlink{classDataType}{Data\+Type} and will recognize it as unsigned int and therefore \hyperlink{classDataType}{Data\+Type} will still be unknown to Qt\+Script. To overcome this Problem, we reimplement a wrapper around the int and provide additional functionality such as returning the name of the type directly 

Definition at line 83 of file Data\+Types.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classDataType_a4b6b62a003a6425b19000de40a8f02d0}\label{classDataType_a4b6b62a003a6425b19000de40a8f02d0}} 
\index{Data\+Type@{Data\+Type}!value@{value}}
\index{value@{value}!Data\+Type@{Data\+Type}}
\subsubsection{\texorpdfstring{value()}{value()}}
{\footnotesize\ttfamily unsigned int Data\+Type\+::value (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

return the internal representation of the type which is an unsigned int at the moment.

You should avoid using this directly as the internal representation might change in the future 

Definition at line 412 of file Types.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/common/\hyperlink{DataTypes_8hh}{Data\+Types.\+hh}\item 
Open\+Flipper/common/\hyperlink{Types_8cc}{Types.\+cc}\end{DoxyCompactItemize}
