\hypertarget{group__Eina__Cxx__Inline__Array__Group}{\section{Inline Array}
\label{group__Eina__Cxx__Inline__Array__Group}\index{Inline Array@{Inline Array}}
}


Inline array is a container that stores the data itself not pointers to data, this means there is no memory fragmentation, also for small data types(such as char, short, int, etc.) it's more memory efficient.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structefl_1_1eina_1_1__inarray__access__traits}{efl\+::eina\+::\+\_\+inarray\+\_\+access\+\_\+traits}
\item 
struct \hyperlink{structefl_1_1eina_1_1__inarray__access__traits_1_1const__iterator}{efl\+::eina\+::\+\_\+inarray\+\_\+access\+\_\+traits\+::const\+\_\+iterator$<$ T $>$}
\item 
struct \hyperlink{structefl_1_1eina_1_1__inarray__access__traits_1_1iterator}{efl\+::eina\+::\+\_\+inarray\+\_\+access\+\_\+traits\+::iterator$<$ T $>$}
\item 
struct \hyperlink{structefl_1_1eina_1_1__inarray__access__traits_1_1const__native__handle}{efl\+::eina\+::\+\_\+inarray\+\_\+access\+\_\+traits\+::const\+\_\+native\+\_\+handle$<$ T $>$}
\item 
struct \hyperlink{structefl_1_1eina_1_1__inarray__access__traits_1_1native__handle}{efl\+::eina\+::\+\_\+inarray\+\_\+access\+\_\+traits\+::native\+\_\+handle$<$ T $>$}
\item 
class \hyperlink{singletonefl_1_1eina_1_1inarray}{efl\+::eina\+::inarray$<$ T $>$}
\begin{DoxyCompactList}\small\item\em Inline array class. \end{DoxyCompactList}\item 
struct \hyperlink{structefl_1_1eina_1_1range__inarray}{efl\+::eina\+::range\+\_\+inarray$<$ T $>$}
\begin{DoxyCompactList}\small\item\em Range class for \hyperlink{singletonefl_1_1eina_1_1inarray}{inarray}. \end{DoxyCompactList}\item 
struct \hyperlink{structefl_1_1eina_1_1__inarray__common__base}{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}
\begin{DoxyCompactList}\small\item\em Common inarray interface for every value type. \end{DoxyCompactList}\item 
class \hyperlink{classefl_1_1eina_1_1__pod__inarray}{efl\+::eina\+::\+\_\+pod\+\_\+inarray$<$ T $>$}
\begin{DoxyCompactList}\small\item\em Optimized specialization of the base inline array for P\+O\+D types. \end{DoxyCompactList}\item 
class \hyperlink{classefl_1_1eina_1_1__nonpod__inarray}{efl\+::eina\+::\+\_\+nonpod\+\_\+inarray$<$ T $>$}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename T $>$ }\\bool \hyperlink{group__Eina__Cxx__Inline__Array__Group_ga80119fb7d2b9de2c733534ef3da76a7a}{efl\+::eina\+::operator==} (inarray$<$ T $>$ const \&lhs, inarray$<$ T $>$ const \&rhs)
\begin{DoxyCompactList}\small\item\em Check if two inline arrays are equal. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\bool \hyperlink{group__Eina__Cxx__Inline__Array__Group_gad432affca8d92ab98f9abd06b00a4d87}{efl\+::eina\+::operator!=} (inarray$<$ T $>$ const \&lhs, inarray$<$ T $>$ const \&rhs)
\begin{DoxyCompactList}\small\item\em Check if two inline arrays are different. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{group__Eina__Cxx__Inline__Array__Group_ga5ed1977ec8ea60e83562bbfc2bac9142}{efl\+::eina\+::swap} (inarray$<$ T $>$ \&lhs, inarray$<$ T $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Swap content between two inline arrays. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Inline array is a container that stores the data itself not pointers to data, this means there is no memory fragmentation, also for small data types(such as char, short, int, etc.) it's more memory efficient. 



\subsection{Function Documentation}
\hypertarget{group__Eina__Cxx__Inline__Array__Group_ga80119fb7d2b9de2c733534ef3da76a7a}{\index{Inline Array@{Inline Array}!operator==@{operator==}}
\index{operator==@{operator==}!Inline Array@{Inline Array}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ bool efl\+::eina\+::operator== (
\begin{DoxyParamCaption}
\item[{inarray$<$ T $>$ const \&}]{lhs, }
\item[{inarray$<$ T $>$ const \&}]{rhs}
\end{DoxyParamCaption}
)}}\label{group__Eina__Cxx__Inline__Array__Group_ga80119fb7d2b9de2c733534ef3da76a7a}


Check if two inline arrays are equal. 


\begin{DoxyParams}{Parameters}
{\em lhs} & Inline array at the left side of the expression. \\
\hline
{\em rhs} & Inline array at the right side of the expression. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if the arrays are equals, {\ttfamily false} otherwise.
\end{DoxyReturn}
This operator checks if the given inline arrays are equal. To be considered equal both arrays need to have the same number of elements, and each element in one array must be equal to the element at the same position in the other array. \hypertarget{group__Eina__Cxx__Inline__Array__Group_gad432affca8d92ab98f9abd06b00a4d87}{\index{Inline Array@{Inline Array}!operator"!=@{operator"!=}}
\index{operator"!=@{operator"!=}!Inline Array@{Inline Array}}
\subsubsection[{operator"!=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ bool efl\+::eina\+::operator!= (
\begin{DoxyParamCaption}
\item[{inarray$<$ T $>$ const \&}]{lhs, }
\item[{inarray$<$ T $>$ const \&}]{rhs}
\end{DoxyParamCaption}
)}}\label{group__Eina__Cxx__Inline__Array__Group_gad432affca8d92ab98f9abd06b00a4d87}


Check if two inline arrays are different. 


\begin{DoxyParams}{Parameters}
{\em lhs} & Inline array at the left side of the expression. \\
\hline
{\em rhs} & Inline array at the right side of the expression. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if the arrays are not equal , {\ttfamily false} otherwise.
\end{DoxyReturn}
This operator returns the opposite of operator==(inarray$<$\+T$>$ const\& lhs, inarray$<$\+T$>$ const\& rhs). \hypertarget{group__Eina__Cxx__Inline__Array__Group_ga5ed1977ec8ea60e83562bbfc2bac9142}{\index{Inline Array@{Inline Array}!swap@{swap}}
\index{swap@{swap}!Inline Array@{Inline Array}}
\subsubsection[{swap}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void efl\+::eina\+::swap (
\begin{DoxyParamCaption}
\item[{inarray$<$ T $>$ \&}]{lhs, }
\item[{inarray$<$ T $>$ \&}]{rhs}
\end{DoxyParamCaption}
)}}\label{group__Eina__Cxx__Inline__Array__Group_ga5ed1977ec8ea60e83562bbfc2bac9142}


Swap content between two inline arrays. 


\begin{DoxyParams}{Parameters}
{\em other} & Other inline array of the same type. \\
\hline
\end{DoxyParams}


Referenced by efl\+::eina\+::\+\_\+pod\+\_\+inarray$<$ T $>$\+::swap(), and efl\+::eina\+::\+\_\+nonpod\+\_\+inarray$<$ T $>$\+::swap().

