\hypertarget{group__Eina__Value__Array__Group}{}\section{Generic Value Array management}
\label{group__Eina__Value__Array__Group}\index{Generic Value Array management@{Generic Value Array management}}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eina__Value__Array}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Array}
\begin{DoxyCompactList}\small\item\em Used to store the array and its subtype. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Eina__Value__Array}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Array} \hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\+\_\+\+Value\+\_\+\+Array}
\begin{DoxyCompactList}\small\item\em Value type for \hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$ \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\+\_\+value\+\_\+array\+\_\+new} (const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$subtype, unsigned int step)
\begin{DoxyCompactList}\small\item\em Create generic value storage of type array. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\+\_\+value\+\_\+array\+\_\+setup} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$subtype, unsigned int step)
\begin{DoxyCompactList}\small\item\em Initialize generic value storage of type array. \end{DoxyCompactList}\item 
static unsigned int \hyperlink{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}{eina\+\_\+value\+\_\+array\+\_\+count} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value)
\begin{DoxyCompactList}\small\item\em Query number of elements in value of array type. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}{eina\+\_\+value\+\_\+array\+\_\+remove} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position)
\begin{DoxyCompactList}\small\item\em Remove element at given position in value of array type. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Set the generic value in an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Get the generic value from an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Insert a generic value in an array member position. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value,...)
\begin{DoxyCompactList}\small\item\em Append a generic value in an array. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Set a generic value to an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}{eina\+\_\+value\+\_\+array\+\_\+vget} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Get the generic value from an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Insert a generic value to an array member position. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Append a generic value to an array. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Set a generic value to an array member from a pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\+\_\+value\+\_\+array\+\_\+pget} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Retrieve a generic value into a pointer from an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Insert a generic value to an array member position from a pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$value, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Append a generic value to an array from a pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}{eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$src, unsigned int position, \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$dst)
\begin{DoxyCompactList}\small\item\em Retrieves a value from the array as an Eina\+\_\+\+Value copy. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Typedef Documentation}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}\label{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}} 
\index{Generic Value Array management@{Generic Value Array management}!Eina\+\_\+\+Value\+\_\+\+Array@{Eina\+\_\+\+Value\+\_\+\+Array}}
\index{Eina\+\_\+\+Value\+\_\+\+Array@{Eina\+\_\+\+Value\+\_\+\+Array}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{Eina\+\_\+\+Value\+\_\+\+Array}{Eina\_Value\_Array}}
{\footnotesize\ttfamily \hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\+\_\+\+Value\+\_\+\+Array}}



Value type for \hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY}. 

\begin{DoxySeeAlso}{See also}
\hyperlink{struct__Eina__Value__Array}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Array} explains fields. 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}\label{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+new@{eina\+\_\+value\+\_\+array\+\_\+new}}
\index{eina\+\_\+value\+\_\+array\+\_\+new@{eina\+\_\+value\+\_\+array\+\_\+new}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+new()}{eina\_value\_array\_new()}}
{\footnotesize\ttfamily \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}$\ast$ eina\+\_\+value\+\_\+array\+\_\+new (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$}]{subtype,  }\item[{unsigned int}]{step }\end{DoxyParamCaption})}



Create generic value storage of type array. 


\begin{DoxyParams}{Parameters}
{\em subtype} & how to manage this array members. \\
\hline
{\em step} & how to grow the members array. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new value or {\ttfamily N\+U\+LL} on failure.
\end{DoxyReturn}
Create a new generic value storage of type array. The members are managed using the description specified by {\itshape subtype}.

On failure, {\ttfamily N\+U\+LL} is returned.

\begin{DoxyNote}{Note}
this creates from mempool and then uses \hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\+\_\+value\+\_\+array\+\_\+setup()}. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\+\_\+value\+\_\+free()} 

\hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\+\_\+value\+\_\+array\+\_\+setup()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}\label{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+setup@{eina\+\_\+value\+\_\+array\+\_\+setup}}
\index{eina\+\_\+value\+\_\+array\+\_\+setup@{eina\+\_\+value\+\_\+array\+\_\+setup}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+setup()}{eina\_value\_array\_setup()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+setup (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$}]{subtype,  }\item[{unsigned int}]{step }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Initialize generic value storage of type array. 


\begin{DoxyParams}{Parameters}
{\em value} & value object \\
\hline
{\em subtype} & how to manage array members. \\
\hline
{\em step} & how to grow the members array. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
Initializes new generic value storage of type array with the given {\itshape subtype}.

