\hypertarget{classefl_1_1eina_1_1inarray}{}\section{efl\+:\+:eina\+:\+:inarray$<$ T $>$ Class Template Reference}
\label{classefl_1_1eina_1_1inarray}\index{efl\+::eina\+::inarray$<$ T $>$@{efl\+::eina\+::inarray$<$ T $>$}}


Inline array class.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classefl_1_1eina_1_1inarray_a548f62723f4080ea00ef5858b9c33b78}{inarray} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\+\_\+\+Inarray} $\ast$\hyperlink{classefl_1_1eina_1_1array}{array})
\begin{DoxyCompactList}\small\item\em Create a new object from a handle to a native Eina\+\_\+\+Inarray. \end{DoxyCompactList}\item 
\hyperlink{classefl_1_1eina_1_1inarray_a7279b07c7c9e4783066f666ac1ef7a45}{inarray} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{classefl_1_1eina_1_1inarray_a1465d292d407b8b5545488206aa64519}{inarray} (typename \+\_\+base\+\_\+type\+::size\+\_\+type n, typename \+\_\+base\+\_\+type\+::value\+\_\+type const \&t)
\begin{DoxyCompactList}\small\item\em Construct an array object with {\ttfamily n} copies of {\ttfamily t}. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Input\+Iterator $>$ }\\\hyperlink{classefl_1_1eina_1_1inarray_ac235611da270dfd524ea38c39869fd7b}{inarray} (Input\+Iterator i, Input\+Iterator const \&j, typename eina\+::enable\+\_\+if$<$!eina\+::is\+\_\+integral$<$ Input\+Iterator $>$\+::\hyperlink{classefl_1_1eina_1_1value}{value} $>$\+::type $\ast$=0)
\begin{DoxyCompactList}\small\item\em Create a inline array with elements from the given range. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$class efl\+::eina\+::inarray$<$ T $>$}

Inline array class. 

It provides an O\+O\+P interface to the {\ttfamily Eina\+\_\+\+Inarray} functions, and automatically take care of allocating and deallocating resources using the R\+A\+I\+I programming idiom.

It also provides additional member functions to facilitate the access to the array content, much like a S\+T\+L vector. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classefl_1_1eina_1_1inarray_a548f62723f4080ea00ef5858b9c33b78}{}\index{efl\+::eina\+::inarray@{efl\+::eina\+::inarray}!inarray@{inarray}}
\index{inarray@{inarray}!efl\+::eina\+::inarray@{efl\+::eina\+::inarray}}
\subsubsection[{inarray}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf efl\+::eina\+::inarray}$<$ T $>$\+::{\bf inarray} (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classefl_1_1eina_1_1inarray_a548f62723f4080ea00ef5858b9c33b78}


Create a new object from a handle to a native Eina\+\_\+\+Inarray. 


\begin{DoxyParams}{Parameters}
{\em array} & Handle to a native Eina\+\_\+\+Inarray.\\
\hline
\end{DoxyParams}
This constructor wraps a pre-\/allocated Eina\+\_\+\+Inarray providing an O\+O\+P interface to it.

\begin{DoxyWarning}{Warning}
It is important to note that the created object gains ownership of the handle, deallocating it at destruction time. 
\end{DoxyWarning}
\hypertarget{classefl_1_1eina_1_1inarray_a7279b07c7c9e4783066f666ac1ef7a45}{}\index{efl\+::eina\+::inarray@{efl\+::eina\+::inarray}!inarray@{inarray}}
\index{inarray@{inarray}!efl\+::eina\+::inarray@{efl\+::eina\+::inarray}}
\subsubsection[{inarray}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf efl\+::eina\+::inarray}$<$ T $>$\+::{\bf inarray} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classefl_1_1eina_1_1inarray_a7279b07c7c9e4783066f666ac1ef7a45}


Default constructor. 

Creates an empty array. \hypertarget{classefl_1_1eina_1_1inarray_a1465d292d407b8b5545488206aa64519}{}\index{efl\+::eina\+::inarray@{efl\+::eina\+::inarray}!inarray@{inarray}}
\index{inarray@{inarray}!efl\+::eina\+::inarray@{efl\+::eina\+::inarray}}
\subsubsection[{inarray}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf efl\+::eina\+::inarray}$<$ T $>$\+::{\bf inarray} (
\begin{DoxyParamCaption}
\item[{typename \+\_\+base\+\_\+type\+::size\+\_\+type}]{n, }
\item[{typename \+\_\+base\+\_\+type\+::value\+\_\+type const \&}]{t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classefl_1_1eina_1_1inarray_a1465d292d407b8b5545488206aa64519}


Construct an array object with {\ttfamily n} copies of {\ttfamily t}. 


\begin{DoxyParams}{Parameters}
{\em n} & Number of elements. \\
\hline
{\em t} & Value to be copied to each element.\\
\hline
\end{DoxyParams}
This constructor creates an inline array with {\ttfamily n} elements, each one as a copy of {\ttfamily t}. \hypertarget{classefl_1_1eina_1_1inarray_ac235611da270dfd524ea38c39869fd7b}{}\index{efl\+::eina\+::inarray@{efl\+::eina\+::inarray}!inarray@{inarray}}
\index{inarray@{inarray}!efl\+::eina\+::inarray@{efl\+::eina\+::inarray}}
\subsubsection[{inarray}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ template$<$typename Input\+Iterator $>$ {\bf efl\+::eina\+::inarray}$<$ T $>$\+::{\bf inarray} (
\begin{DoxyParamCaption}
\item[{Input\+Iterator}]{i, }
\item[{Input\+Iterator const \&}]{j, }
\item[{typename eina\+::enable\+\_\+if$<$!eina\+::is\+\_\+integral$<$ Input\+Iterator $>$\+::{\bf value} $>$\+::type $\ast$}]{ = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classefl_1_1eina_1_1inarray_ac235611da270dfd524ea38c39869fd7b}


Create a inline array with elements from the given range. 


\begin{DoxyParams}{Parameters}
{\em i} & Iterator to the initial position. The element pointed by this iterator will be copied. \\
\hline
{\em j} & Iterator to the final position. The element pointed by this iterator will N\+O\+T be copied.\\
\hline
\end{DoxyParams}
This constructor creates a inline array with copies of the elements between {\ttfamily i} and {\ttfamily j} in the same order.

\begin{DoxyNote}{Note}
The ending element (pointed by {\ttfamily j}) is not copied. 
\end{DoxyNote}
