\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 
typedef \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\+\_\+\+Inarray} $\ast$ {\bfseries native\+\_\+handle\+\_\+type}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_ac1817673fa6fac335596a959936192de}{}\label{structefl_1_1eina_1_1__inarray__common__base_ac1817673fa6fac335596a959936192de}

\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_aba5cb3a3e2888a847bfa6e86c460e3f6}{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_a6eca74b9bd6b63db5bbb8af4f50066ac}{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_a90d1080650afa4a6814dc6e55a6255ee}{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 
\hyperlink{struct__Eina__Inarray}{native\+\_\+handle\+\_\+type} {\bfseries \+\_\+array}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_aad8f69bc0ba0f7e35d387edde40b7e13}{}\label{structefl_1_1eina_1_1__inarray__common__base_aad8f69bc0ba0f7e35d387edde40b7e13}

\end{DoxyCompactItemize}


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

\subsection{Member Typedef Documentation}
\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}}]{\setlength{\rightskip}{0pt plus 5cm}typedef std\+::size\+\_\+t {\bf efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::size\+\_\+type}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}{}\label{structefl_1_1eina_1_1__inarray__common__base_a0891f01f06074cac225e06867e02d59a}


Type for size information used in the array. 

\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}}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf Eina\+\_\+\+Inarray} const$\ast$ {\bf efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::const\+\_\+native\+\_\+handle\+\_\+type}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}{}\label{structefl_1_1eina_1_1__inarray__common__base_a657ac13f9bf99941f02df8d81d66773c}


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



\subsection{Constructor \& Destructor Documentation}
\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(native\+\_\+handle\+\_\+type array)}{_inarray_common_base(native_handle_type array)}}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::\+\_\+inarray\+\_\+common\+\_\+base (
\begin{DoxyParamCaption}
\item[{{\bf native\+\_\+handle\+\_\+type}}]{array}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a58f8548b3224bc20c17a12f5abf27d49}{}\label{structefl_1_1eina_1_1__inarray__common__base_a58f8548b3224bc20c17a12f5abf27d49}


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}
\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(size\+\_\+type member\+\_\+size)}{_inarray_common_base(size_type member_size)}}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::\+\_\+inarray\+\_\+common\+\_\+base (
\begin{DoxyParamCaption}
\item[{{\bf size\+\_\+type}}]{member\+\_\+size}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a9b886ad167d122a6adcc5361512e8f0f}{}\label{structefl_1_1eina_1_1__inarray__common__base_a9b886ad167d122a6adcc5361512e8f0f}


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. \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()}}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::$\sim$\+\_\+inarray\+\_\+common\+\_\+base (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a94405a92b9bc349474fc57cce2263895}{}\label{structefl_1_1eina_1_1__inarray__common__base_a94405a92b9bc349474fc57cce2263895}


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}
\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() const }{size() const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf size\+\_\+type} efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_aba5cb3a3e2888a847bfa6e86c460e3f6}{}\label{structefl_1_1eina_1_1__inarray__common__base_aba5cb3a3e2888a847bfa6e86c460e3f6}


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. \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() const }{empty() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::empty (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a6eca74b9bd6b63db5bbb8af4f50066ac}{}\label{structefl_1_1eina_1_1__inarray__common__base_a6eca74b9bd6b63db5bbb8af4f50066ac}


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}. \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()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf native\+\_\+handle\+\_\+type} efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::native\+\_\+handle (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a2ee5ad01f0109af7a7344e636f965c2b}{}\label{structefl_1_1eina_1_1__inarray__common__base_a2ee5ad01f0109af7a7344e636f965c2b}


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}
\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() const }{native_handle() const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf const\+\_\+native\+\_\+handle\+\_\+type} efl\+::eina\+::\+\_\+inarray\+\_\+common\+\_\+base\+::native\+\_\+handle (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structefl_1_1eina_1_1__inarray__common__base_a90d1080650afa4a6814dc6e55a6255ee}{}\label{structefl_1_1eina_1_1__inarray__common__base_a90d1080650afa4a6814dc6e55a6255ee}


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. 