This is the same as calling \hyperlink{group__Eina__Value__Value__Group_ga9a1407c953694c3d6f40ab01ebe9a294}{eina\+\_\+value\+\_\+set()} with \hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY} followed by \hyperlink{group__Eina__Value__Value__Group_ga60352abff8ce5f9cdfc870ba9cf2f28e}{eina\+\_\+value\+\_\+pset()} with the \hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\+\_\+\+Value\+\_\+\+Array} description configured.

\begin{DoxyNote}{Note}
Existing contents are ignored! If the value was previously used, then use \hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\+\_\+value\+\_\+flush()} first.
\end{DoxyNote}
On failure, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} is returned.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\+\_\+value\+\_\+flush()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}\label{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+count@{eina\+\_\+value\+\_\+array\+\_\+count}}
\index{eina\+\_\+value\+\_\+array\+\_\+count@{eina\+\_\+value\+\_\+array\+\_\+count}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+count()}{eina\_value\_array\_count()}}
{\footnotesize\ttfamily static unsigned int eina\+\_\+value\+\_\+array\+\_\+count (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Query number of elements in value of array type. 


\begin{DoxyParams}{Parameters}
{\em value} & value object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of child elements. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}\label{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+remove@{eina\+\_\+value\+\_\+array\+\_\+remove}}
\index{eina\+\_\+value\+\_\+array\+\_\+remove@{eina\+\_\+value\+\_\+array\+\_\+remove}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+remove()}{eina\_value\_array\_remove()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+remove (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Remove element at given position in value of array type. 


\begin{DoxyParams}{Parameters}
{\em value} & value object. \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}\label{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+set@{eina\+\_\+value\+\_\+array\+\_\+set}}
\index{eina\+\_\+value\+\_\+array\+\_\+set@{eina\+\_\+value\+\_\+array\+\_\+set}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+set()}{eina\_value\_array\_set()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Set the generic value in an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\_value\_array\_set}(value, 0, 5678);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}\label{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+get@{eina\+\_\+value\+\_\+array\+\_\+get}}
\index{eina\+\_\+value\+\_\+array\+\_\+get@{eina\+\_\+value\+\_\+array\+\_\+get}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+get()}{eina\_value\_array\_get()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Get the generic value from an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, and the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn\textquotesingle{}t be any memory allocation; thus the contents should {\bfseries not} be freed.

The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}\label{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+insert@{eina\+\_\+value\+\_\+array\+\_\+insert}}
\index{eina\+\_\+value\+\_\+array\+\_\+insert@{eina\+\_\+value\+\_\+array\+\_\+insert}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+insert()}{eina\_value\_array\_insert()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+insert (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Insert a generic value in an array member position. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\_value\_array\_insert}(value, 0, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}\label{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+append@{eina\+\_\+value\+\_\+array\+\_\+append}}
\index{eina\+\_\+value\+\_\+array\+\_\+append@{eina\+\_\+value\+\_\+array\+\_\+append}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+append()}{eina\_value\_array\_append()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+append (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{}]{... }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Append a generic value in an array. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}\label{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+vset@{eina\+\_\+value\+\_\+array\+\_\+vset}}
\index{eina\+\_\+value\+\_\+array\+\_\+vset@{eina\+\_\+value\+\_\+array\+\_\+vset}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+vset()}{eina\_value\_array\_vset()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+vset (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Set a generic value to an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}\label{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+vget@{eina\+\_\+value\+\_\+array\+\_\+vget}}
\index{eina\+\_\+value\+\_\+array\+\_\+vget@{eina\+\_\+value\+\_\+array\+\_\+vget}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+vget()}{eina\_value\_array\_vget()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+vget (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Get the generic value from an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn\textquotesingle{}t be any memory allocation, thus the contents should {\bfseries not} be freed.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\+\_\+value\+\_\+array\+\_\+pget()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}\label{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+vinsert@{eina\+\_\+value\+\_\+array\+\_\+vinsert}}
\index{eina\+\_\+value\+\_\+array\+\_\+vinsert@{eina\+\_\+value\+\_\+array\+\_\+vinsert}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+vinsert()}{eina\_value\_array\_vinsert()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+vinsert (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Insert a generic value to an array member position. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}\label{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+vappend@{eina\+\_\+value\+\_\+array\+\_\+vappend}}
\index{eina\+\_\+value\+\_\+array\+\_\+vappend@{eina\+\_\+value\+\_\+array\+\_\+vappend}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+vappend()}{eina\_value\_array\_vappend()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+vappend (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Append a generic value to an array. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}{eina\+\_\+value\+\_\+array\+\_\+vget()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}\label{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+pset@{eina\+\_\+value\+\_\+array\+\_\+pset}}
\index{eina\+\_\+value\+\_\+array\+\_\+pset@{eina\+\_\+value\+\_\+array\+\_\+pset}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+pset()}{eina\_value\_array\_pset()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+pset (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{const void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Set a generic value to an array member from a pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x = 1234;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\_value\_array\_pset}(value, 0, &x);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}\label{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+pget@{eina\+\_\+value\+\_\+array\+\_\+pget}}
\index{eina\+\_\+value\+\_\+array\+\_\+pget@{eina\+\_\+value\+\_\+array\+\_\+pget}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+pget()}{eina\_value\_array\_pget()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+pget (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Retrieve a generic value into a pointer from an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to receive the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The value is returned in pointer contents, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn\textquotesingle{}t be any memory allocation, thus the contents should {\bfseries not} be freed.

The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\+\_\+value\+\_\+array\+\_\+pset()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}\label{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+pinsert@{eina\+\_\+value\+\_\+array\+\_\+pinsert}}
\index{eina\+\_\+value\+\_\+array\+\_\+pinsert@{eina\+\_\+value\+\_\+array\+\_\+pinsert}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+pinsert()}{eina\_value\_array\_pinsert()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+pinsert (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{unsigned int}]{position,  }\item[{const void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Insert a generic value to an array member position from a pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x = 1234;

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\_value\_array\_pinsert}(value, 0, &x);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}\label{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+pappend@{eina\+\_\+value\+\_\+array\+\_\+pappend}}
\index{eina\+\_\+value\+\_\+array\+\_\+pappend@{eina\+\_\+value\+\_\+array\+\_\+pappend}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+pappend()}{eina\_value\_array\_pappend()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+pappend (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{value,  }\item[{const void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Append a generic value to an array from a pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\+:

\begin{DoxyItemize}
\item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+C\+H\+AR\+: unsigned char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+H\+O\+RT\+: unsigned short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+NT\+: unsigned int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+L\+O\+NG\+: unsigned long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+I\+N\+T64\+: uint64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+AR\+: char$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+H\+O\+RT\+: short$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\+: int$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+O\+NG\+: long$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T64\+: int64\+\_\+t$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\+: float$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+O\+U\+B\+LE\+: double$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+N\+G\+S\+H\+A\+RE\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+I\+NG\+: const char $\ast$$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+R\+R\+AY\+: Eina\+\_\+\+Value\+\_\+\+Array$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+ST\+: Eina\+\_\+\+Value\+\_\+\+List$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+H\+A\+SH\+: Eina\+\_\+\+Value\+\_\+\+Hash$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+I\+M\+E\+V\+AL\+: struct timeval$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+OB\+: Eina\+\_\+\+Value\+\_\+\+Blob$\ast$ \item E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+T\+R\+U\+CT\+: Eina\+\_\+\+Value\+\_\+\+Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\+\_\+t.
\end{DoxyNote}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x = 1234;

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\_value\_array\_pappend}(value, &x);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\+\_\+value\+\_\+array\+\_\+set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\+\_\+value\+\_\+array\+\_\+get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\+\_\+value\+\_\+array\+\_\+vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\+\_\+value\+\_\+array\+\_\+insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\+\_\+value\+\_\+array\+\_\+vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\+\_\+value\+\_\+array\+\_\+pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\+\_\+value\+\_\+array\+\_\+append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\+\_\+value\+\_\+array\+\_\+vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\+\_\+value\+\_\+array\+\_\+pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}\label{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}} 
\index{Generic Value Array management@{Generic Value Array management}!eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get@{eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get}}
\index{eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get@{eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get}!Generic Value Array management@{Generic Value Array management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get()}{eina\_value\_array\_value\_get()}}
{\footnotesize\ttfamily static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eina\+\_\+value\+\_\+array\+\_\+value\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{src,  }\item[{unsigned int}]{position,  }\item[{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value} $\ast$}]{dst }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Retrieves a value from the array as an Eina\+\_\+\+Value copy. 


\begin{DoxyParams}{Parameters}
{\em src} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em dst} & where to return the array member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
The argument {\itshape dst} is considered uninitialized and it\textquotesingle{}s setup to the type of the member.

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
