\hypertarget{NumberParsing_8hh}{}\section{Open\+Flipper/\+Utils/\+File\+I\+O/\+Number\+Parsing.hh File Reference}
\label{NumberParsing_8hh}\index{Open\+Flipper/\+Utils/\+File\+I\+O/\+Number\+Parsing.\+hh@{Open\+Flipper/\+Utils/\+File\+I\+O/\+Number\+Parsing.\+hh}}
{\ttfamily \#include \char`\"{}Open\+Flipper/common/\+Global\+Defines.\+hh\char`\"{}}\newline
{\ttfamily \#include $<$Q\+Text\+Stream$>$}\newline
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double {\bfseries Utils\+::get\+Double} (Q\+Text\+Stream \&\+\_\+source)
\begin{DoxyCompactList}\small\item\em get\+Double parses a Q\+Text\+Stream for a double. the double has to be the next word in the Q\+Text\+Stream. if parsing fails, the standard extraction is performed and returned. \end{DoxyCompactList}\item 
float {\bfseries Utils\+::get\+Float} (Q\+Text\+Stream \&\+\_\+source)
\begin{DoxyCompactList}\small\item\em get\+Float parses a Q\+Text\+Stream for a float. the float has to be the next word in the Q\+Text\+Stream. if parsing fails, the standard extraction is performed and returned. \end{DoxyCompactList}\item 
float {\bfseries Utils\+::get\+Float} (std\+::istream \&\+\_\+source)
\begin{DoxyCompactList}\small\item\em get\+Float parses a std\+::istream for a float. the float has to be the next word in the std\+::istream. if parsing fails, the standard extraction is performed and returned. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This file contains functions which can be used to parse numbers from streams. The algorithms are designed to parse Numbers very fast, however for numbers with scientific notation the performance may not improve. (e.\+g. parsing 123e10 will be slower with this algorithm) 

\subsection{Function Documentation}
\mbox{\Hypertarget{NumberParsing_8cc_file_aaad390a805ac1a1f3389479749d5c070}\label{NumberParsing_8cc_file_aaad390a805ac1a1f3389479749d5c070}} 
\index{Number\+Parsing.\+hh@{Number\+Parsing.\+hh}!get\+Double@{get\+Double}}
\index{get\+Double@{get\+Double}!Number\+Parsing.\+hh@{Number\+Parsing.\+hh}}
\subsubsection{\texorpdfstring{get\+Double()}{getDouble()}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} double Utils\+::get\+Double (\begin{DoxyParamCaption}\item[{Q\+Text\+Stream \&}]{\+\_\+source }\end{DoxyParamCaption})}



get\+Double parses a Q\+Text\+Stream for a double. the double has to be the next word in the Q\+Text\+Stream. if parsing fails, the standard extraction is performed and returned. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+source} & The Q\+Text\+Stream that holds at least one double. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
double the extracted double. 
\end{DoxyReturn}


Definition at line 178 of file Number\+Parsing.\+cc.

\mbox{\Hypertarget{NumberParsing_8cc_file_a50924678347616acf2662aafab9ad068}\label{NumberParsing_8cc_file_a50924678347616acf2662aafab9ad068}} 
\index{Number\+Parsing.\+hh@{Number\+Parsing.\+hh}!get\+Float@{get\+Float}}
\index{get\+Float@{get\+Float}!Number\+Parsing.\+hh@{Number\+Parsing.\+hh}}
\subsubsection{\texorpdfstring{get\+Float()}{getFloat()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} float Utils\+::get\+Float (\begin{DoxyParamCaption}\item[{Q\+Text\+Stream \&}]{\+\_\+source }\end{DoxyParamCaption})}



get\+Float parses a Q\+Text\+Stream for a float. the float has to be the next word in the Q\+Text\+Stream. if parsing fails, the standard extraction is performed and returned. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+source} & The Q\+Text\+Stream that holds at least one float. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
float the extracted float. 
\end{DoxyReturn}


Definition at line 49 of file Number\+Parsing.\+cc.

\mbox{\Hypertarget{NumberParsing_8cc_file_a25eb77f833cc66f31be0e15c2fa1e8a1}\label{NumberParsing_8cc_file_a25eb77f833cc66f31be0e15c2fa1e8a1}} 
\index{Number\+Parsing.\+hh@{Number\+Parsing.\+hh}!get\+Float@{get\+Float}}
\index{get\+Float@{get\+Float}!Number\+Parsing.\+hh@{Number\+Parsing.\+hh}}
\subsubsection{\texorpdfstring{get\+Float()}{getFloat()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{GlobalDefines_8hh_a808e08638be3cba36e36759e5b150de0}{D\+L\+L\+E\+X\+P\+O\+RT} float Utils\+::get\+Float (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{\+\_\+source }\end{DoxyParamCaption})}



get\+Float parses a std\+::istream for a float. the float has to be the next word in the std\+::istream. if parsing fails, the standard extraction is performed and returned. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+source} & The std\+::istream that holds at least one float. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
float the extracted float. 
\end{DoxyReturn}


Definition at line 111 of file Number\+Parsing.\+cc.

