\hypertarget{structefl_1_1eina_1_1__inarray__common__base}{}\section{efl\+:\+:eina\+:\+:\+\_\+inarray\+\_\+common\+\_\+base Struct Reference}
\label{structefl_1_1eina_1_1__inarray__common__base}\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}


Common inarray interface for every value type.  


\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::size\+\_\+t \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}{size\+\_\+type}
\begin{DoxyCompactList}\small\item\em Type for size information used in the array. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_ac1817673fa6fac335596a959936192de}\label{structefl_1_1eina_1_1__inarray__common__base_ac1817673fa6fac335596a959936192de}} 
typedef \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\+\_\+\+Inarray} $\ast$ {\bfseries native\+\_\+handle\+\_\+type}
\item 
typedef \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\+\_\+\+Inarray} const  $\ast$ \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}{const\+\_\+native\+\_\+handle\+\_\+type}
\begin{DoxyCompactList}\small\item\em Type for the native {\ttfamily Eina\+\_\+\+Inarray} handle. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structefl_1_1eina_1_1__inarray__common__base_a58f8548b3224bc20c17a12f5abf27d49}{\+\_\+inarray\+\_\+common\+\_\+base} (\hyperlink{struct__Eina__Inarray}{native\+\_\+handle\+\_\+type} \hyperlink{classefl_1_1eina_1_1array}{array})
\begin{DoxyCompactList}\small\item\em Type for constant native {\ttfamily Eina\+\_\+\+Inarray} handle. \end{DoxyCompactList}\item 
\hyperlink{structefl_1_1eina_1_1__inarray__common__base_a9b886ad167d122a6adcc5361512e8f0f}{\+\_\+inarray\+\_\+common\+\_\+base} (\hyperlink{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}{size\+\_\+type} member\+\_\+size)
\begin{DoxyCompactList}\small\item\em Allocates a array with the given size for each element. \end{DoxyCompactList}\item 
\hyperlink{structefl_1_1eina_1_1__inarray__common__base_a94405a92b9bc349474fc57cce2263895}{$\sim$\+\_\+inarray\+\_\+common\+\_\+base} ()
\begin{DoxyCompactList}\small\item\em Release the inline array memory. \end{DoxyCompactList}\item 
\hyperlink{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}{size\+\_\+type} \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a1881d758c9e4aceada24382fb427c647}{size} () const
\begin{DoxyCompactList}\small\item\em Get the current size of the array. \end{DoxyCompactList}\item 
bool \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a35c9d7d77c67ca06df179d77bcf8bad7}{empty} () const
\begin{DoxyCompactList}\small\item\em Check if the array is empty. \end{DoxyCompactList}\item 
\hyperlink{struct__Eina__Inarray}{native\+\_\+handle\+\_\+type} \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a2ee5ad01f0109af7a7344e636f965c2b}{native\+\_\+handle} ()
\begin{DoxyCompactList}\small\item\em Get the handle for the wrapped Eina\+\_\+\+Inarray. \end{DoxyCompactList}\item 
\hyperlink{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}{const\+\_\+native\+\_\+handle\+\_\+type} \hyperlink{structefl_1_1eina_1_1__inarray__common__base_aaa63c59c35b8df565bfc429f9ec8b204}{native\+\_\+handle} () const
\begin{DoxyCompactList}\small\item\em Get a constant handle for the wrapped Eina\+\_\+\+Inarray. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_aad8f69bc0ba0f7e35d387edde40b7e13}\label{structefl_1_1eina_1_1__inarray__common__base_aad8f69bc0ba0f7e35d387edde40b7e13}} 
\hyperlink{struct__Eina__Inarray}{native\+\_\+handle\+\_\+type} {\bfseries \+\_\+array}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Common inarray interface for every value type. 

\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}\label{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!size\+\_\+type@{size\+\_\+type}}
\index{size\+\_\+type@{size\+\_\+type}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{size\+\_\+type}{size\_type}}
{\footnotesize\ttfamily typedef std\+::size\+\_\+t \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::size\+\_\+type}}



Type for size information used in the array. 

\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}\label{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!const\+\_\+native\+\_\+handle\+\_\+type@{const\+\_\+native\+\_\+handle\+\_\+type}}
\index{const\+\_\+native\+\_\+handle\+\_\+type@{const\+\_\+native\+\_\+handle\+\_\+type}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{const\+\_\+native\+\_\+handle\+\_\+type}{const\_native\_handle\_type}}
{\footnotesize\ttfamily typedef \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\+\_\+\+Inarray} const$\ast$ \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::const\+\_\+native\+\_\+handle\+\_\+type}}



