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


Predefined datatypes.  




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00477_a297372ffc0d5614a928687b1396238b8}{{\bfseries Data\+Type} (const unsigned int \&\+\_\+i)}\label{a00477_a297372ffc0d5614a928687b1396238b8}

\item 
\hypertarget{a00477_aeb8e838f5c70d8d4557779689b626e57}{bool {\bfseries operator!=} (const unsigned int \&\+\_\+i) const }\label{a00477_aeb8e838f5c70d8d4557779689b626e57}

\item 
\hypertarget{a00477_aaa760f3514716951f6aac44d22af082e}{bool {\bfseries operator!=} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i) const }\label{a00477_aaa760f3514716951f6aac44d22af082e}

\item 
\hypertarget{a00477_a0bbe1034e00527e5bc861c4cbdbe1628}{bool {\bfseries operator==} (const unsigned int \&\+\_\+i) const }\label{a00477_a0bbe1034e00527e5bc861c4cbdbe1628}

\item 
\hypertarget{a00477_a1225ccbd9a29a18d201991b8e8f8ad64}{bool {\bfseries operator==} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i) const }\label{a00477_a1225ccbd9a29a18d201991b8e8f8ad64}

\item 
\hypertarget{a00477_a44aa5eb63d7360542776697a837beae2}{\hyperlink{a00477}{Data\+Type} \& {\bfseries operator=} (const unsigned int \&\+\_\+i)}\label{a00477_a44aa5eb63d7360542776697a837beae2}

\item 
\hypertarget{a00477_a6e64a60e3bff282af71d9e7a5206ceb6}{\hyperlink{a00477}{Data\+Type} \& {\bfseries operator=} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i)}\label{a00477_a6e64a60e3bff282af71d9e7a5206ceb6}

\item 
\hypertarget{a00477_ad888b2b4c7d901130b0100d9f30e36df}{bool {\bfseries operator$<$} (const unsigned int \&\+\_\+i) const }\label{a00477_ad888b2b4c7d901130b0100d9f30e36df}

\item 
\hypertarget{a00477_adb57a2cfd70e8948df34b2f4023c78a6}{bool {\bfseries operator$<$} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i) const }\label{a00477_adb57a2cfd70e8948df34b2f4023c78a6}

\item 
\hypertarget{a00477_a75117c0323d4c83f20cce40598d672a9}{\hyperlink{a00477}{Data\+Type} \& {\bfseries operator$\vert$=} (const unsigned int \&\+\_\+i)}\label{a00477_a75117c0323d4c83f20cce40598d672a9}

\item 
\hypertarget{a00477_a5ed01b4b2af73b51368666fca187f802}{\hyperlink{a00477}{Data\+Type} \& {\bfseries operator$\vert$=} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i)}\label{a00477_a5ed01b4b2af73b51368666fca187f802}

\item 
\hypertarget{a00477_a5bb43e85209f04cbf3d0ab0d7fce600a}{bool {\bfseries operator\&} (const unsigned int \&\+\_\+i) const }\label{a00477_a5bb43e85209f04cbf3d0ab0d7fce600a}

\item 
\hypertarget{a00477_ae8cc8ecbef4f2572fb83151f11ecef2d}{bool {\bfseries operator\&} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i) const }\label{a00477_ae8cc8ecbef4f2572fb83151f11ecef2d}

\item 
\hypertarget{a00477_affef46b3399d96d4748052fa4e7933d3}{\hyperlink{a00477}{Data\+Type} {\bfseries operator!} ()}\label{a00477_affef46b3399d96d4748052fa4e7933d3}

\item 
\hypertarget{a00477_ae7f15aa14e557a640ec82e35da394034}{bool {\bfseries contains} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i) const }\label{a00477_ae7f15aa14e557a640ec82e35da394034}

\item 
\hypertarget{a00477_a6e438c77df8356c60645f55dbadcd138}{\hyperlink{a00477}{Data\+Type} {\bfseries operator$\vert$} (const \hyperlink{a00477}{Data\+Type} \&\+\_\+i) const }\label{a00477_a6e438c77df8356c60645f55dbadcd138}

\item 
\hypertarget{a00477_a0c60f33062440bd70b0a124d0fc5819e}{\hyperlink{a00477}{Data\+Type} {\bfseries operator++} (int \+\_\+unused)}\label{a00477_a0c60f33062440bd70b0a124d0fc5819e}

\item 
\hypertarget{a00477_aed500ad14593ca12cb0c2c5e89736336}{\hyperlink{a00477}{Data\+Type} \& {\bfseries operator++} ()}\label{a00477_aed500ad14593ca12cb0c2c5e89736336}

\item 
unsigned int \hyperlink{a00477_adf8eaf3e05f99f6e6f8c946db06c6b62}{value} () const 
\item 
\hypertarget{a00477_aaa88a8568bc32d135f7c554584aceea6}{Q\+String \hyperlink{a00477_aaa88a8568bc32d135f7c554584aceea6}{name} () const }\label{a00477_aaa88a8568bc32d135f7c554584aceea6}

\begin{DoxyCompactList}\small\item\em Return the name of this type as text. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00477_a8fd8698f8ab8d4d01eec42028d0357cb}{unsigned int {\bfseries field}}\label{a00477_a8fd8698f8ab8d4d01eec42028d0357cb}

\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{a00477}{Data\+Type} class

Normally we could use an unsigned int here. But Q\+T can't register an typedef unsigned int \hyperlink{a00477}{Data\+Type} as \hyperlink{a00477}{Data\+Type} and will recognize it as unsigned int and therefore \hyperlink{a00477}{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 96 of file Data\+Types.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00477_adf8eaf3e05f99f6e6f8c946db06c6b62}{\index{Data\+Type@{Data\+Type}!value@{value}}
\index{value@{value}!Data\+Type@{Data\+Type}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Data\+Type\+::value (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{a00477_adf8eaf3e05f99f6e6f8c946db06c6b62}
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 423 of file Types.\+cc.



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