\hypertarget{DataTypes_8hh}{}\section{Open\+Flipper/common/\+Data\+Types.hh File Reference}
\label{DataTypes_8hh}\index{Open\+Flipper/common/\+Data\+Types.\+hh@{Open\+Flipper/common/\+Data\+Types.\+hh}}
{\ttfamily \#include $<$Open\+Flipper/common/\+Global\+Defines.\+hh$>$}\newline
{\ttfamily \#include $<$Open\+Flipper/common/\+Update\+Type.\+hh$>$}\newline
{\ttfamily \#include $<$A\+C\+G/\+Math/\+Matrix4x4\+T.\+hh$>$}\newline
{\ttfamily \#include $<$A\+C\+G/\+Math/\+Vector\+T.\+hh$>$}\newline
{\ttfamily \#include $<$climits$>$}\newline
{\ttfamily \#include $<$Q\+Icon$>$}\newline
{\ttfamily \#include $<$Q\+Meta\+Type$>$}\newline
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classDataType}{Data\+Type}
\begin{DoxyCompactList}\small\item\em Predefined datatypes. \end{DoxyCompactList}\item 
class \hyperlink{classTypeInfo}{Type\+Info}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}\label{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}} 
typedef \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}
\begin{DoxyCompactList}\small\item\em Standard Type for 3d Vector used for scripting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}\label{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}} 
typedef \hyperlink{namespaceACG_a2ba4d05b21aa0247255d38e770bcc255}{A\+C\+G\+::\+Vec4d} \hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4}
\begin{DoxyCompactList}\small\item\em Standard Type for 4d Vector used for scripting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{DataTypes_8hh_af4b4959090eb91720b2f1f4bd6131cfb}\label{DataTypes_8hh_af4b4959090eb91720b2f1f4bd6131cfb}} 
typedef std\+::vector$<$ int $>$ \hyperlink{DataTypes_8hh_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List}
\begin{DoxyCompactList}\small\item\em Standard Type for id Lists used for scripting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{DataTypes_8hh_a2c834138d15bf416d68149d639c97ed8}\label{DataTypes_8hh_a2c834138d15bf416d68149d639c97ed8}} 
typedef \hyperlink{namespaceACG_a7f5dece6cb3955c9847f5455509f6147}{A\+C\+G\+::\+Matrix4x4d} \hyperlink{DataTypes_8hh_a2c834138d15bf416d68149d639c97ed8}{Matrix4x4}
\begin{DoxyCompactList}\small\item\em Standard Type for a 4x4 Matrix used for scripting. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{DataTypes_8hh_ab24df143e7e3f228eb249f5878dc1881}\label{DataTypes_8hh_ab24df143e7e3f228eb249f5878dc1881}} 
std\+::ostream \& {\bfseries operator$<$$<$} (std\+::ostream \&stream, \hyperlink{classDataType}{Data\+Type} type)
\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void \hyperlink{DataTypes_8hh_a0f34cff01d34f053f30358c68d0ae7d6}{register\+Types} ()
\end{DoxyCompactItemize}
\begin{Indent}\textbf{ Functions for adding data\+Types}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classDataType}{Data\+Type} \hyperlink{DataTypes_8hh_a1bf2a9d155a029c5a37e9341d30a4589}{add\+Data\+Type} (Q\+String \+\_\+name, Q\+String \+\_\+readable\+Name)
\begin{DoxyCompactList}\small\item\em Adds a datatype and returns the id for the new type. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classDataType}{Data\+Type} \hyperlink{DataTypes_8hh_a2e03981ec754e81543c3126ab6e64bae}{type\+Id} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Given a data\+Type Identifier string this function will return the id of the datatype. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String \hyperlink{DataTypes_8hh_a419f47c22fff00dcf334dd9df25bd1ed}{type\+Name} (\hyperlink{classDataType}{Data\+Type} \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the name of a type with given id. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} bool \hyperlink{DataTypes_8hh_ae3ec619a9901ff1669aaf3310a7b51b1}{type\+Exists} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Check if a type with the given name exists. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} size\+\_\+t \hyperlink{DataTypes_8hh_a7f0bc1f53c971c3074af0d6161a7cb3a}{type\+Count} ()
\begin{DoxyCompactList}\small\item\em Get the number of registered types. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Type iterators}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} std\+::vector$<$ \hyperlink{classTypeInfo}{Type\+Info} $>$\+::const\+\_\+iterator \hyperlink{DataTypes_8hh_a8c8f3c18296c28d64c5981052eee2cdd}{types\+Begin} ()
\begin{DoxyCompactList}\small\item\em Get iterator pointing to the first element in the types list. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} std\+::vector$<$ \hyperlink{classTypeInfo}{Type\+Info} $>$\+::const\+\_\+iterator \hyperlink{DataTypes_8hh_a356fd8da5d4b01fca9b359d95df9ba38}{types\+End} ()
\begin{DoxyCompactList}\small\item\em Get iterator pointing to the last element in the types list. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Datatype Name handling}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String \hyperlink{DataTypes_8hh_a1912806f4e81b57e886710e116d0d4af}{data\+Type\+Name} (\hyperlink{classDataType}{Data\+Type} \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{classDataType}{Data\+Type} Human readable name ( this name might change. Use the type\+Name instead! ) \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String \hyperlink{DataTypes_8hh_a356beb6fb30092c2def6452b54f55181}{data\+Type\+Name} (Q\+String \+\_\+type\+Name)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{classDataType}{Data\+Type} Human readable name ( this name might change. Use the type\+Name instead! ) \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void \hyperlink{DataTypes_8hh_a37a69879ac31d904314678fd1e578934}{set\+Data\+Type\+Name} (\hyperlink{classDataType}{Data\+Type} \+\_\+id, Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{classDataType}{Data\+Type} Human readable name. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void \hyperlink{DataTypes_8hh_a56ed3ba651a7272c307b25139f3b3cb9}{set\+Data\+Type\+Name} (Q\+String \+\_\+type\+Name, Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{classDataType}{Data\+Type} Human readable name. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Datatype Icons}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String \hyperlink{DataTypes_8hh_ad371a2eb017e9b9a9c4d76f583e1d3da}{type\+Icon\+Name} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Get a string with the filename of the icon for the \hyperlink{classDataType}{Data\+Type} name. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String \hyperlink{DataTypes_8hh_a92add249194ee81a49be9114911f1adc}{type\+Icon\+Name} (\hyperlink{classDataType}{Data\+Type} \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get a string with the filename of the icon for the \hyperlink{classDataType}{Data\+Type}. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+Icon \& \hyperlink{DataTypes_8hh_a666ebcecfdc99ab0dee3770f4f258246}{type\+Icon} (\hyperlink{classDataType}{Data\+Type} \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get an Q\+Icon associated with the given \hyperlink{classDataType}{Data\+Type}. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void \hyperlink{DataTypes_8hh_ad665808a88085c8d50a2f0c3863885f6}{set\+Type\+Icon} (\hyperlink{classDataType}{Data\+Type} \+\_\+id, Q\+String \+\_\+icon)
\begin{DoxyCompactList}\small\item\em Set an Icon for a given \hyperlink{classDataType}{Data\+Type}. \end{DoxyCompactList}\item 
\hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void \hyperlink{DataTypes_8hh_ac0596bb3d5ba2c0f99bee2b414eba084}{set\+Type\+Icon} (Q\+String \+\_\+name, Q\+String \+\_\+icon)
\begin{DoxyCompactList}\small\item\em Set an Icon for a given \hyperlink{classDataType}{Data\+Type}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{DataTypes_8hh_a87446416192751e622bd4693a4339419}\label{DataTypes_8hh_a87446416192751e622bd4693a4339419}} 
const \hyperlink{classDataType}{Data\+Type} \hyperlink{DataTypes_8hh_a87446416192751e622bd4693a4339419}{D\+A\+T\+A\+\_\+\+A\+LL} (U\+I\+N\+T\+\_\+\+M\+AX)
\begin{DoxyCompactList}\small\item\em Identifier for all available objects. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{DataTypes_8hh_a32a4da0718bce1f63a0461fe21bdf3a0}\label{DataTypes_8hh_a32a4da0718bce1f63a0461fe21bdf3a0}} 
const \hyperlink{classDataType}{Data\+Type} \hyperlink{DataTypes_8hh_a32a4da0718bce1f63a0461fe21bdf3a0}{D\+A\+T\+A\+\_\+\+U\+N\+K\+N\+O\+WN} (0)
\begin{DoxyCompactList}\small\item\em None of the other Objects. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{DataTypes_8hh_aa404cecc33a95757fc7f8220d7d0eb79}\label{DataTypes_8hh_aa404cecc33a95757fc7f8220d7d0eb79}} 
const \hyperlink{classDataType}{Data\+Type} \hyperlink{DataTypes_8hh_aa404cecc33a95757fc7f8220d7d0eb79}{D\+A\+T\+A\+\_\+\+G\+R\+O\+UP} (1)
\begin{DoxyCompactList}\small\item\em Items used for Grouping. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This File contains the basic type informations 

\subsection{Function Documentation}
\mbox{\Hypertarget{DataTypes_8hh_a1bf2a9d155a029c5a37e9341d30a4589}\label{DataTypes_8hh_a1bf2a9d155a029c5a37e9341d30a4589}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!add\+Data\+Type@{add\+Data\+Type}}
\index{add\+Data\+Type@{add\+Data\+Type}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{add\+Data\+Type()}{addDataType()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classDataType}{Data\+Type} add\+Data\+Type (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+String}]{\+\_\+readable\+Name }\end{DoxyParamCaption})}