Type for the native {\ttfamily Eina\+\_\+\+Inarray} handle. 



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a58f8548b3224bc20c17a12f5abf27d49}\label{structefl_1_1eina_1_1__inarray__common__base_a58f8548b3224bc20c17a12f5abf27d49}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!\+\_\+inarray\+\_\+common\+\_\+base@{\+\_\+inarray\+\_\+common\+\_\+base}}
\index{\+\_\+inarray\+\_\+common\+\_\+base@{\+\_\+inarray\+\_\+common\+\_\+base}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{\+\_\+inarray\+\_\+common\+\_\+base()}{\_inarray\_common\_base()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::\+\_\+inarray\+\_\+common\+\_\+base (\begin{DoxyParamCaption}\item[{\hyperlink{struct__Eina__Inarray}{native\+\_\+handle\+\_\+type}}]{array }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Type for constant native {\ttfamily Eina\+\_\+\+Inarray} handle. 

Creates a new array object from a handle to a native {\ttfamily Eina\+\_\+\+Inarray}. 
\begin{DoxyParams}{Parameters}
{\em array} & Handler to a native {\ttfamily Eina\+\_\+\+Inarray} \\
\hline
\end{DoxyParams}
This constructor wraps a pre-\/allocated {\ttfamily Eina\+\_\+\+Inarray} providing an OO interface to it.

\begin{DoxyWarning}{Warning}
It is important to note that the created array object gains ownership of the handle, deallocating it at destruction time. 
\end{DoxyWarning}
\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a9b886ad167d122a6adcc5361512e8f0f}\label{structefl_1_1eina_1_1__inarray__common__base_a9b886ad167d122a6adcc5361512e8f0f}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!\+\_\+inarray\+\_\+common\+\_\+base@{\+\_\+inarray\+\_\+common\+\_\+base}}
\index{\+\_\+inarray\+\_\+common\+\_\+base@{\+\_\+inarray\+\_\+common\+\_\+base}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{\+\_\+inarray\+\_\+common\+\_\+base()}{\_inarray\_common\_base()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::\+\_\+inarray\+\_\+common\+\_\+base (\begin{DoxyParamCaption}\item[{\hyperlink{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}{size\+\_\+type}}]{member\+\_\+size }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Allocates a array with the given size for each element. 


\begin{DoxyParams}{Parameters}
{\em member\+\_\+size} & Size of each element in the array.\\
\hline
\end{DoxyParams}
This constructor creates an inline array object with the given size (in bytes) for each element. All allocated memory will be released at destruction. \mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a94405a92b9bc349474fc57cce2263895}\label{structefl_1_1eina_1_1__inarray__common__base_a94405a92b9bc349474fc57cce2263895}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!````~\+\_\+inarray\+\_\+common\+\_\+base@{$\sim$\+\_\+inarray\+\_\+common\+\_\+base}}
\index{````~\+\_\+inarray\+\_\+common\+\_\+base@{$\sim$\+\_\+inarray\+\_\+common\+\_\+base}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{$\sim$\+\_\+inarray\+\_\+common\+\_\+base()}{~\_inarray\_common\_base()}}
{\footnotesize\ttfamily efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::$\sim$\+\_\+inarray\+\_\+common\+\_\+base (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Release the inline array memory. 

This destructor release the internal native {\ttfamily Eina\+\_\+\+Inarray} handle, freeing allocated memory. 

References eina\+\_\+inarray\+\_\+free().



\subsection{Member Function Documentation}
\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a1881d758c9e4aceada24382fb427c647}\label{structefl_1_1eina_1_1__inarray__common__base_a1881d758c9e4aceada24382fb427c647}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!size@{size}}
\index{size@{size}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{size()}{size()}}
{\footnotesize\ttfamily \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}{size\+\_\+type} efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the current size of the array. 

\begin{DoxyReturn}{Returns}
Number of elements in the array.
\end{DoxyReturn}
This member function returns the current number of elements inside the inline array. \mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a35c9d7d77c67ca06df179d77bcf8bad7}\label{structefl_1_1eina_1_1__inarray__common__base_a35c9d7d77c67ca06df179d77bcf8bad7}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!empty@{empty}}
\index{empty@{empty}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{empty()}{empty()}}
{\footnotesize\ttfamily bool efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::empty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Check if the array is empty. 

\begin{DoxyReturn}{Returns}
{\ttfamily true} if the array is empty, {\ttfamily false} otherwise.
\end{DoxyReturn}
This member function returns {\ttfamily true} if the array does not contain any elements, otherwise it returns {\ttfamily false}. \mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_a2ee5ad01f0109af7a7344e636f965c2b}\label{structefl_1_1eina_1_1__inarray__common__base_a2ee5ad01f0109af7a7344e636f965c2b}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!native\+\_\+handle@{native\+\_\+handle}}
\index{native\+\_\+handle@{native\+\_\+handle}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{native\+\_\+handle()}{native\_handle()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{struct__Eina__Inarray}{native\+\_\+handle\+\_\+type} efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::native\+\_\+handle (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get the handle for the wrapped Eina\+\_\+\+Inarray. 

\begin{DoxyReturn}{Returns}
Internal handle for the native Eina inline array.
\end{DoxyReturn}
This member function returns the native {\ttfamily Eina\+\_\+\+Inarray} handle that is wrapped inside this object.

\begin{DoxyWarning}{Warning}
It is important to take care when using it, since the handle will be automatically release upon object destruction. 
\end{DoxyWarning}
\mbox{\Hypertarget{structefl_1_1eina_1_1__inarray__common__base_aaa63c59c35b8df565bfc429f9ec8b204}\label{structefl_1_1eina_1_1__inarray__common__base_aaa63c59c35b8df565bfc429f9ec8b204}} 
\index{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}!native\+\_\+handle@{native\+\_\+handle}}
\index{native\+\_\+handle@{native\+\_\+handle}!efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base@{efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base}}
\subsubsection{\texorpdfstring{native\+\_\+handle()}{native\_handle()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}{const\+\_\+native\+\_\+handle\+\_\+type} efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::native\+\_\+handle (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get a constant handle for the wrapped Eina\+\_\+\+Inarray. 

\begin{DoxyReturn}{Returns}
Constant handle for the native Eina inline array.
\end{DoxyReturn}
Version of \hyperlink{structefl_1_1eina_1_1__inarray__common__base_a2ee5ad01f0109af7a7344e636f965c2b}{native\+\_\+handle()} for const-\/qualified objects. Return a constant handle instead. 