Adds a datatype and returns the id for the new type. 

Adds a datatype and returns the id for the new type


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Internal name for the new \hyperlink{classDataType}{Data\+Type} \\
\hline
{\em \+\_\+readable\+Name} & Human readable Name for this type ( Use tr to make it translatable ) \\
\hline
\end{DoxyParams}


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

\mbox{\Hypertarget{DataTypes_8hh_a1912806f4e81b57e886710e116d0d4af}\label{DataTypes_8hh_a1912806f4e81b57e886710e116d0d4af}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!data\+Type\+Name@{data\+Type\+Name}}
\index{data\+Type\+Name@{data\+Type\+Name}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{data\+Type\+Name()}{dataTypeName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String data\+Type\+Name (\begin{DoxyParamCaption}\item[{\hyperlink{classDataType}{Data\+Type}}]{\+\_\+id }\end{DoxyParamCaption})}



Get \hyperlink{classDataType}{Data\+Type} Human readable name ( this name might change. Use the type\+Name instead! ) 

Get \hyperlink{classDataType}{Data\+Type} Human readable name ( this name might change. Use the type\+Name instead! ) 

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

\mbox{\Hypertarget{DataTypes_8hh_a356beb6fb30092c2def6452b54f55181}\label{DataTypes_8hh_a356beb6fb30092c2def6452b54f55181}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!data\+Type\+Name@{data\+Type\+Name}}
\index{data\+Type\+Name@{data\+Type\+Name}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{data\+Type\+Name()}{dataTypeName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String data\+Type\+Name (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+type\+Name }\end{DoxyParamCaption})}



Get \hyperlink{classDataType}{Data\+Type} Human readable name ( this name might change. Use the type\+Name instead! ) 

Get \hyperlink{classDataType}{Data\+Type} Human readable name ( this name might change. Use the type\+Name instead! ) 

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

\mbox{\Hypertarget{DataTypes_8hh_a0f34cff01d34f053f30358c68d0ae7d6}\label{DataTypes_8hh_a0f34cff01d34f053f30358c68d0ae7d6}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!register\+Types@{register\+Types}}
\index{register\+Types@{register\+Types}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{register\+Types()}{registerTypes()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void register\+Types (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Registers datatypes on runtime for signal/slots 

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

\mbox{\Hypertarget{DataTypes_8hh_a37a69879ac31d904314678fd1e578934}\label{DataTypes_8hh_a37a69879ac31d904314678fd1e578934}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!set\+Data\+Type\+Name@{set\+Data\+Type\+Name}}
\index{set\+Data\+Type\+Name@{set\+Data\+Type\+Name}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{set\+Data\+Type\+Name()}{setDataTypeName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void set\+Data\+Type\+Name (\begin{DoxyParamCaption}\item[{\hyperlink{classDataType}{Data\+Type}}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Set \hyperlink{classDataType}{Data\+Type} Human readable name. 

Set \hyperlink{classDataType}{Data\+Type} Human readable name. 

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

\mbox{\Hypertarget{DataTypes_8hh_a56ed3ba651a7272c307b25139f3b3cb9}\label{DataTypes_8hh_a56ed3ba651a7272c307b25139f3b3cb9}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!set\+Data\+Type\+Name@{set\+Data\+Type\+Name}}
\index{set\+Data\+Type\+Name@{set\+Data\+Type\+Name}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{set\+Data\+Type\+Name()}{setDataTypeName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void set\+Data\+Type\+Name (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+type\+Name,  }\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Set \hyperlink{classDataType}{Data\+Type} Human readable name. 

Set \hyperlink{classDataType}{Data\+Type} Human readable name. 

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

\mbox{\Hypertarget{DataTypes_8hh_ad665808a88085c8d50a2f0c3863885f6}\label{DataTypes_8hh_ad665808a88085c8d50a2f0c3863885f6}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!set\+Type\+Icon@{set\+Type\+Icon}}
\index{set\+Type\+Icon@{set\+Type\+Icon}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{set\+Type\+Icon()}{setTypeIcon()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void set\+Type\+Icon (\begin{DoxyParamCaption}\item[{\hyperlink{classDataType}{Data\+Type}}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+icon }\end{DoxyParamCaption})}



Set an Icon for a given \hyperlink{classDataType}{Data\+Type}. 

Set an Icon for a given \hyperlink{classDataType}{Data\+Type}. 

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

\mbox{\Hypertarget{DataTypes_8hh_ac0596bb3d5ba2c0f99bee2b414eba084}\label{DataTypes_8hh_ac0596bb3d5ba2c0f99bee2b414eba084}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!set\+Type\+Icon@{set\+Type\+Icon}}
\index{set\+Type\+Icon@{set\+Type\+Icon}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{set\+Type\+Icon()}{setTypeIcon()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} void set\+Type\+Icon (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+String}]{\+\_\+icon }\end{DoxyParamCaption})}



Set an Icon for a given \hyperlink{classDataType}{Data\+Type}. 

Set an Icon for a given \hyperlink{classDataType}{Data\+Type}. 

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

\mbox{\Hypertarget{DataTypes_8hh_a7f0bc1f53c971c3074af0d6161a7cb3a}\label{DataTypes_8hh_a7f0bc1f53c971c3074af0d6161a7cb3a}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!type\+Count@{type\+Count}}
\index{type\+Count@{type\+Count}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{type\+Count()}{typeCount()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} size\+\_\+t type\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Get the number of registered types. 

This function will return the number of types registered to the core. You can use it to iterate over all types.

\begin{DoxyNote}{Note}
Remember that the types are organized in a bitfield!
\end{DoxyNote}
Get the number of registered types. 

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

\mbox{\Hypertarget{DataTypes_8hh_ae3ec619a9901ff1669aaf3310a7b51b1}\label{DataTypes_8hh_ae3ec619a9901ff1669aaf3310a7b51b1}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!type\+Exists@{type\+Exists}}
\index{type\+Exists@{type\+Exists}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{type\+Exists()}{typeExists()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} bool type\+Exists (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Check if a type with the given name exists. 



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

\mbox{\Hypertarget{DataTypes_8hh_a666ebcecfdc99ab0dee3770f4f258246}\label{DataTypes_8hh_a666ebcecfdc99ab0dee3770f4f258246}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!type\+Icon@{type\+Icon}}
\index{type\+Icon@{type\+Icon}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{type\+Icon()}{typeIcon()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+Icon\& type\+Icon (\begin{DoxyParamCaption}\item[{\hyperlink{classDataType}{Data\+Type}}]{\+\_\+id }\end{DoxyParamCaption})}



Get an Q\+Icon associated with the given \hyperlink{classDataType}{Data\+Type}. 

The icons are loaded once when set and then the reference is returned here. This reduces the time when frequently requesting the icons (e.\+g. Data\+Control)

Get an Q\+Icon associated with the given \hyperlink{classDataType}{Data\+Type}. 

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

\mbox{\Hypertarget{DataTypes_8hh_ad371a2eb017e9b9a9c4d76f583e1d3da}\label{DataTypes_8hh_ad371a2eb017e9b9a9c4d76f583e1d3da}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!type\+Icon\+Name@{type\+Icon\+Name}}
\index{type\+Icon\+Name@{type\+Icon\+Name}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{type\+Icon\+Name()}{typeIconName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String type\+Icon\+Name (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Get a string with the filename of the icon for the \hyperlink{classDataType}{Data\+Type} name. 

Get a string with the filename of the icon for the \hyperlink{classDataType}{Data\+Type} name. 

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

\mbox{\Hypertarget{DataTypes_8hh_a92add249194ee81a49be9114911f1adc}\label{DataTypes_8hh_a92add249194ee81a49be9114911f1adc}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!type\+Icon\+Name@{type\+Icon\+Name}}
\index{type\+Icon\+Name@{type\+Icon\+Name}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{type\+Icon\+Name()}{typeIconName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String type\+Icon\+Name (\begin{DoxyParamCaption}\item[{\hyperlink{classDataType}{Data\+Type}}]{\+\_\+id }\end{DoxyParamCaption})}



Get a string with the filename of the icon for the \hyperlink{classDataType}{Data\+Type}. 

Get a string with the filename of the icon for the \hyperlink{classDataType}{Data\+Type}. 

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

\mbox{\Hypertarget{DataTypes_8hh_a2e03981ec754e81543c3126ab6e64bae}\label{DataTypes_8hh_a2e03981ec754e81543c3126ab6e64bae}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!type\+Id@{type\+Id}}
\index{type\+Id@{type\+Id}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{type\+Id()}{typeId()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} \hyperlink{classDataType}{Data\+Type} type\+Id (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})}



Given a data\+Type Identifier string this function will return the id of the datatype. 

Given a data\+Type Identifier string this function will return the id of the datatype. 

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

\mbox{\Hypertarget{DataTypes_8hh_a419f47c22fff00dcf334dd9df25bd1ed}\label{DataTypes_8hh_a419f47c22fff00dcf334dd9df25bd1ed}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!type\+Name@{type\+Name}}
\index{type\+Name@{type\+Name}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{type\+Name()}{typeName()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} Q\+String type\+Name (\begin{DoxyParamCaption}\item[{\hyperlink{classDataType}{Data\+Type}}]{\+\_\+id }\end{DoxyParamCaption})}



Get the name of a type with given id. 

The ids are organized in a bitfield. So use either the macro for getting the type id or use the id directly (they have to be power of 2! ... Bitfield) 

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

\mbox{\Hypertarget{DataTypes_8hh_a8c8f3c18296c28d64c5981052eee2cdd}\label{DataTypes_8hh_a8c8f3c18296c28d64c5981052eee2cdd}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!types\+Begin@{types\+Begin}}
\index{types\+Begin@{types\+Begin}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{types\+Begin()}{typesBegin()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} std\+::vector$<$ \hyperlink{classTypeInfo}{Type\+Info} $>$\+::const\+\_\+iterator types\+Begin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Get iterator pointing to the first element in the types list. 

Get iterator pointing to the first element in the types list. 

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

\mbox{\Hypertarget{DataTypes_8hh_a356fd8da5d4b01fca9b359d95df9ba38}\label{DataTypes_8hh_a356fd8da5d4b01fca9b359d95df9ba38}} 
\index{Data\+Types.\+hh@{Data\+Types.\+hh}!types\+End@{types\+End}}
\index{types\+End@{types\+End}!Data\+Types.\+hh@{Data\+Types.\+hh}}
\subsubsection{\texorpdfstring{types\+End()}{typesEnd()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} std\+::vector$<$ \hyperlink{classTypeInfo}{Type\+Info} $>$\+::const\+\_\+iterator types\+End (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Get iterator pointing to the last element in the types list. 

Get iterator pointing to the last element in the types list. 

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

